org.apache.ws.jaxme.xs.types
Class XSPositiveInteger

java.lang.Object
  extended by org.apache.ws.jaxme.xs.types.AbstractBuiltinType
      extended by org.apache.ws.jaxme.xs.types.AbstractSimpleType
          extended by org.apache.ws.jaxme.xs.types.AbstractAtomicType
              extended by org.apache.ws.jaxme.xs.types.XSDecimal
                  extended by org.apache.ws.jaxme.xs.types.XSInteger
                      extended by org.apache.ws.jaxme.xs.types.XSNonNegativeInteger
                          extended by org.apache.ws.jaxme.xs.types.XSPositiveInteger
All Implemented Interfaces:
XSAtomicType, XSObject, XSOpenAttrs, XSSimpleType, XSType

public class XSPositiveInteger
extends XSNonNegativeInteger

The xs:positiveInteger type

Author:
Jochen Wiedmann

Constructor Summary
protected XSPositiveInteger()
           
 
Method Summary
static XSType getInstance()
           
 java.lang.String getMinExclusive()
          Returns the value of the "minExclusive" facet or null, if the facet is not set.
 java.lang.String getMinInclusive()
          Returns the value of the "minInclusive" facet or null, if the facet is not set.
 XsQName getName()
          If the type is global: Returns the types name.
 XSType getRestrictedType()
          If the simple type is a restriction, returns the restricted simple type.
 
Methods inherited from class org.apache.ws.jaxme.xs.types.XSInteger
getFractionDigits
 
Methods inherited from class org.apache.ws.jaxme.xs.types.XSDecimal
isRestriction
 
Methods inherited from class org.apache.ws.jaxme.xs.types.AbstractAtomicType
getAtomicType, getLength, getMaxExclusive, getMaxInclusive, getMaxLength, getMinLength, getTotalDigits, isAtomic, isBuiltin, isCollapsing, isReplacing
 
Methods inherited from class org.apache.ws.jaxme.xs.types.AbstractSimpleType
getComplexType, getEnumerations, getListType, getParentObject, getPattern, getSimpleType, getUnionType, getXSObjectFactory, isList, isSimple, isTopLevelObject, isUnion
 
Methods inherited from class org.apache.ws.jaxme.xs.types.AbstractBuiltinType
getAnnotations, getLocator, getOpenAttributes, getSchemaHeader, getXSSchema, isGlobal, setGlobal, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XSPositiveInteger

protected XSPositiveInteger()
Method Detail

getName

public XsQName getName()
Description copied from interface: XSType

If the type is global: Returns the types name. Otherwise returns null.

Specified by:
getName in interface XSType
Overrides:
getName in class XSNonNegativeInteger

getMinInclusive

public java.lang.String getMinInclusive()
Description copied from interface: XSAtomicType

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

Specified by:
getMinInclusive in interface XSAtomicType
Overrides:
getMinInclusive in class XSNonNegativeInteger

getMinExclusive

public java.lang.String getMinExclusive()
Description copied from interface: XSAtomicType

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

Specified by:
getMinExclusive in interface XSAtomicType
Overrides:
getMinExclusive in class XSNonNegativeInteger

getInstance

public static XSType getInstance()

getRestrictedType

public XSType getRestrictedType()
Description copied from interface: XSSimpleType

If the simple type is a restriction, returns the restricted simple type.

Specified by:
getRestrictedType in interface XSSimpleType
Overrides:
getRestrictedType in class XSNonNegativeInteger