org.apache.ws.jaxme.xs.types

Class AbstractListType

Implemented Interfaces:
XSListType, XSObject, XSOpenAttrs, XSSimpleType, XSType
Known Direct Subclasses:
XSEntities, XSIDREFs, XSNMTokens

public abstract class AbstractListType
extends AbstractSimpleType
implements XSListType

Author:
Jochen Wiedmann

Method Summary

Long
getLength()
Long
getMaxLength()
Long
getMinLength()
XSType
getRestrictedType()
If the simple type is a restriction, returns the restricted simple type.
boolean
isList()
Returns whether the simple type is a list.
boolean
isRestriction()
Returns whether the type is a restriction of another simple type.

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

Method Details

getLength

public Long getLength()
Specified by:
getLength in interface XSListType

getMaxLength

public Long getMaxLength()
Specified by:
getMaxLength in interface XSListType

getMinLength

public Long getMinLength()
Specified by:
getMinLength in interface XSListType

getRestrictedType

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

isList

public boolean isList()
Returns whether the simple type is a list.
Specified by:
isList in interface XSSimpleType
Overrides:
isList in interface AbstractSimpleType

isRestriction

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