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)
|
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)
|
TypedValue |
getCastToString(SimpleTypeSG pController,
java.lang.Object pValue,
DirectAccessible pData)
|
protected abstract java.lang.String |
getDatatypeName()
|
protected abstract JavaQName |
getDatatypeType()
|
java.lang.Object |
getEqualsCheck(SimpleTypeSG pController,
JavaMethod pMethod,
java.lang.Object pValue1,
java.lang.Object pValue2)
|
boolean |
isAtomic(SimpleTypeSG pController)
|
boolean |
isCausingParseConversionEvent(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, 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()
getDatatypeType
protected abstract JavaQName getDatatypeType()
getAtomicType
public AtomicTypeSG getAtomicType(SimpleTypeSG pController)
- Specified by:
getAtomicType in interface SimpleTypeSGChain- Overrides:
getAtomicType in class SimpleTypeSGImpl
getCastFromString
public TypedValue getCastFromString(SimpleTypeSG pController,
java.lang.String pValue)
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
getCastFromString
public TypedValue 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 TypedValue getCastToString(SimpleTypeSG pController,
JavaMethod pMethod,
java.lang.Object pValue,
DirectAccessible pData)
getCastToString
public TypedValue 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
isCausingParseConversionEvent
public boolean isCausingParseConversionEvent(SimpleTypeSG pController)