org.apache.ws.jaxme.generator.types
Class AtomicTypeSGImpl
java.lang.Object
org.apache.ws.jaxme.generator.sg.impl.JAXBSGItem
org.apache.ws.jaxme.generator.types.SimpleTypeSGImpl
org.apache.ws.jaxme.generator.types.AtomicTypeSGImpl
- All Implemented Interfaces:
- SimpleTypeSGChain
- Direct Known Subclasses:
- Base64BinarySG, DateTimeSG, DecimalSG, DurationSG, HexBinarySG, IntegerSG, PrimitiveTypeSG, QNameSG, StringSG
- public abstract class AtomicTypeSGImpl
- extends SimpleTypeSGImpl
- Author:
- Jochen Wiedmann
Method Summary |
AtomicTypeSG |
getAtomicType(SimpleTypeSG pController)
|
java.lang.Object |
getCastFromString(SimpleTypeSG pController,
JavaMethod pMethod,
java.lang.Object pValue,
java.lang.Object pData)
|
java.lang.Object |
getCastToString(SimpleTypeSG pController,
JavaMethod pMethod,
java.lang.Object pValue,
DirectAccessible pData)
|
java.lang.Object |
getCastToString(SimpleTypeSG pController,
java.lang.Object pValue,
DirectAccessible pData)
|
protected abstract java.lang.String |
getDatatypeName()
|
java.lang.Object |
getEqualsCheck(SimpleTypeSG pController,
JavaMethod pMethod,
java.lang.Object pValue1,
java.lang.Object pValue2)
|
boolean |
isAtomic(SimpleTypeSG pController)
|
Methods inherited from class org.apache.ws.jaxme.generator.types.SimpleTypeSGImpl |
addValidation, generate, generate, getCollectionType, getFacet, getFacets, getFactory, getInitialValue, getListType, getLocator, getSchema, getUnionType, getXMLSetMethod, getXSType, hasSetMethod, init, isList, isNullable, isUnion, setNullable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AtomicTypeSGImpl
protected AtomicTypeSGImpl(SGFactory pFactory,
SchemaSG pSchema,
XSType pType)
throws org.xml.sax.SAXException
Creates a new instance of AtomicTypeSGImpl.
isAtomic
public boolean isAtomic(SimpleTypeSG pController)
- Specified by:
isAtomic
in interface SimpleTypeSGChain
- Overrides:
isAtomic
in class SimpleTypeSGImpl
getDatatypeName
protected abstract java.lang.String getDatatypeName()
getAtomicType
public AtomicTypeSG getAtomicType(SimpleTypeSG pController)
- Specified by:
getAtomicType
in interface SimpleTypeSGChain
- Overrides:
getAtomicType
in class SimpleTypeSGImpl
getCastFromString
public java.lang.Object getCastFromString(SimpleTypeSG pController,
JavaMethod pMethod,
java.lang.Object pValue,
java.lang.Object pData)
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
getCastToString
public java.lang.Object getCastToString(SimpleTypeSG pController,
JavaMethod pMethod,
java.lang.Object pValue,
DirectAccessible pData)
getCastToString
public java.lang.Object getCastToString(SimpleTypeSG pController,
java.lang.Object pValue,
DirectAccessible pData)
getEqualsCheck
public java.lang.Object getEqualsCheck(SimpleTypeSG pController,
JavaMethod pMethod,
java.lang.Object pValue1,
java.lang.Object pValue2)
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException