org.apache.ws.jaxme.generator.types
Class SimpleTypeSGImpl
java.lang.Object
org.apache.ws.jaxme.generator.sg.impl.JAXBSGItem
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
| 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:
getFactory in interface SimpleTypeSGChain
getSchema
public SchemaSG getSchema(SimpleTypeSG pController)
- Specified by:
getSchema in interface SimpleTypeSGChain
getLocator
public org.xml.sax.Locator getLocator(SimpleTypeSG pController)
- Specified by:
getLocator in interface SimpleTypeSGChain
isAtomic
public boolean isAtomic(SimpleTypeSG pController)
- Specified by:
isAtomic in interface SimpleTypeSGChain
isList
public boolean isList(SimpleTypeSG pController)
- Specified by:
isList in interface SimpleTypeSGChain
isUnion
public boolean isUnion(SimpleTypeSG pController)
- Specified by:
isUnion in interface SimpleTypeSGChain
hasSetMethod
public boolean hasSetMethod(SimpleTypeSG pController)
- Specified by:
hasSetMethod in interface SimpleTypeSGChain
setNullable
public void setNullable(SimpleTypeSG pController,
boolean pNullable)
- Specified by:
setNullable in interface SimpleTypeSGChain
isNullable
public boolean isNullable(SimpleTypeSG pController)
- Specified by:
isNullable in interface SimpleTypeSGChain
init
public void init(SimpleTypeSG pController)
throws org.xml.sax.SAXException
- Specified by:
init in interface SimpleTypeSGChain
- Throws:
org.xml.sax.SAXException
getCollectionType
public java.lang.String getCollectionType(SimpleTypeSG pController)
- Specified by:
getCollectionType in interface SimpleTypeSGChain
getUnionType
public UnionTypeSG getUnionType(SimpleTypeSG pController)
- Specified by:
getUnionType in interface SimpleTypeSGChain
getListType
public ListTypeSG getListType(SimpleTypeSG pController)
- Specified by:
getListType in interface SimpleTypeSGChain
getAtomicType
public AtomicTypeSG getAtomicType(SimpleTypeSG pController)
- Specified by:
getAtomicType in interface SimpleTypeSGChain
getFacets
public Facet[] getFacets(SimpleTypeSG pController)
- Specified by:
getFacets in interface SimpleTypeSGChain
getFacet
public Facet getFacet(SimpleTypeSG pController,
Facet.Type pType)
- Specified by:
getFacet in interface SimpleTypeSGChain
generate
public void generate(SimpleTypeSG pController)
- Specified by:
generate in interface SimpleTypeSGChain
generate
public void generate(SimpleTypeSG pController,
JavaSource pSource)
- Specified by:
generate in interface SimpleTypeSGChain
getInitialValue
public java.lang.Object getInitialValue(SimpleTypeSG pController,
JavaSource pSource)
throws org.xml.sax.SAXException
- Specified by:
getInitialValue in interface SimpleTypeSGChain
- Throws:
org.xml.sax.SAXException
getXMLSetMethod
public JavaMethod getXMLSetMethod(SimpleTypeSG pController,
JavaSource pSource,
java.lang.String pFieldName,
java.lang.String pMethodName)
throws org.xml.sax.SAXException
- Specified by:
getXMLSetMethod in interface SimpleTypeSGChain
- Throws:
org.xml.sax.SAXException
addValidation
public void addValidation(SimpleTypeSG pController,
JavaMethod pMethod,
DirectAccessible pValue)
throws org.xml.sax.SAXException
- Specified by:
addValidation in interface SimpleTypeSGChain
- Throws:
org.xml.sax.SAXException