org.apache.ws.jaxme.generator.sg.impl
Class ParsePrintSG
java.lang.Object
org.apache.ws.jaxme.generator.sg.impl.SimpleTypeSGChainImpl
org.apache.ws.jaxme.generator.sg.impl.ParsePrintSG
- All Implemented Interfaces:
- SimpleTypeSGChain
- public class ParsePrintSG
- extends SimpleTypeSGChainImpl
Simple type chain for implementing
jaxb:javaType/@parseMethod and/or
jaxb:javaType/@printMethod.
| Methods inherited from class org.apache.ws.jaxme.generator.sg.impl.SimpleTypeSGChainImpl |
addValidation, forAllNonNullValues, forAllValues, generate, generate, getAtomicType, getCollectionType, getEqualsCheck, getFacet, getFacets, getFactory, getInitialValue, getListType, getLocator, getRuntimeType, getSchema, getUnionType, getXMLSetMethod, hasSetMethod, init, isAtomic, isList, isNullable, isUnion, setNullable |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParsePrintSG
public ParsePrintSG(SimpleTypeSGChain pType,
JAXBJavaType pJavaType)
- Creates a new instance, which generates code
for the given type.
getCastFromString
public TypedValue getCastFromString(SimpleTypeSG pController,
JavaMethod pMethod,
java.lang.Object pValue,
java.lang.Object pData)
throws org.xml.sax.SAXException
- Specified by:
getCastFromString in interface SimpleTypeSGChain- Overrides:
getCastFromString in class SimpleTypeSGChainImpl
- Throws:
org.xml.sax.SAXException
getCastFromString
public TypedValue getCastFromString(SimpleTypeSG pController,
java.lang.String pValue)
throws org.xml.sax.SAXException
- Specified by:
getCastFromString in interface SimpleTypeSGChain- Overrides:
getCastFromString in class SimpleTypeSGChainImpl
- Throws:
org.xml.sax.SAXException
getCastToString
public TypedValue getCastToString(SimpleTypeSG pController,
JavaMethod pMethod,
java.lang.Object pValue,
DirectAccessible pData)
throws org.xml.sax.SAXException
- Specified by:
getCastToString in interface SimpleTypeSGChain- Overrides:
getCastToString in class SimpleTypeSGChainImpl
- Throws:
org.xml.sax.SAXException
isCausingParseConversionEvent
public boolean isCausingParseConversionEvent(SimpleTypeSG pController)
- Specified by:
isCausingParseConversionEvent in interface SimpleTypeSGChain- Overrides:
isCausingParseConversionEvent in class SimpleTypeSGChainImpl