org.apache.ws.jaxme.xs.types

Class XSBoolean

Implemented Interfaces:
XSAtomicType, XSObject, XSOpenAttrs, XSSimpleType, XSType

public class XSBoolean
extends AbstractAtomicType

The type xs:boolean.
Author:
Jochen Wiedmann

Constructor Summary

XSBoolean()

Method Summary

static XSBoolean
getInstance()
XsQName
getName()
If the type is global: Returns the types name.
XSType
getRestrictedType()
If the simple type is a restriction, returns the restricted simple type.
boolean
isRestriction()
Returns whether the type is a restriction of another simple type.

Methods inherited from class org.apache.ws.jaxme.xs.types.AbstractAtomicType

getAtomicType, getFractionDigits, getLength, getMaxExclusive, getMaxInclusive, getMaxLength, getMinExclusive, getMinInclusive, getMinLength, getTotalDigits, isAtomic, isBuiltin, isCollapsing, isReplacing

Methods inherited from class org.apache.ws.jaxme.xs.types.AbstractSimpleType

getAtomicType, getComplexType, getEnumerations, getListType, getParentObject, getPattern, getSimpleType, getUnionType, getXSObjectFactory, isAtomic, isList, isSimple, isTopLevelObject, isUnion

Methods inherited from class org.apache.ws.jaxme.xs.types.AbstractBuiltinType

getAnnotations, getLocator, getOpenAttributes, getSchemaHeader, getXSSchema, isGlobal, setGlobal, validate

Constructor Details

XSBoolean

protected XSBoolean()

Method Details

getInstance

public static XSBoolean getInstance()

getName

public XsQName getName()
If the type is global: Returns the types name. Otherwise returns null.
Specified by:
getName in interface XSType

getRestrictedType

public XSType getRestrictedType()
If the simple type is a restriction, returns the restricted simple type.
Specified by:
getRestrictedType in interface XSSimpleType

isRestriction

public boolean isRestriction()
Specified by:
isRestriction in interface XSSimpleType