org.exolab.castor.xml.schema.simpletypes

Class AtomicType

public abstract class AtomicType extends SimpleType

The base class for built-in atomic Schema types

Version: $Revision:

Author: Arnaud Berry

Method Summary
FacetgetMax()
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
FacetgetMin()
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
StringgetPattern()
Gets the pattern facet returns null if there is none
booleanisMaxInclusive()
Tells if the maximum is inclusive or not Has no meaning if there is no maxInclusive/Exclusive facet
booleanisMinInclusive()
Tells if the minimum is inclusive or not Has no meaning if there is no minInclusive/Exclusive facet

Method Detail

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

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

getPattern

String getPattern()
Gets the pattern facet returns null if there is none

isMaxInclusive

public boolean isMaxInclusive()
Tells if the maximum is inclusive or not Has no meaning if there is no maxInclusive/Exclusive facet

isMinInclusive

public boolean isMinInclusive()
Tells if the minimum is inclusive or not Has no meaning if there is no minInclusive/Exclusive facet
Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com