Class AtomicType
java.lang.Object
org.exolab.castor.xml.schema.Structure
org.exolab.castor.xml.schema.Annotated
org.exolab.castor.xml.schema.XMLType
org.exolab.castor.xml.schema.SimpleType
org.exolab.castor.xml.schema.simpletypes.AtomicType
- All Implemented Interfaces:
Serializable
,Referable
- Direct Known Subclasses:
AnyURIType
,BinaryType
,BooleanType
,DateTimeType
,DecimalType
,DurationType
,RealType
,StringType
The base class for built-in atomic Schema types
- Version:
- $Revision:
- Author:
- Arnaud Berry
- See Also:
-
Field Summary
Fields inherited from class org.exolab.castor.xml.schema.SimpleType
FINAL_ALL, FINAL_LIST, FINAL_RESTRICTION, FINAL_UNION
Fields inherited from class org.exolab.castor.xml.schema.XMLType
NULL_ARGUMENT
Fields inherited from class org.exolab.castor.xml.schema.Structure
ANNOTATION, ANYTYPE, APPINFO, ATTRIBUTE, ATTRIBUTE_GROUP, COMPLEX_CONTENT, COMPLEX_TYPE, DOCUMENTATION, ELEMENT, FACET, GROUP, IDENTITY_FIELD, IDENTITY_SELECTOR, KEY, KEYREF, LIST, MODELGROUP, MODELGROUP_REF, REDEFINE, SCHEMA, SIMPLE_CONTENT, SIMPLE_TYPE, UNION, UNIQUE, UNKNOWN, WILDCARD
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) Facet
getMax()
Gets the MAX_INCLUSIVE facet or the MAX_EXCLUSIVE facet (both are never defined at the same time) returns null if there is no maximum(package private) Facet
getMin()
Gets the MIN_INCLUSIVE facet or the MIN_EXCLUSIVE facet (both are never defined at the same time) returns null if there is no minimum(package private) String
Gets the pattern facet returns null if there is noneboolean
Tells if the maximum is inclusive or not Has no meaning if there is no maxInclusive/Exclusive facetboolean
Tells if the minimum is inclusive or not Has no meaning if there is no minInclusive/Exclusive facetMethods inherited from class org.exolab.castor.xml.schema.SimpleType
addFacet, copyFacets, createReference, getBuiltInBaseType, getEffectiveFacets, getFacet, getFacets, getFacets, getFinal, getLength, getLocalFacets, getMaxLength, getMinLength, getNumberOfFacets, getParent, getReferenceId, getStructureType, getTypeCode, hasFacet, isBuiltInType, isDateTimeType, isNumericType, isRedefined, removeFacet, removeFacet, resolveReference, setFinal, setParent, setRedefined, validate
Methods inherited from class org.exolab.castor.xml.schema.XMLType
getBaseType, getBaseTypeName, getDerivationMethod, getId, getName, getSchema, isAnyType, isComplexType, isSimpleType, setBaseType, setDerivationMethod, setId, setName, setSchema
Methods inherited from class org.exolab.castor.xml.schema.Annotated
addAnnotation, getAnnotations, removeAnnotation
-
Constructor Details
-
AtomicType
public AtomicType()
-
-
Method Details
-
getPattern
String getPattern()Gets the pattern facet returns null if there is none -
isMinInclusive
public boolean isMinInclusive()Tells if the minimum is inclusive or not Has no meaning if there is no minInclusive/Exclusive facet -
isMaxInclusive
public boolean isMaxInclusive()Tells if the maximum is inclusive or not Has no meaning if there is no maxInclusive/Exclusive facet -
getMin
Facet getMin()Gets the MIN_INCLUSIVE facet or the MIN_EXCLUSIVE facet (both are never defined at the same time) returns null if there is no minimum -
getMax
Facet getMax()Gets the MAX_INCLUSIVE facet or the MAX_EXCLUSIVE facet (both are never defined at the same time) returns null if there is no maximum
-