public class XSListTypeRestrictionImpl extends XSSimpleTypeRestrictionImpl implements XSListType
| Constructor and Description |
|---|
XSListTypeRestrictionImpl(XSType pParent,
XSType pRestrictedType,
XsGSimpleRestrictionModel pRestriction) |
| Modifier and Type | Method and Description |
|---|---|
XSType |
getItemType()
Returns the item type (which is, of course, a simple type).
|
java.lang.Long |
getLength()
Returns the value of the "length" facet or null, if the facet is not set.
|
XSListType |
getListType()
Returns the list type details.
|
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.
|
boolean |
isList()
Returns whether the simple type is a list.
|
getBaseType, getEnumerations, getPattern, getRestrictedType, getRestriction, isRestrictiongetAtomicType, getUnionType, isAtomic, isUnionpublic XSListTypeRestrictionImpl(XSType pParent, XSType pRestrictedType, XsGSimpleRestrictionModel pRestriction) throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic boolean isList()
XSSimpleTypeReturns whether the simple type is a list.
isList in interface XSSimpleTypeisList in class XSSimpleTypeImplpublic XSListType getListType()
XSSimpleTypeReturns the list type details.
getListType in interface XSSimpleTypegetListType in class XSSimpleTypeImplpublic XSType getItemType()
XSListTypeReturns the item type (which is, of course, a simple type).
getItemType in interface XSListTypepublic 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 XSListType