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 class
FacetElement.Enumeration
static class
FacetElement.FixedFacet
static class
FacetElement.FractionDigits
static class
FacetElement.Length
static class
FacetElement.MaxExclusive
static class
FacetElement.MaxInclusive
static class
FacetElement.MaxLength
static class
FacetElement.MinExclusive
static class
FacetElement.MinInclusive
static class
FacetElement.MinLength
static class
FacetElement.NoFixedFacet
static class
FacetElement.NumFacet
static class
FacetElement.Pattern
static class
FacetElement.TextFacet
static class
FacetElement.TotalDigits
static class
FacetElement.WhiteSpace
-
Field Summary
Fields Modifier and Type Field Description static int
ENUMERATION_FACET_BIT
static int[]
FACET_ELEMENT_INDEXES
Ordered array of indexes for facet elements.static long
FACET_ELEMENT_MASK
Mask for facet elements.static java.lang.String[]
FACET_ELEMENT_NAMES
Ordered array of names of just the facet elements.static int
FRACTIONDIGITS_FACET_BIT
static int
LENGTH_FACET_BIT
private int
m_bitMask
Facet bit mask.private int
m_excludesMask
Facet exclusion mask.static int
MAXEXCLUSIVE_FACET_BIT
static int
MAXINCLUSIVE_FACET_BIT
static int
MAXLENGTH_FACET_BIT
static int
MINEXCLUSIVE_FACET_BIT
static int
MININCLUSIVE_FACET_BIT
static int
MINLENGTH_FACET_BIT
static int
PATTERN_FACET_BIT
static int
TOTALDIGITS_FACET_BIT
static int
WHITESPACE_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 protected
FacetElement(int type, int bit, int exclude)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBitMask()
Get facet bit mask.int
getExcludesMask()
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 java.lang.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.
-
m_bitMask
private final int m_bitMask
Facet bit mask.
-
m_excludesMask
private final int m_excludesMask
Facet exclusion mask.
-
-