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

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.BooleanSG
All Implemented Interfaces:
SimpleTypeSGChain

public class BooleanSG
extends PrimitiveTypeSG

Author:
Jochen Wiedmann

Field Summary
static JavaQName BOOLEAN_OBJECT_TYPE
          The object boolean type.
static JavaQName BOOLEAN_TYPE
          The primitive boolean type.
 
Constructor Summary
BooleanSG(SGFactory pFactory, SchemaSG pSchema, XSType pType)
          Creates a new instance of BooleanSG.java.
 
Method Summary
 TypedValue getCastFromString(SimpleTypeSG pController, java.lang.String pValue)
           
protected  java.lang.String getDatatypeName()
           
protected  JavaQName getDatatypeType()
           
protected  JavaQName getObjectRuntimeType(SimpleTypeSG pController)
           
 JavaQName getPrimitiveRuntimeType(SimpleTypeSG pController)
           
 boolean isCausingParseConversionEvent(SimpleTypeSG pController)
           
 
Methods inherited from class org.apache.ws.jaxme.generator.types.PrimitiveTypeSG
forAllNonNullValues, forAllValues, getCastFromString, getCastToString, getEqualsCheck, getRuntimeType, isUnsigned
 
Methods inherited from class org.apache.ws.jaxme.generator.types.AtomicTypeSGImpl
getAtomicType, isAtomic
 
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
 

Field Detail

BOOLEAN_TYPE

public static final JavaQName BOOLEAN_TYPE
The primitive boolean type.


BOOLEAN_OBJECT_TYPE

public static final JavaQName BOOLEAN_OBJECT_TYPE
The object boolean type.

Constructor Detail

BooleanSG

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

Creates a new instance of BooleanSG.java.

Throws:
org.xml.sax.SAXException
Method Detail

getDatatypeName

protected java.lang.String getDatatypeName()
Specified by:
getDatatypeName in class AtomicTypeSGImpl

getDatatypeType

protected JavaQName getDatatypeType()
Specified by:
getDatatypeType in class AtomicTypeSGImpl

getPrimitiveRuntimeType

public JavaQName getPrimitiveRuntimeType(SimpleTypeSG pController)
Specified by:
getPrimitiveRuntimeType in class PrimitiveTypeSG

getObjectRuntimeType

protected JavaQName getObjectRuntimeType(SimpleTypeSG pController)
Specified by:
getObjectRuntimeType in class PrimitiveTypeSG

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

isCausingParseConversionEvent

public boolean isCausingParseConversionEvent(SimpleTypeSG pController)
Specified by:
isCausingParseConversionEvent in interface SimpleTypeSGChain
Overrides:
isCausingParseConversionEvent in class AtomicTypeSGImpl