org.apache.ws.jaxme.generator.types
Class PrimitiveTypeSG
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.PrimitiveTypeSG
- All Implemented Interfaces:
- SimpleTypeSGChain
- Direct Known Subclasses:
- BooleanSG, ByteSG, DoubleSG, FloatSG, IntSG, LongSG, ShortSG
public abstract class PrimitiveTypeSG
- 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 |
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 abstract JavaQName |
getObjectRuntimeType(SimpleTypeSG pController)
|
protected abstract JavaQName |
getPrimitiveRuntimeType(SimpleTypeSG pController)
|
JavaQName |
getRuntimeType(SimpleTypeSG pController)
|
protected boolean |
isUnsigned()
|
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 |
PrimitiveTypeSG
protected PrimitiveTypeSG(SGFactory pFactory,
SchemaSG pSchema,
XSType pType)
throws org.xml.sax.SAXException
Creates a new instance of PrimitiveTypeSG.java.
- Throws:
org.xml.sax.SAXException
isUnsigned
protected boolean isUnsigned()
getObjectRuntimeType
protected abstract JavaQName getObjectRuntimeType(SimpleTypeSG pController)
getPrimitiveRuntimeType
protected abstract JavaQName getPrimitiveRuntimeType(SimpleTypeSG pController)
getRuntimeType
public JavaQName getRuntimeType(SimpleTypeSG pController)
getCastFromString
public TypedValue getCastFromString(SimpleTypeSG pController,
JavaMethod pMethod,
java.lang.Object pValue,
java.lang.Object pData)
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
forAllValues
public void forAllValues(SimpleTypeSG pController,
JavaMethod pMethod,
java.lang.Object pValue,
SGlet pSGlet)
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
forAllNonNullValues
public void forAllNonNullValues(SimpleTypeSG pController,
JavaMethod pMethod,
java.lang.Object pValue,
SGlet pSGlet)
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
getEqualsCheck
public java.lang.Object getEqualsCheck(SimpleTypeSG pController,
JavaMethod pMethod,
java.lang.Object pValue1,
java.lang.Object pValue2)
throws org.xml.sax.SAXException
- Specified by:
getEqualsCheck
in interface SimpleTypeSGChain
- Overrides:
getEqualsCheck
in class AtomicTypeSGImpl
- Throws:
org.xml.sax.SAXException