org.exolab.castor.xml.schema.simpletypes
Class AtomicType

java.lang.Object
  extended by org.exolab.castor.xml.schema.Structure
      extended by org.exolab.castor.xml.schema.Annotated
          extended by org.exolab.castor.xml.schema.XMLType
              extended by org.exolab.castor.xml.schema.SimpleType
                  extended by 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
AtomicType()
           
 
Method Summary
(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 none
 boolean isMaxInclusive()
          Tells if the maximum is inclusive or not Has no meaning if there is no maxInclusive/Exclusive facet
 boolean 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, getFacet, getFacets, getFacets, getFinal, getLength, getLocalFacets, getMaxLength, getMinLength, getParent, getReferenceId, getStructureType, getTypeCode, hasFacet, isBuiltInType, isRedefined, removeFacet, removeFacet, resolveReference, setFinal, setParent, setRedefined, validate
 
Methods inherited from class org.exolab.castor.xml.schema.XMLType
getBaseType, 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
 
Methods inherited from class org.exolab.castor.xml.schema.Structure
isValid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AtomicType

public AtomicType()
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



Intalio Inc. (C) 1999-2004. All rights reserved http://www.intalio.com