com.cedarsoft.serialization.generator.output.serializer.test
Class AbstractXmlGenerator
java.lang.Object
com.cedarsoft.serialization.generator.output.GeneratorBase<T>
com.cedarsoft.serialization.generator.output.serializer.test.AbstractGenerator<XmlDecisionCallback>
com.cedarsoft.serialization.generator.output.serializer.test.AbstractXmlGenerator
public abstract class AbstractXmlGenerator
- extends AbstractGenerator<XmlDecisionCallback>
|
Method Summary |
protected void |
createGetSerializedMethod(com.sun.codemodel.JDefinedClass testClass,
com.sun.codemodel.JClass serializerClass,
com.sun.codemodel.JClass domainType)
Creates the getSerialized method (used for versioned tests |
protected com.sun.codemodel.JMethod |
createVerifyMethod(com.sun.codemodel.JDefinedClass serializerTestClass,
com.sun.codemodel.JClass serializerClass,
com.sun.codemodel.JClass domainType)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
METHOD_NAME_GET_EXPECTED_SERIALIZED
@NonNls
public static final String METHOD_NAME_GET_EXPECTED_SERIALIZED
- See Also:
- Constant Field Values
METHOD_NAME_GET_SERIALIZED_XML
@NonNls
public static final String METHOD_NAME_GET_SERIALIZED_XML
- See Also:
- Constant Field Values
AbstractXmlGenerator
protected AbstractXmlGenerator(@NotNull
com.cedarsoft.codegen.CodeGenerator<XmlDecisionCallback> codeGenerator)
createGetSerializedMethod
protected void createGetSerializedMethod(@NotNull
com.sun.codemodel.JDefinedClass testClass,
@NotNull
com.sun.codemodel.JClass serializerClass,
@NotNull
com.sun.codemodel.JClass domainType)
- Description copied from class:
AbstractGenerator
- Creates the getSerialized method (used for versioned tests
- Specified by:
createGetSerializedMethod in class AbstractGenerator<XmlDecisionCallback>
- Parameters:
testClass - the test classserializerClass - the serializer classdomainType - the domain type
createVerifyMethod
@NotNull
protected com.sun.codemodel.JMethod createVerifyMethod(@NotNull
com.sun.codemodel.JDefinedClass serializerTestClass,
@NotNull
com.sun.codemodel.JClass serializerClass,
@NotNull
com.sun.codemodel.JClass domainType)
- Specified by:
createVerifyMethod in class AbstractGenerator<XmlDecisionCallback>
Copyright © 2010 cedarsoft GmbH. All Rights Reserved.