org.apache.ws.jaxme.generator.types

Class BooleanSG

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, String pValue)
protected 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, getObjectRuntimeType, getPrimitiveRuntimeType, getRuntimeType, isUnsigned

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

getAtomicType, getCastFromString, getCastFromString, 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

Field Details

BOOLEAN_OBJECT_TYPE

public static final JavaQName BOOLEAN_OBJECT_TYPE
The object boolean type.

BOOLEAN_TYPE

public static final JavaQName BOOLEAN_TYPE
The primitive boolean type.

Constructor Details

BooleanSG

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

Method Details

getCastFromString

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

getDatatypeName

protected String getDatatypeName()
Overrides:
getDatatypeName in interface AtomicTypeSGImpl

getDatatypeType

protected JavaQName getDatatypeType()
Overrides:
getDatatypeType in interface AtomicTypeSGImpl

getObjectRuntimeType

protected JavaQName getObjectRuntimeType(SimpleTypeSG pController)
Overrides:
getObjectRuntimeType in interface PrimitiveTypeSG

getPrimitiveRuntimeType

public JavaQName getPrimitiveRuntimeType(SimpleTypeSG pController)
Overrides:
getPrimitiveRuntimeType in interface PrimitiveTypeSG

isCausingParseConversionEvent

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