org.semanticweb.HermiT.model.dataranges
Enum DatatypeRestriction.Facets

java.lang.Object
  extended by java.lang.Enum<DatatypeRestriction.Facets>
      extended by org.semanticweb.HermiT.model.dataranges.DatatypeRestriction.Facets
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DatatypeRestriction.Facets>
Enclosing class:
DatatypeRestriction

public static enum DatatypeRestriction.Facets
extends java.lang.Enum<DatatypeRestriction.Facets>


Enum Constant Summary
FRACTION_DIGITS
           
LENGTH
           
MAX_EXCLUSIVE
           
MAX_INCLUSIVE
           
MAX_LENGTH
           
MIN_EXCLUSIVE
           
MIN_INCLUSIVE
           
MIN_LENGTH
           
PATTERN
           
TOTAL_DIGITS
           
 
Method Summary
static DatatypeRestriction.Facets valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DatatypeRestriction.Facets[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

LENGTH

public static final DatatypeRestriction.Facets LENGTH

MIN_LENGTH

public static final DatatypeRestriction.Facets MIN_LENGTH

MAX_LENGTH

public static final DatatypeRestriction.Facets MAX_LENGTH

PATTERN

public static final DatatypeRestriction.Facets PATTERN

MIN_INCLUSIVE

public static final DatatypeRestriction.Facets MIN_INCLUSIVE

MIN_EXCLUSIVE

public static final DatatypeRestriction.Facets MIN_EXCLUSIVE

MAX_INCLUSIVE

public static final DatatypeRestriction.Facets MAX_INCLUSIVE

MAX_EXCLUSIVE

public static final DatatypeRestriction.Facets MAX_EXCLUSIVE

TOTAL_DIGITS

public static final DatatypeRestriction.Facets TOTAL_DIGITS

FRACTION_DIGITS

public static final DatatypeRestriction.Facets FRACTION_DIGITS
Method Detail

values

public static final DatatypeRestriction.Facets[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(DatatypeRestriction.Facets c : DatatypeRestriction.Facets.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static DatatypeRestriction.Facets valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name