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:
java.io.Serializable
,Referable
- Direct Known Subclasses:
AnyURIType
,BinaryType
,BooleanType
,DateTimeType
,DecimalType
,DurationType
,RealType
,StringType
public abstract class AtomicType extends SimpleType
The base class for built-in atomic Schema types- Version:
- $Revision:
- Author:
- Arnaud Berry
- See Also:
- Serialized Form
-
-
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 Constructor Description AtomicType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (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) java.lang.String
getPattern()
Gets the pattern facet returns null if there is noneboolean
isMaxInclusive()
Tells if the maximum is inclusive or not Has no meaning if there is no maxInclusive/Exclusive facetboolean
isMinInclusive()
Tells if the minimum is inclusive or not Has no meaning if there is no minInclusive/Exclusive facet-
Methods 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
-
-
-
-
Method Detail
-
getPattern
java.lang.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
-
-