org.apache.ws.jaxme.generator.sg.impl
Class EnumerationSG
java.lang.Object
org.apache.ws.jaxme.generator.sg.impl.SimpleTypeSGChainImpl
org.apache.ws.jaxme.generator.sg.impl.EnumerationSG
- All Implemented Interfaces:
- SimpleTypeSGChain
- public class EnumerationSG
- extends SimpleTypeSGChainImpl
- Author:
- Jochen Wiedmann
|
Method Summary |
void |
forAllNonNullValues(SimpleTypeSG pController,
JavaMethod pMethod,
java.lang.Object pValue,
SGlet pSGlet)
|
void |
generate(SimpleTypeSG pController)
|
void |
generate(SimpleTypeSG pController,
JavaSource pSource)
|
TypedValue |
getCastFromString(SimpleTypeSG pController,
JavaMethod pMethod,
java.lang.Object pValue,
java.lang.Object pData)
|
TypedValue |
getCastFromString(SimpleTypeSG pController,
java.lang.String pValue)
|
TypedValue |
getCastToString(SimpleTypeSG pController,
JavaMethod pMethod,
java.lang.Object pValue,
DirectAccessible pData)
|
JavaSource |
getEnumClass(SimpleTypeSG pController)
|
JavaQName |
getRuntimeType(SimpleTypeSG pController)
|
boolean |
isCausingParseConversionEvent(SimpleTypeSG pController)
|
| Methods inherited from class org.apache.ws.jaxme.generator.sg.impl.SimpleTypeSGChainImpl |
addValidation, forAllValues, getAtomicType, getCollectionType, getEqualsCheck, getFacet, getFacets, getFactory, getInitialValue, getListType, getLocator, 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 |
EnumerationSG
protected EnumerationSG(SimpleTypeSGChain o,
JavaQName pName,
XSType pType)
throws org.xml.sax.SAXException
Creates a new instance of EnumerationSG.java.
getCastFromString
public TypedValue getCastFromString(SimpleTypeSG pController,
JavaMethod pMethod,
java.lang.Object pValue,
java.lang.Object pData)
- Specified by:
getCastFromString in interface SimpleTypeSGChain- Overrides:
getCastFromString in class SimpleTypeSGChainImpl
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)
- Specified by:
getCastToString in interface SimpleTypeSGChain- Overrides:
getCastToString in class SimpleTypeSGChainImpl
getRuntimeType
public JavaQName getRuntimeType(SimpleTypeSG pController)
- Specified by:
getRuntimeType in interface SimpleTypeSGChain- Overrides:
getRuntimeType in class SimpleTypeSGChainImpl
getEnumClass
public JavaSource getEnumClass(SimpleTypeSG pController)
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
forAllNonNullValues
public void forAllNonNullValues(SimpleTypeSG pController,
JavaMethod pMethod,
java.lang.Object pValue,
SGlet pSGlet)
throws org.xml.sax.SAXException
- Specified by:
forAllNonNullValues in interface SimpleTypeSGChain- Overrides:
forAllNonNullValues in class SimpleTypeSGChainImpl
- Throws:
org.xml.sax.SAXException
generate
public void generate(SimpleTypeSG pController)
throws org.xml.sax.SAXException
- Specified by:
generate in interface SimpleTypeSGChain- Overrides:
generate in class SimpleTypeSGChainImpl
- Throws:
org.xml.sax.SAXException
generate
public void generate(SimpleTypeSG pController,
JavaSource pSource)
throws org.xml.sax.SAXException
- Specified by:
generate in interface SimpleTypeSGChain- Overrides:
generate 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