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
| 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 |
|
Constructor Summary |
protected |
FacetElement(int type,
int bit,
int exclude)
Constructor. |
| 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
FacetElement
protected FacetElement(int type,
int bit,
int exclude)
- Constructor.
- Parameters:
type - bit - maskexclude - exclusion bit mask
getBitMask
public int getBitMask()
- Get facet bit mask.
- Returns:
- bit mask
getExcludesMask
public int getExcludesMask()
- Get excludes bit mask.
- Returns:
- bit mask
Copyright © 2005-2012 jibx.org. All Rights Reserved.