org.apache.ws.jaxme.generator.types
Class SimpleTypeSGImpl
java.lang.Object
   org.apache.ws.jaxme.generator.sg.impl.JAXBSGItem
org.apache.ws.jaxme.generator.sg.impl.JAXBSGItem
       org.apache.ws.jaxme.generator.types.SimpleTypeSGImpl
org.apache.ws.jaxme.generator.types.SimpleTypeSGImpl
- All Implemented Interfaces: 
- SimpleTypeSGChain
- Direct Known Subclasses: 
- AtomicTypeSGImpl, ListTypeSGImpl, UnionTypeSGImpl
- public abstract class SimpleTypeSGImpl- extends JAXBSGItem- implements SimpleTypeSGChain
- Author:
- Jochen Wiedmann
 
| Method Summary | 
|  void | addValidation(SimpleTypeSG pController,
              JavaMethod pMethod,
              DirectAccessible pValue)
 | 
|  void | generate(SimpleTypeSG pController)
 | 
|  void | generate(SimpleTypeSG pController,
         JavaSource pSource)
 | 
|  AtomicTypeSG | getAtomicType(SimpleTypeSG pController)
 | 
|  java.lang.String | getCollectionType(SimpleTypeSG pController)
 | 
|  Facet | getFacet(SimpleTypeSG pController,
         Facet.Type pType)
 | 
|  Facet[] | getFacets(SimpleTypeSG pController)
 | 
|  SGFactory | getFactory(SimpleTypeSG pController)
 | 
|  java.lang.Object | getInitialValue(SimpleTypeSG pController,
                JavaSource pSource)
 | 
|  ListTypeSG | getListType(SimpleTypeSG pController)
 | 
|  org.xml.sax.Locator | getLocator(SimpleTypeSG pController)
 | 
|  SchemaSG | getSchema(SimpleTypeSG pController)
 | 
|  UnionTypeSG | getUnionType(SimpleTypeSG pController)
 | 
|  JavaMethod | getXMLSetMethod(SimpleTypeSG pController,
                JavaSource pSource,
                java.lang.String pFieldName,
                java.lang.String pParamName,
                java.lang.String pMethodName)
 | 
| protected  XSType | getXSType()
 | 
|  boolean | hasSetMethod(SimpleTypeSG pController)
 | 
|  void | init(SimpleTypeSG pController)
 | 
|  boolean | isAtomic(SimpleTypeSG pController)
 | 
|  boolean | isList(SimpleTypeSG pController)
 | 
|  boolean | isNullable(SimpleTypeSG pController)
 | 
|  boolean | isUnion(SimpleTypeSG pController)
 | 
|  void | setNullable(boolean pNullable)Sets whether the data type is nullable.
 | 
|  void | setNullable(SimpleTypeSG pController,
            boolean pNullable)
 | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
SimpleTypeSGImpl
protected SimpleTypeSGImpl(SGFactory pFactory,
                           SchemaSG pSchema,
                           XSType pType)
                    throws org.xml.sax.SAXException
- Creates a new instance of SimpleTypeSGImpl. - 
 
getXSType
protected XSType getXSType()
- 
 
- 
 
getFactory
public SGFactory getFactory(SimpleTypeSG pController)
- 
- Specified by:
- getFactoryin interface- SimpleTypeSGChain
 
- 
 
getSchema
public SchemaSG getSchema(SimpleTypeSG pController)
- 
- Specified by:
- getSchemain interface- SimpleTypeSGChain
 
- 
 
getLocator
public org.xml.sax.Locator getLocator(SimpleTypeSG pController)
- 
- Specified by:
- getLocatorin interface- SimpleTypeSGChain
 
- 
 
isAtomic
public boolean isAtomic(SimpleTypeSG pController)
- 
- Specified by:
- isAtomicin interface- SimpleTypeSGChain
 
- 
 
isList
public boolean isList(SimpleTypeSG pController)
- 
- Specified by:
- isListin interface- SimpleTypeSGChain
 
- 
 
isUnion
public boolean isUnion(SimpleTypeSG pController)
- 
- Specified by:
- isUnionin interface- SimpleTypeSGChain
 
- 
 
hasSetMethod
public boolean hasSetMethod(SimpleTypeSG pController)
- 
- Specified by:
- hasSetMethodin interface- SimpleTypeSGChain
 
- 
 
setNullable
public void setNullable(SimpleTypeSG pController,
                        boolean pNullable)
- 
- Specified by:
- setNullablein interface- SimpleTypeSGChain
 
- 
 
setNullable
public void setNullable(boolean pNullable)
- Sets whether the data type is nullable.
 
- 
 
- 
 
isNullable
public boolean isNullable(SimpleTypeSG pController)
- 
- Specified by:
- isNullablein interface- SimpleTypeSGChain
 
- 
 
init
public void init(SimpleTypeSG pController)
          throws org.xml.sax.SAXException
- 
- Specified by:
- initin interface- SimpleTypeSGChain
 
- 
- Throws:
- org.xml.sax.SAXException
 
getCollectionType
public java.lang.String getCollectionType(SimpleTypeSG pController)
- 
- Specified by:
- getCollectionTypein interface- SimpleTypeSGChain
 
- 
 
getUnionType
public UnionTypeSG getUnionType(SimpleTypeSG pController)
- 
- Specified by:
- getUnionTypein interface- SimpleTypeSGChain
 
- 
 
getListType
public ListTypeSG getListType(SimpleTypeSG pController)
- 
- Specified by:
- getListTypein interface- SimpleTypeSGChain
 
- 
 
getAtomicType
public AtomicTypeSG getAtomicType(SimpleTypeSG pController)
- 
- Specified by:
- getAtomicTypein interface- SimpleTypeSGChain
 
- 
 
getFacets
public Facet[] getFacets(SimpleTypeSG pController)
- 
- Specified by:
- getFacetsin interface- SimpleTypeSGChain
 
- 
 
getFacet
public Facet getFacet(SimpleTypeSG pController,
                      Facet.Type pType)
- 
- Specified by:
- getFacetin interface- SimpleTypeSGChain
 
- 
 
generate
public void generate(SimpleTypeSG pController)
- 
- Specified by:
- generatein interface- SimpleTypeSGChain
 
- 
 
generate
public void generate(SimpleTypeSG pController,
                     JavaSource pSource)
- 
- Specified by:
- generatein interface- SimpleTypeSGChain
 
- 
 
getInitialValue
public java.lang.Object getInitialValue(SimpleTypeSG pController,
                                        JavaSource pSource)
                                 throws org.xml.sax.SAXException
- 
- Specified by:
- getInitialValuein interface- SimpleTypeSGChain
 
- 
- Throws:
- org.xml.sax.SAXException
 
getXMLSetMethod
public JavaMethod getXMLSetMethod(SimpleTypeSG pController,
                                  JavaSource pSource,
                                  java.lang.String pFieldName,
                                  java.lang.String pParamName,
                                  java.lang.String pMethodName)
                           throws org.xml.sax.SAXException
- 
- Specified by:
- getXMLSetMethodin interface- SimpleTypeSGChain
 
- 
- Throws:
- org.xml.sax.SAXException
 
addValidation
public void addValidation(SimpleTypeSG pController,
                          JavaMethod pMethod,
                          DirectAccessible pValue)
                   throws org.xml.sax.SAXException
- 
- Specified by:
- addValidationin interface- SimpleTypeSGChain
 
- 
- Throws:
- org.xml.sax.SAXException