org.jbind.xml.core.constraint
Class ConstraintType

java.lang.Object
  extended byorg.jbind.xml.core.constraint.ConstraintType
Direct Known Subclasses:
org.jbind.xml.core.constraint.ConstraintType.FacetConstraintType

public class ConstraintType
extends java.lang.Object


Nested Class Summary
static interface ConstraintType.Checker
           
static class ConstraintType.Digits
           
static class ConstraintType.Enumeration
           
static class ConstraintType.Length
           
static class ConstraintType.Order
           
static class ConstraintType.Pattern
           
static class ConstraintType.WhiteSpace
           
 
Field Summary
static ConstraintType ATTRIBUTES
           
static ConstraintType BUILT_IN
           
static ConstraintType.Checker CHECKER_EP
           
static ConstraintType.Checker CHECKER_LWEP
           
static ConstraintType.Checker CHECKER_ODWEP
           
static ConstraintType.Checker CHECKER_OWEP
           
static ConstraintType.Checker CHECKER_WEP
           
static ConstraintType.Checker CHECKER_WP
           
static ConstraintType ELEMENT_KEY
           
static ConstraintType ELEMENT_KEY_REF
           
static ConstraintType ELEMENT_UNIQUE
           
static ConstraintType.Enumeration ENUMERATION
           
static ConstraintType.Digits FRACTION_DIGITS
           
static ConstraintType ID
           
static ConstraintType ID_REF
           
static ConstraintType ID_REFS
           
static ConstraintType IDS
           
static ConstraintType.Length LENGTH
           
static ConstraintType.Order MAX_EXCLUSIVE
           
static ConstraintType.Order MAX_INCLUSIVE
           
static ConstraintType.Length MAX_LENGTH
           
static ConstraintType.Order MIN_EXCLUSIVE
           
static ConstraintType.Order MIN_INCLUSIVE
           
static ConstraintType.Length MIN_LENGTH
           
static ConstraintType.Pattern PATTERN
           
static ConstraintType.Digits TOTAL_DIGITS
           
static ConstraintType TYPE_KEY
           
static ConstraintType TYPE_KEY_REF
           
static ConstraintType TYPE_UNIQUE
           
static ConstraintType.WhiteSpace WHITE_SPACE
           
static ConstraintType XPATH_CONSTRAINT
           
 
Constructor Summary
protected ConstraintType(java.lang.String aName, boolean anIsSingleNotMultiple)
           
 
Method Summary
 int getIndex()
           
static int getNbMultipleConstraintTypes()
           
static int getNbSingleConstraintTypes()
           
 boolean isSingleNotMultiple()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BUILT_IN

public static final ConstraintType BUILT_IN

PATTERN

public static final ConstraintType.Pattern PATTERN

ENUMERATION

public static final ConstraintType.Enumeration ENUMERATION

MIN_EXCLUSIVE

public static final ConstraintType.Order MIN_EXCLUSIVE

MAX_EXCLUSIVE

public static final ConstraintType.Order MAX_EXCLUSIVE

MIN_INCLUSIVE

public static final ConstraintType.Order MIN_INCLUSIVE

MAX_INCLUSIVE

public static final ConstraintType.Order MAX_INCLUSIVE

LENGTH

public static final ConstraintType.Length LENGTH

MIN_LENGTH

public static final ConstraintType.Length MIN_LENGTH

MAX_LENGTH

public static final ConstraintType.Length MAX_LENGTH

TOTAL_DIGITS

public static final ConstraintType.Digits TOTAL_DIGITS

FRACTION_DIGITS

public static final ConstraintType.Digits FRACTION_DIGITS

ID

public static final ConstraintType ID

IDS

public static final ConstraintType IDS

ID_REF

public static final ConstraintType ID_REF

ID_REFS

public static final ConstraintType ID_REFS

TYPE_UNIQUE

public static final ConstraintType TYPE_UNIQUE

TYPE_KEY

public static final ConstraintType TYPE_KEY

TYPE_KEY_REF

public static final ConstraintType TYPE_KEY_REF

ELEMENT_UNIQUE

public static final ConstraintType ELEMENT_UNIQUE

ELEMENT_KEY

public static final ConstraintType ELEMENT_KEY

ELEMENT_KEY_REF

public static final ConstraintType ELEMENT_KEY_REF

XPATH_CONSTRAINT

public static final ConstraintType XPATH_CONSTRAINT

ATTRIBUTES

public static final ConstraintType ATTRIBUTES

WHITE_SPACE

public static final ConstraintType.WhiteSpace WHITE_SPACE

CHECKER_LWEP

public static final ConstraintType.Checker CHECKER_LWEP

CHECKER_WEP

public static final ConstraintType.Checker CHECKER_WEP

CHECKER_OWEP

public static final ConstraintType.Checker CHECKER_OWEP

CHECKER_ODWEP

public static final ConstraintType.Checker CHECKER_ODWEP

CHECKER_WP

public static final ConstraintType.Checker CHECKER_WP

CHECKER_EP

public static final ConstraintType.Checker CHECKER_EP
Constructor Detail

ConstraintType

protected ConstraintType(java.lang.String aName,
                         boolean anIsSingleNotMultiple)
Method Detail

getNbSingleConstraintTypes

public static final int getNbSingleConstraintTypes()

getNbMultipleConstraintTypes

public static final int getNbMultipleConstraintTypes()

isSingleNotMultiple

public boolean isSingleNotMultiple()

getIndex

public int getIndex()

toString

public java.lang.String toString()