com.cedarsoft.serialization.generator.decision
Class DefaultXmlDecisionCallback

java.lang.Object
  extended by com.cedarsoft.serialization.generator.decision.DefaultXmlDecisionCallback
All Implemented Interfaces:
com.cedarsoft.codegen.DecisionCallback, XmlDecisionCallback

public class DefaultXmlDecisionCallback
extends Object
implements XmlDecisionCallback


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.cedarsoft.serialization.generator.decision.XmlDecisionCallback
XmlDecisionCallback.Target
 
Constructor Summary
DefaultXmlDecisionCallback(Collection<? extends String> fieldsAsAttribute)
           
DefaultXmlDecisionCallback(String... fieldsAsAttribute)
           
 
Method Summary
 XmlDecisionCallback.Target getSerializationTarget(com.cedarsoft.codegen.model.FieldInfo fieldInfo)
          Returns the serialization target for the given field
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultXmlDecisionCallback

public DefaultXmlDecisionCallback(@NotNull@NonNls
                                  String... fieldsAsAttribute)

DefaultXmlDecisionCallback

public DefaultXmlDecisionCallback(@NotNull@NonNls
                                  Collection<? extends String> fieldsAsAttribute)
Method Detail

getSerializationTarget

@NotNull
public XmlDecisionCallback.Target getSerializationTarget(@NotNull
                                                                 com.cedarsoft.codegen.model.FieldInfo fieldInfo)
Description copied from interface: XmlDecisionCallback
Returns the serialization target for the given field

Specified by:
getSerializationTarget in interface XmlDecisionCallback
Parameters:
fieldInfo - the field info
Returns:
the serialization target


Copyright © 2010 cedarsoft GmbH. All Rights Reserved.