com.clarkparsia.pellet.datatypes
Enum Facet.XSD

java.lang.Object
  extended by java.lang.Enum<Facet.XSD>
      extended by com.clarkparsia.pellet.datatypes.Facet.XSD
All Implemented Interfaces:
Facet, java.io.Serializable, java.lang.Comparable<Facet.XSD>
Enclosing interface:
Facet

public static enum Facet.XSD
extends java.lang.Enum<Facet.XSD>
implements Facet

Facets in the XSD name space (and documented in the XML Schema specifications)


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.clarkparsia.pellet.datatypes.Facet
Facet.Registry, Facet.XSD
 
Enum Constant Summary
LENGTH
           
MAX_EXCLUSIVE
           
MAX_INCLUSIVE
           
MAX_LENGTH
           
MIN_EXCLUSIVE
           
MIN_INCLUSIVE
           
MIN_LENGTH
           
PATTERN
           
 
Method Summary
 aterm.ATermAppl getName()
           
static Facet.XSD valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Facet.XSD[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

MAX_EXCLUSIVE

public static final Facet.XSD MAX_EXCLUSIVE

MAX_INCLUSIVE

public static final Facet.XSD MAX_INCLUSIVE

MIN_EXCLUSIVE

public static final Facet.XSD MIN_EXCLUSIVE

MIN_INCLUSIVE

public static final Facet.XSD MIN_INCLUSIVE

LENGTH

public static final Facet.XSD LENGTH

MIN_LENGTH

public static final Facet.XSD MIN_LENGTH

MAX_LENGTH

public static final Facet.XSD MAX_LENGTH

PATTERN

public static final Facet.XSD PATTERN
Method Detail

values

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

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

valueOf

public static Facet.XSD 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
java.lang.NullPointerException - if the argument is null

getName

public aterm.ATermAppl getName()
Specified by:
getName in interface Facet


Copyright © 2004 Evren Sirin. All Rights Reserved.