net.sf.jaxme.generator.sg.impl
Class EnumerationSG
java.lang.Object
net.sf.jaxme.generator.sg.impl.SimpleTypeSGChainImpl
net.sf.jaxme.generator.sg.impl.EnumerationSG
- All Implemented Interfaces:
- SimpleTypeSGChain
- public class EnumerationSG
- extends SimpleTypeSGChainImpl
- Author:
- Jochen Wiedmann
|
Constructor Summary |
protected |
EnumerationSG(SimpleTypeSGChain o,
net.sf.jaxme.js.JavaQName pName,
net.sf.jaxme.xs.XSType pType)
Creates a new instance of EnumerationSG.java. |
|
Method Summary |
void |
forAllNonNullValues(SimpleTypeSG pController,
net.sf.jaxme.js.JavaMethod pMethod,
java.lang.Object pValue,
SGlet pSGlet)
|
void |
generate(SimpleTypeSG pController)
|
void |
generate(SimpleTypeSG pController,
net.sf.jaxme.js.JavaSource pSource)
|
java.lang.Object |
getCastFromString(SimpleTypeSG pController,
net.sf.jaxme.js.JavaMethod pMethod,
java.lang.Object pValue,
java.lang.Object pData)
|
java.lang.Object |
getCastFromString(SimpleTypeSG pController,
java.lang.String pValue)
|
java.lang.Object |
getCastToString(SimpleTypeSG pController,
net.sf.jaxme.js.JavaMethod pMethod,
java.lang.Object pValue,
net.sf.jaxme.js.DirectAccessible pData)
|
net.sf.jaxme.js.JavaSource |
getEnumClass(SimpleTypeSG pController)
|
net.sf.jaxme.js.JavaQName |
getRuntimeType(SimpleTypeSG pController)
|
| Methods inherited from class net.sf.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,
net.sf.jaxme.js.JavaQName pName,
net.sf.jaxme.xs.XSType pType)
throws SAXException
Creates a new instance of EnumerationSG.java.
getCastFromString
public java.lang.Object getCastFromString(SimpleTypeSG pController,
net.sf.jaxme.js.JavaMethod pMethod,
java.lang.Object pValue,
java.lang.Object pData)
- Specified by:
getCastFromString in interface SimpleTypeSGChain- Overrides:
getCastFromString in class SimpleTypeSGChainImpl
getCastFromString
public java.lang.Object getCastFromString(SimpleTypeSG pController,
java.lang.String pValue)
throws SAXException
- Specified by:
getCastFromString in interface SimpleTypeSGChain- Overrides:
getCastFromString in class SimpleTypeSGChainImpl
- Throws:
SAXException
getCastToString
public java.lang.Object getCastToString(SimpleTypeSG pController,
net.sf.jaxme.js.JavaMethod pMethod,
java.lang.Object pValue,
net.sf.jaxme.js.DirectAccessible pData)
- Specified by:
getCastToString in interface SimpleTypeSGChain- Overrides:
getCastToString in class SimpleTypeSGChainImpl
getRuntimeType
public net.sf.jaxme.js.JavaQName getRuntimeType(SimpleTypeSG pController)
- Specified by:
getRuntimeType in interface SimpleTypeSGChain- Overrides:
getRuntimeType in class SimpleTypeSGChainImpl
getEnumClass
public net.sf.jaxme.js.JavaSource getEnumClass(SimpleTypeSG pController)
throws SAXException
- Throws:
SAXException
forAllNonNullValues
public void forAllNonNullValues(SimpleTypeSG pController,
net.sf.jaxme.js.JavaMethod pMethod,
java.lang.Object pValue,
SGlet pSGlet)
throws SAXException
- Specified by:
forAllNonNullValues in interface SimpleTypeSGChain- Overrides:
forAllNonNullValues in class SimpleTypeSGChainImpl
- Throws:
SAXException
generate
public void generate(SimpleTypeSG pController)
throws SAXException
- Specified by:
generate in interface SimpleTypeSGChain- Overrides:
generate in class SimpleTypeSGChainImpl
- Throws:
SAXException
generate
public void generate(SimpleTypeSG pController,
net.sf.jaxme.js.JavaSource pSource)
throws SAXException
- Specified by:
generate in interface SimpleTypeSGChain- Overrides:
generate in class SimpleTypeSGChainImpl
- Throws:
SAXException