org.apache.ws.jaxme.xs.impl
Class XSListTypeRestrictionImpl

java.lang.Object
  extended by org.apache.ws.jaxme.xs.impl.XSSimpleTypeImpl
      extended by org.apache.ws.jaxme.xs.impl.XSSimpleTypeRestrictionImpl
          extended by org.apache.ws.jaxme.xs.impl.XSListTypeRestrictionImpl
All Implemented Interfaces:
XSListType, XSSimpleType

public class XSListTypeRestrictionImpl
extends XSSimpleTypeRestrictionImpl
implements XSListType

Author:
Jochen Wiedmann

Constructor Summary
XSListTypeRestrictionImpl(XSType pParent, XSType pRestrictedType, XsGSimpleRestrictionModel pRestriction)
           
 
Method Summary
 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.
 
Methods inherited from class org.apache.ws.jaxme.xs.impl.XSSimpleTypeRestrictionImpl
getBaseType, getEnumerations, getPattern, getRestrictedType, getRestriction, isRestriction
 
Methods inherited from class org.apache.ws.jaxme.xs.impl.XSSimpleTypeImpl
getAtomicType, getUnionType, isAtomic, isUnion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XSListTypeRestrictionImpl

public XSListTypeRestrictionImpl(XSType pParent,
                                 XSType pRestrictedType,
                                 XsGSimpleRestrictionModel pRestriction)
                          throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException
Method Detail

isList

public boolean isList()
Description copied from interface: XSSimpleType

Returns whether the simple type is a list.

Specified by:
isList in interface XSSimpleType
Overrides:
isList in class XSSimpleTypeImpl

getListType

public XSListType getListType()
Description copied from interface: XSSimpleType

Returns the list type details.

Specified by:
getListType in interface XSSimpleType
Overrides:
getListType in class XSSimpleTypeImpl

getItemType

public XSType getItemType()
Description copied from interface: XSListType

Returns the item type (which is, of course, a simple type).

Specified by:
getItemType in interface XSListType

getLength

public java.lang.Long getLength()
Description copied from interface: XSListType

Returns the value of the "length" facet or null, if the facet is not set.

Specified by:
getLength in interface XSListType

getMinLength

public java.lang.Long getMinLength()
Description copied from interface: XSListType

Returns the value of the "maxLength" facet or null, if the facet is not set.

Specified by:
getMinLength in interface XSListType

getMaxLength

public java.lang.Long getMaxLength()
Description copied from interface: XSListType

Returns the value of the "minLength" facet or null, if the facet is not set.

Specified by:
getMaxLength in interface XSListType