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.SimpleTypeSGChainImpl
       org.apache.ws.jaxme.generator.sg.impl.EnumerationSG
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)
 | 
|  java.lang.Object | getCastFromString(SimpleTypeSG pController,
                  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,
                JavaMethod pMethod,
                java.lang.Object pValue,
                DirectAccessible pData)
 | 
|  JavaSource | getEnumClass(SimpleTypeSG pController)
 | 
|  JavaQName | getRuntimeType(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 java.lang.Object getCastFromString(SimpleTypeSG pController,
                                          JavaMethod pMethod,
                                          java.lang.Object pValue,
                                          java.lang.Object pData)
- 
- Specified by:
- getCastFromStringin interface- SimpleTypeSGChain
- Overrides:
- getCastFromStringin class- SimpleTypeSGChainImpl
 
- 
 
getCastFromString
public java.lang.Object getCastFromString(SimpleTypeSG pController,
                                          java.lang.String pValue)
                                   throws org.xml.sax.SAXException
- 
- Specified by:
- getCastFromStringin interface- SimpleTypeSGChain
- Overrides:
- getCastFromStringin class- SimpleTypeSGChainImpl
 
- 
- Throws:
- org.xml.sax.SAXException
 
getCastToString
public java.lang.Object getCastToString(SimpleTypeSG pController,
                                        JavaMethod pMethod,
                                        java.lang.Object pValue,
                                        DirectAccessible pData)
- 
- Specified by:
- getCastToStringin interface- SimpleTypeSGChain
- Overrides:
- getCastToStringin class- SimpleTypeSGChainImpl
 
- 
 
getRuntimeType
public JavaQName getRuntimeType(SimpleTypeSG pController)
- 
- Specified by:
- getRuntimeTypein interface- SimpleTypeSGChain
- Overrides:
- getRuntimeTypein 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:
- forAllNonNullValuesin interface- SimpleTypeSGChain
- Overrides:
- forAllNonNullValuesin class- SimpleTypeSGChainImpl
 
- 
- Throws:
- org.xml.sax.SAXException
 
generate
public void generate(SimpleTypeSG pController)
              throws org.xml.sax.SAXException
- 
- Specified by:
- generatein interface- SimpleTypeSGChain
- Overrides:
- generatein class- SimpleTypeSGChainImpl
 
- 
- Throws:
- org.xml.sax.SAXException
 
generate
public void generate(SimpleTypeSG pController,
                     JavaSource pSource)
              throws org.xml.sax.SAXException
- 
- Specified by:
- generatein interface- SimpleTypeSGChain
- Overrides:
- generatein class- SimpleTypeSGChainImpl
 
- 
- Throws:
- org.xml.sax.SAXException