public class UnionTypeSGImpl extends SimpleTypeSGImpl
Modifier and Type | Field and Description |
---|---|
static JavaQName |
OBJECT_TYPE |
Constructor and Description |
---|
UnionTypeSGImpl(SGFactory pFactory,
SchemaSG pSchema,
XSType pType,
Context pClassContext,
XsQName pName)
Creates a new instance of UnionTypeSG.
|
Modifier and Type | Method and Description |
---|---|
void |
forAllNonNullValues(SimpleTypeSG pController,
JavaMethod pMethod,
java.lang.Object pValue,
SGlet pSGlet) |
void |
forAllValues(SimpleTypeSG pController,
JavaMethod pMethod,
java.lang.Object pValue,
SGlet pSGlet) |
TypedValue |
getCastFromString(SimpleTypeSG pController,
JavaMethod pMethod,
java.lang.Object pValue,
java.lang.Object pData) |
TypedValue |
getCastFromString(SimpleTypeSG pController,
java.lang.String pValue) |
TypedValue |
getCastToString(SimpleTypeSG pController,
JavaMethod pMethod,
java.lang.Object pValue,
DirectAccessible pData) |
java.lang.Object |
getEqualsCheck(SimpleTypeSG pController,
JavaMethod pMethod,
java.lang.Object pValue1,
java.lang.Object pValue2) |
protected TypeSG[] |
getMemberTypes() |
JavaQName |
getRuntimeType(SimpleTypeSG pController) |
UnionTypeSG |
getUnionType(SimpleTypeSG pController) |
boolean |
isCausingParseConversionEvent(SimpleTypeSG pController) |
boolean |
isUnion(SimpleTypeSG pController) |
addValidation, generate, generate, getAtomicType, getCollectionType, getFacet, getFacets, getFactory, getInitialValue, getListType, getLocator, getSchema, getXMLSetMethod, getXSType, hasSetMethod, init, isAtomic, isList, isNullable, setNullable, setNullable
getFactory, getLocator, getSchema, getXSObject
public static final JavaQName OBJECT_TYPE
protected TypeSG[] getMemberTypes()
public JavaQName getRuntimeType(SimpleTypeSG pController)
public boolean isUnion(SimpleTypeSG pController)
isUnion
in interface SimpleTypeSGChain
isUnion
in class SimpleTypeSGImpl
public TypedValue getCastFromString(SimpleTypeSG pController, java.lang.String pValue) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public TypedValue getCastFromString(SimpleTypeSG pController, JavaMethod pMethod, java.lang.Object pValue, java.lang.Object pData) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public TypedValue getCastToString(SimpleTypeSG pController, JavaMethod pMethod, java.lang.Object pValue, DirectAccessible pData) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public UnionTypeSG getUnionType(SimpleTypeSG pController)
getUnionType
in interface SimpleTypeSGChain
getUnionType
in class SimpleTypeSGImpl
public void forAllNonNullValues(SimpleTypeSG pController, JavaMethod pMethod, java.lang.Object pValue, SGlet pSGlet) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void forAllValues(SimpleTypeSG pController, JavaMethod pMethod, java.lang.Object pValue, SGlet pSGlet) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public java.lang.Object getEqualsCheck(SimpleTypeSG pController, JavaMethod pMethod, java.lang.Object pValue1, java.lang.Object pValue2) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public boolean isCausingParseConversionEvent(SimpleTypeSG pController)