org.apache.ws.jaxme.generator.sg.impl

Class ParsePrintSG

public class ParsePrintSG extends SimpleTypeSGChainImpl

Simple type chain for implementing jaxb:javaType/@parseMethod and/or jaxb:javaType/@printMethod.
Constructor Summary
ParsePrintSG(SimpleTypeSGChain pType, JAXBJavaType pJavaType)
Creates a new instance, which generates code for the given type.
Method Summary
TypedValuegetCastFromString(SimpleTypeSG pController, JavaMethod pMethod, Object pValue, Object pData)
TypedValuegetCastFromString(SimpleTypeSG pController, String pValue)
TypedValuegetCastToString(SimpleTypeSG pController, JavaMethod pMethod, Object pValue, DirectAccessible pData)
booleanisCausingParseConversionEvent(SimpleTypeSG pController)

Constructor Detail

ParsePrintSG

public ParsePrintSG(SimpleTypeSGChain pType, JAXBJavaType pJavaType)
Creates a new instance, which generates code for the given type.

Method Detail

getCastFromString

public TypedValue getCastFromString(SimpleTypeSG pController, JavaMethod pMethod, Object pValue, Object pData)

getCastFromString

public TypedValue getCastFromString(SimpleTypeSG pController, String pValue)

getCastToString

public TypedValue getCastToString(SimpleTypeSG pController, JavaMethod pMethod, Object pValue, DirectAccessible pData)

isCausingParseConversionEvent

public boolean isCausingParseConversionEvent(SimpleTypeSG pController)