org.apache.ws.jaxme.generator.types
Class DurationSG
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
org.apache.ws.jaxme.generator.types.DurationSG
- All Implemented Interfaces:
- SimpleTypeSGChain
public class DurationSG
- extends AtomicTypeSGImpl
- Author:
- Jochen Wiedmann
Method Summary |
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)
|
protected java.lang.String |
getDatatypeName()
|
protected JavaQName |
getDatatypeType()
|
JavaQName |
getRuntimeType(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 |
DURATION_TYPE
public static final JavaQName DURATION_TYPE
DurationSG
public DurationSG(SGFactory pFactory,
SchemaSG pSchema,
XSType pType)
throws org.xml.sax.SAXException
Creates a new instance of DateTimeSG.java.
- Throws:
org.xml.sax.SAXException
getRuntimeType
public JavaQName getRuntimeType(SimpleTypeSG pController)
getCastFromString
public TypedValue getCastFromString(SimpleTypeSG pController,
JavaMethod pMethod,
java.lang.Object pValue,
java.lang.Object pData)
- Specified by:
getCastFromString
in interface SimpleTypeSGChain
- Overrides:
getCastFromString
in class AtomicTypeSGImpl
getCastFromString
public TypedValue getCastFromString(SimpleTypeSG pController,
java.lang.String pValue)
throws org.xml.sax.SAXException
- Specified by:
getCastFromString
in interface SimpleTypeSGChain
- Overrides:
getCastFromString
in class AtomicTypeSGImpl
- Throws:
org.xml.sax.SAXException
getCastToString
public TypedValue getCastToString(SimpleTypeSG pController,
JavaMethod pMethod,
java.lang.Object pValue,
DirectAccessible pData)
- Specified by:
getCastToString
in interface SimpleTypeSGChain
- Overrides:
getCastToString
in class AtomicTypeSGImpl
forAllNonNullValues
public void forAllNonNullValues(SimpleTypeSG pController,
JavaMethod pMethod,
java.lang.Object pValue,
SGlet pSGlet)
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
forAllValues
public void forAllValues(SimpleTypeSG pController,
JavaMethod pMethod,
java.lang.Object pValue,
SGlet pSGlet)
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
getDatatypeName
protected java.lang.String getDatatypeName()
- Specified by:
getDatatypeName
in class AtomicTypeSGImpl
getDatatypeType
protected JavaQName getDatatypeType()
- Specified by:
getDatatypeType
in class AtomicTypeSGImpl