public abstract class SimpleTypeSGImpl extends JAXBSGItem implements SimpleTypeSGChain
Modifier | Constructor and Description |
---|---|
protected |
SimpleTypeSGImpl(SGFactory pFactory,
SchemaSG pSchema,
XSType pType)
Creates a new instance of SimpleTypeSGImpl.
|
Modifier and Type | Method and Description |
---|---|
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) |
getFactory, getLocator, getSchema, getXSObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forAllNonNullValues, forAllValues, getCastFromString, getCastFromString, getCastToString, getEqualsCheck, getRuntimeType, isCausingParseConversionEvent
protected XSType getXSType()
public SGFactory getFactory(SimpleTypeSG pController)
getFactory
in interface SimpleTypeSGChain
public SchemaSG getSchema(SimpleTypeSG pController)
getSchema
in interface SimpleTypeSGChain
public org.xml.sax.Locator getLocator(SimpleTypeSG pController)
getLocator
in interface SimpleTypeSGChain
public boolean isAtomic(SimpleTypeSG pController)
isAtomic
in interface SimpleTypeSGChain
public boolean isList(SimpleTypeSG pController)
isList
in interface SimpleTypeSGChain
public boolean isUnion(SimpleTypeSG pController)
isUnion
in interface SimpleTypeSGChain
public boolean hasSetMethod(SimpleTypeSG pController)
hasSetMethod
in interface SimpleTypeSGChain
public void setNullable(SimpleTypeSG pController, boolean pNullable)
setNullable
in interface SimpleTypeSGChain
public void setNullable(boolean pNullable)
public boolean isNullable(SimpleTypeSG pController)
isNullable
in interface SimpleTypeSGChain
public void init(SimpleTypeSG pController) throws org.xml.sax.SAXException
init
in interface SimpleTypeSGChain
org.xml.sax.SAXException
public java.lang.String getCollectionType(SimpleTypeSG pController)
getCollectionType
in interface SimpleTypeSGChain
public UnionTypeSG getUnionType(SimpleTypeSG pController)
getUnionType
in interface SimpleTypeSGChain
public ListTypeSG getListType(SimpleTypeSG pController)
getListType
in interface SimpleTypeSGChain
public AtomicTypeSG getAtomicType(SimpleTypeSG pController)
getAtomicType
in interface SimpleTypeSGChain
public Facet[] getFacets(SimpleTypeSG pController)
getFacets
in interface SimpleTypeSGChain
public Facet getFacet(SimpleTypeSG pController, Facet.Type pType)
getFacet
in interface SimpleTypeSGChain
public void generate(SimpleTypeSG pController)
generate
in interface SimpleTypeSGChain
public void generate(SimpleTypeSG pController, JavaSource pSource)
generate
in interface SimpleTypeSGChain
public java.lang.Object getInitialValue(SimpleTypeSG pController, JavaSource pSource) throws org.xml.sax.SAXException
getInitialValue
in interface SimpleTypeSGChain
org.xml.sax.SAXException
public JavaMethod getXMLSetMethod(SimpleTypeSG pController, JavaSource pSource, java.lang.String pFieldName, java.lang.String pParamName, java.lang.String pMethodName) throws org.xml.sax.SAXException
getXMLSetMethod
in interface SimpleTypeSGChain
org.xml.sax.SAXException
public void addValidation(SimpleTypeSG pController, JavaMethod pMethod, DirectAccessible pValue) throws org.xml.sax.SAXException
addValidation
in interface SimpleTypeSGChain
org.xml.sax.SAXException