Package org.jibx.schema.elements
Class FacetElement
- java.lang.Object
-
- org.jibx.schema.elements.SchemaBase
-
- org.jibx.schema.elements.OpenAttrBase
-
- org.jibx.schema.elements.AnnotatedBase
-
- org.jibx.schema.elements.FacetElement
-
- All Implemented Interfaces:
IComponent
- Direct Known Subclasses:
FacetElement.FixedFacet,FacetElement.NoFixedFacet
public abstract class FacetElement extends AnnotatedBase
Facet implementation. This base class is used for all facets, with static inner subclasses for the actual facets.- Author:
- Dennis M. Sosnoski
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFacetElement.Enumerationstatic classFacetElement.FixedFacetstatic classFacetElement.FractionDigitsstatic classFacetElement.Lengthstatic classFacetElement.MaxExclusivestatic classFacetElement.MaxInclusivestatic classFacetElement.MaxLengthstatic classFacetElement.MinExclusivestatic classFacetElement.MinInclusivestatic classFacetElement.MinLengthstatic classFacetElement.NoFixedFacetstatic classFacetElement.NumFacetstatic classFacetElement.Patternstatic classFacetElement.TextFacetstatic classFacetElement.TotalDigitsstatic classFacetElement.WhiteSpace
-
Field Summary
Fields Modifier and Type Field Description static intENUMERATION_FACET_BITstatic int[]FACET_ELEMENT_INDEXESOrdered array of indexes for facet elements.static longFACET_ELEMENT_MASKMask for facet elements.static String[]FACET_ELEMENT_NAMESOrdered array of names of just the facet elements.static intFRACTIONDIGITS_FACET_BITstatic intLENGTH_FACET_BITstatic intMAXEXCLUSIVE_FACET_BITstatic intMAXINCLUSIVE_FACET_BITstatic intMAXLENGTH_FACET_BITstatic intMINEXCLUSIVE_FACET_BITstatic intMININCLUSIVE_FACET_BITstatic intMINLENGTH_FACET_BITstatic intPATTERN_FACET_BITstatic intTOTALDIGITS_FACET_BITstatic intWHITESPACE_FACET_BIT-
Fields inherited from class org.jibx.schema.elements.AnnotatedBase
s_allowedAttributes
-
Fields inherited from class org.jibx.schema.elements.SchemaBase
ALL_TYPE, ANNOTATION_TYPE, ANY_TYPE, ANYATTRIBUTE_TYPE, APPINFO_TYPE, ATTRIBUTE_TYPE, ATTRIBUTEGROUP_TYPE, CHOICE_TYPE, COMPLEXCONTENT_TYPE, COMPLEXTYPE_TYPE, DOCUMENTATION_TYPE, ELEMENT_MASKS, ELEMENT_NAMES, ELEMENT_TYPE, ENUMERATION_TYPE, EXTENSION_TYPE, FIELD_TYPE, FRACTIONDIGITS_TYPE, GROUP_TYPE, IMPORT_TYPE, INCLUDE_TYPE, KEY_TYPE, KEYREF_TYPE, LENGTH_TYPE, LIST_TYPE, MAXEXCLUSIVE_TYPE, MAXINCLUSIVE_TYPE, MAXLENGTH_TYPE, MINEXCLUSIVE_TYPE, MININCLUSIVE_TYPE, MINLENGTH_TYPE, NOTATION_TYPE, PATTERN_TYPE, REDEFINE_TYPE, RESTRICTION_TYPE, SCHEMA_TYPE, SELECTOR_TYPE, SEQUENCE_TYPE, SIMPLECONTENT_TYPE, SIMPLETYPE_TYPE, TOTALDIGITS_TYPE, UNION_TYPE, UNIQUE_TYPE, WHITESPACE_TYPE
-
Fields inherited from interface org.jibx.schema.IComponent
SCHEMA_NAMESPACE
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedFacetElement(int type, int bit, int exclude)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBitMask()Get facet bit mask.intgetExcludesMask()Get excludes bit mask.-
Methods inherited from class org.jibx.schema.elements.AnnotatedBase
getAnnotation, getId, prevalidate, setAnnotation, setId
-
Methods inherited from class org.jibx.schema.elements.OpenAttrBase
addExtraAttribute, clearExtraAttributes, compactChildren, detachChild, getChild, getChildCount, getChildIterator, getChildrenWritable, getExtraAttributes, preget, replaceChild, validateAttributes
-
Methods inherited from class org.jibx.schema.elements.SchemaBase
addNamespaceDeclaration, bit, clearNamespaceDeclarations, getExtension, getNamespaceDeclarations, getParent, getSchema, isGlobal, name, preset, readNamespaces, setExtension, setParent, type, validate, validateAttributes, writeNamespaces
-
-
-
-
Field Detail
-
LENGTH_FACET_BIT
public static final int LENGTH_FACET_BIT
- See Also:
- Constant Field Values
-
MINLENGTH_FACET_BIT
public static final int MINLENGTH_FACET_BIT
- See Also:
- Constant Field Values
-
MAXLENGTH_FACET_BIT
public static final int MAXLENGTH_FACET_BIT
- See Also:
- Constant Field Values
-
PATTERN_FACET_BIT
public static final int PATTERN_FACET_BIT
- See Also:
- Constant Field Values
-
ENUMERATION_FACET_BIT
public static final int ENUMERATION_FACET_BIT
- See Also:
- Constant Field Values
-
WHITESPACE_FACET_BIT
public static final int WHITESPACE_FACET_BIT
- See Also:
- Constant Field Values
-
MAXINCLUSIVE_FACET_BIT
public static final int MAXINCLUSIVE_FACET_BIT
- See Also:
- Constant Field Values
-
MAXEXCLUSIVE_FACET_BIT
public static final int MAXEXCLUSIVE_FACET_BIT
- See Also:
- Constant Field Values
-
MININCLUSIVE_FACET_BIT
public static final int MININCLUSIVE_FACET_BIT
- See Also:
- Constant Field Values
-
MINEXCLUSIVE_FACET_BIT
public static final int MINEXCLUSIVE_FACET_BIT
- See Also:
- Constant Field Values
-
TOTALDIGITS_FACET_BIT
public static final int TOTALDIGITS_FACET_BIT
- See Also:
- Constant Field Values
-
FRACTIONDIGITS_FACET_BIT
public static final int FRACTIONDIGITS_FACET_BIT
- See Also:
- Constant Field Values
-
FACET_ELEMENT_INDEXES
public static final int[] FACET_ELEMENT_INDEXES
Ordered array of indexes for facet elements.
-
FACET_ELEMENT_NAMES
public static final String[] FACET_ELEMENT_NAMES
Ordered array of names of just the facet elements.
-
FACET_ELEMENT_MASK
public static final long FACET_ELEMENT_MASK
Mask for facet elements.
-
-