public abstract class AbstractListType extends AbstractSimpleType implements XSListType
| Constructor and Description |
|---|
AbstractListType() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
getLength()
Returns the value of the "length" facet or null, if the facet is not set.
|
java.lang.Long |
getMaxLength()
Returns the value of the "minLength" facet or null, if the facet is not set.
|
java.lang.Long |
getMinLength()
Returns the value of the "maxLength" facet or null, if the facet is not set.
|
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.
|
getAtomicType, getComplexType, getEnumerations, getListType, getParentObject, getPattern, getSimpleType, getUnionType, getXSObjectFactory, isAtomic, isSimple, isTopLevelObject, isUniongetAnnotations, getLocator, getOpenAttributes, getSchemaHeader, getXSSchema, isGlobal, setGlobal, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetItemTypepublic boolean isList()
XSSimpleTypeReturns whether the simple type is a list.
isList in interface XSSimpleTypeisList in class AbstractSimpleTypepublic java.lang.Long getLength()
XSListTypeReturns the value of the "length" facet or null, if the facet is not set.
getLength in interface XSListTypepublic java.lang.Long getMinLength()
XSListTypeReturns the value of the "maxLength" facet or null, if the facet is not set.
getMinLength in interface XSListTypepublic java.lang.Long getMaxLength()
XSListTypeReturns the value of the "minLength" facet or null, if the facet is not set.
getMaxLength in interface XSListTypepublic boolean isRestriction()
XSSimpleTypeReturns whether the type is a restriction of another
simple type. (Almost all simple types are, the exception being
the ur type XSAnySimpleType.
isRestriction in interface XSSimpleTypepublic XSType getRestrictedType()
XSSimpleTypeIf the simple type is a restriction, returns the restricted simple type.
getRestrictedType in interface XSSimpleType