org.apache.ws.jaxme.generator.types
Class UnsignedShortSG

java.lang.Object
  extended by org.apache.ws.jaxme.generator.sg.impl.JAXBSGItem
      extended by org.apache.ws.jaxme.generator.types.SimpleTypeSGImpl
          extended by org.apache.ws.jaxme.generator.types.AtomicTypeSGImpl
              extended by org.apache.ws.jaxme.generator.types.PrimitiveTypeSG
                  extended by org.apache.ws.jaxme.generator.types.IntSG
                      extended by org.apache.ws.jaxme.generator.types.UnsignedShortSG
All 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, java.lang.String pValue)
           
protected  java.lang.String getDatatypeName()
           
protected  boolean isUnsigned()
           
 
Methods inherited from class org.apache.ws.jaxme.generator.types.IntSG
getDatatypeType, getObjectRuntimeType, getPrimitiveRuntimeType
 
Methods inherited from class org.apache.ws.jaxme.generator.types.PrimitiveTypeSG
forAllNonNullValues, forAllValues, getCastFromString, getCastToString, getEqualsCheck, getRuntimeType
 
Methods inherited from class org.apache.ws.jaxme.generator.types.AtomicTypeSGImpl
getAtomicType, isAtomic, isCausingParseConversionEvent
 
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 org.apache.ws.jaxme.generator.sg.impl.JAXBSGItem
getFactory, getLocator, getSchema, getXSObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnsignedShortSG

public UnsignedShortSG(SGFactory pFactory,
                       SchemaSG pSchema,
                       XSType pType)
                throws org.xml.sax.SAXException

Creates a new instance of UnsignedShortSG.

Throws:
org.xml.sax.SAXException
Method Detail

isUnsigned

protected boolean isUnsigned()
Overrides:
isUnsigned in class PrimitiveTypeSG

getDatatypeName

protected java.lang.String getDatatypeName()
Overrides:
getDatatypeName in class IntSG

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 IntSG
Throws:
org.xml.sax.SAXException