biz.c24.io.api.data
Class ElementBlockEnum

java.lang.Object
  extended by biz.c24.io.api.data.ElementBlockEnum
All Implemented Interfaces:
Serializable

public final class ElementBlockEnum
extends Object
implements Serializable

An enumeration of possible block values.

Block values are used to prevent substitution of an element.

See Also:
Serialized Form

Field Summary
static ElementBlockEnum ALL
          The enumeration value used to block derivation by extension, restriction and substitution.
static ElementBlockEnum EXTENSION
          The enumeration value used to block derivation by extension.
static ElementBlockEnum EXTENSION_RESTRICTION
          The enumeration value used to block derivation by extension or restriction.
static ElementBlockEnum EXTENSION_SUBSTITUTION
          The enumeration value used to block derivation by extension or substitution.
static ElementBlockEnum RESTRICTION
          The enumeration value used to block derivation by restriction.
static ElementBlockEnum RESTRICTION_SUBSTITUTION
          The enumeration value used to block derivation by restriction or substitution.
static ElementBlockEnum SUBSTITUTION
          The enumeration value used to block derivation by substitution.
 
Method Summary
static ElementBlockEnum[] getEnumArray()
          Returns an array containing the members of this enumeration.
static ElementBlockEnum getEnumValue(String name)
          Returns the enumeration value called name.
 String getName()
          Returns the name of this block instance.
 String toString()
          Returns the name of this block instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ALL

public static final ElementBlockEnum ALL
The enumeration value used to block derivation by extension, restriction and substitution.


EXTENSION

public static final ElementBlockEnum EXTENSION
The enumeration value used to block derivation by extension.


RESTRICTION

public static final ElementBlockEnum RESTRICTION
The enumeration value used to block derivation by restriction.


SUBSTITUTION

public static final ElementBlockEnum SUBSTITUTION
The enumeration value used to block derivation by substitution.


EXTENSION_RESTRICTION

public static final ElementBlockEnum EXTENSION_RESTRICTION
The enumeration value used to block derivation by extension or restriction.


EXTENSION_SUBSTITUTION

public static final ElementBlockEnum EXTENSION_SUBSTITUTION
The enumeration value used to block derivation by extension or substitution.


RESTRICTION_SUBSTITUTION

public static final ElementBlockEnum RESTRICTION_SUBSTITUTION
The enumeration value used to block derivation by restriction or substitution.

Method Detail

getName

public String getName()
Returns the name of this block instance.

Returns:
The name.

toString

public String toString()
Returns the name of this block instance.

Overrides:
toString in class Object
Returns:
The name.

getEnumArray

public static ElementBlockEnum[] getEnumArray()
Returns an array containing the members of this enumeration.

Returns:
The enumeration as an array.

getEnumValue

public static ElementBlockEnum getEnumValue(String name)
Returns the enumeration value called name.

Parameters:
name - The name of the enumeration value to return.
Returns:
The enumeration value or null if none was found.


C24 Technologies © 2002-2012: All Rights Reserved.