org.apache.ws.jaxme.generator.types

Class UnsignedShortSG

Implemented Interfaces:
SimpleTypeSGChain

public class UnsignedShortSG
extends IntSG

Author:
Jochen Wiedmann

Field Summary

Fields inherited from class org.apache.ws.jaxme.generator.types.IntSG

INT_OBJECT_TYPE, INT_TYPE

Constructor Summary

UnsignedShortSG(SGFactory pFactory, SchemaSG pSchema, XSType pType)
Creates a new instance of UnsignedShortSG.

Method Summary

TypedValue
getCastFromString(SimpleTypeSG pController, String pValue)
protected String
getDatatypeName()
protected boolean
isUnsigned()

Methods inherited from class org.apache.ws.jaxme.generator.types.IntSG

getCastFromString, getDatatypeName, getDatatypeType, getObjectRuntimeType, getPrimitiveRuntimeType

Methods inherited from class org.apache.ws.jaxme.generator.types.PrimitiveTypeSG

forAllNonNullValues, forAllValues, getCastFromString, getCastToString, getEqualsCheck, getObjectRuntimeType, getPrimitiveRuntimeType, getRuntimeType, isUnsigned

Methods inherited from class org.apache.ws.jaxme.generator.types.AtomicTypeSGImpl

getAtomicType, getCastFromString, getCastFromString, getCastToString, getCastToString, getDatatypeName, getDatatypeType, getEqualsCheck, isAtomic, isCausingParseConversionEvent

Methods inherited from class org.apache.ws.jaxme.generator.types.SimpleTypeSGImpl

addValidation, generate, generate, getAtomicType, getCollectionType, getFacet, getFacets, getFactory, getInitialValue, getListType, getLocator, getSchema, getUnionType, getXMLSetMethod, getXSType, hasSetMethod, init, isAtomic, isList, isNullable, isUnion, setNullable, setNullable

Methods inherited from class org.apache.ws.jaxme.generator.sg.impl.JAXBSGItem

getFactory, getLocator, getSchema, getXSObject

Constructor Details

UnsignedShortSG

public UnsignedShortSG(SGFactory pFactory,
                       SchemaSG pSchema,
                       XSType pType)
            throws SAXException
Creates a new instance of UnsignedShortSG.

Method Details

getCastFromString

public TypedValue getCastFromString(SimpleTypeSG pController,
                                    String pValue)
            throws SAXException
Specified by:
getCastFromString in interface SimpleTypeSGChain
Overrides:
getCastFromString in interface IntSG

getDatatypeName

protected String getDatatypeName()
Overrides:
getDatatypeName in interface IntSG

isUnsigned

protected boolean isUnsigned()
Overrides:
isUnsigned in interface PrimitiveTypeSG