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, isRestriction
getAtomicType, getUnionType, isAtomic, isUnion
public XSListTypeRestrictionImpl(XSType pParent, XSType pRestrictedType, XsGSimpleRestrictionModel pRestriction) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public boolean isList()
XSSimpleType
Returns whether the simple type is a list.
isList
in interface XSSimpleType
isList
in class XSSimpleTypeImpl
public XSListType getListType()
XSSimpleType
Returns the list type details.
getListType
in interface XSSimpleType
getListType
in class XSSimpleTypeImpl
public XSType getItemType()
XSListType
Returns the item type (which is, of course, a simple type).
getItemType
in interface XSListType
public java.lang.Long getLength()
XSListType
Returns the value of the "length" facet or null, if the facet is not set.
getLength
in interface XSListType
public java.lang.Long getMinLength()
XSListType
Returns the value of the "maxLength" facet or null, if the facet is not set.
getMinLength
in interface XSListType
public java.lang.Long getMaxLength()
XSListType
Returns the value of the "minLength" facet or null, if the facet is not set.
getMaxLength
in interface XSListType