|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cedarsoft.serialization.generator.output.GeneratorBase<T>
com.cedarsoft.serialization.generator.output.serializer.AbstractGenerator<XmlDecisionCallback>
com.cedarsoft.serialization.generator.output.serializer.AbstractNamespaceBasedGenerator
com.cedarsoft.serialization.generator.output.serializer.AbstractXmlGenerator
public abstract class AbstractXmlGenerator
| Field Summary |
|---|
| Fields inherited from class com.cedarsoft.serialization.generator.output.serializer.AbstractNamespaceBasedGenerator |
|---|
METHOD_NAME_FROM, METHOD_NAME_TO, METHOD_SUPER, VERSION |
| Fields inherited from class com.cedarsoft.serialization.generator.output.serializer.AbstractGenerator |
|---|
METHOD_NAME_DESERIALIZE, METHOD_NAME_DESERIALIZE_FROM, METHOD_NAME_SERIALIZE, PARAM_NAME_FORMAT_VERSION, PARAM_NAME_SERIALIZE_TO, SERIALIZER_CLASS_NAME_SUFFIX, VAR_NAME_OBJECT |
| Fields inherited from class com.cedarsoft.serialization.generator.output.GeneratorBase |
|---|
codeGenerator, codeModel |
| Constructor Summary | |
|---|---|
protected |
AbstractXmlGenerator(com.cedarsoft.codegen.CodeGenerator codeGenerator)
Creates a new generator |
| Method Summary | |
|---|---|
protected com.sun.codemodel.JMethod |
createConstructor(com.sun.codemodel.JDefinedClass serializerClass,
com.cedarsoft.codegen.model.DomainObjectDescriptor domainObjectDescriptor)
Creates the constructor for the given serializer class (if necessary) |
protected java.lang.String |
getDefaultElementName(com.cedarsoft.codegen.model.DomainObjectDescriptor domainObjectDescriptor)
Returns the default element name |
| Methods inherited from class com.cedarsoft.serialization.generator.output.serializer.AbstractNamespaceBasedGenerator |
|---|
createDefaultVersionRangeInvocation, getNamespace |
| Methods inherited from class com.cedarsoft.serialization.generator.output.serializer.AbstractGenerator |
|---|
addDelegatingSerializerToConstructor, appendDeserializeStatement, appendSerializeStatement, constructDeserializedObject, createDeserializeMethodStub, createSerializeMethodStub, createSerializerClassName, createSerializerExtendsExpression, fillDeSerializationMethods, finishConstructor, generateSerializer, getExceptionType, getSerializeFromType, getSerializerRefFor, getSerializeToType |
| Methods inherited from class com.cedarsoft.serialization.generator.output.GeneratorBase |
|---|
getCodeGenerator, getCodeModel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractXmlGenerator(@NotNull
com.cedarsoft.codegen.CodeGenerator codeGenerator)
codeGenerator - the used code generator| Method Detail |
|---|
@NotNull
protected com.sun.codemodel.JMethod createConstructor(@NotNull
com.sun.codemodel.JDefinedClass serializerClass,
@NotNull
com.cedarsoft.codegen.model.DomainObjectDescriptor domainObjectDescriptor)
AbstractGenerator
createConstructor in class AbstractGenerator<XmlDecisionCallback>serializerClass - the serialize classdomainObjectDescriptor - the domain object descriptor
@NotNull
@NonNls
protected java.lang.String getDefaultElementName(@NotNull
com.cedarsoft.codegen.model.DomainObjectDescriptor domainObjectDescriptor)
domainObjectDescriptor - the descriptor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||