net.sf.jcgm.core
Enum DelimiterElement

java.lang.Object
  extended by java.lang.Enum<DelimiterElement>
      extended by net.sf.jcgm.core.DelimiterElement
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DelimiterElement>

public enum DelimiterElement
extends java.lang.Enum<DelimiterElement>

Element class 0: Delimiter Elements

Since:
Dec 15, 2009
Version:
$Id: DelimiterElement.java 46 2011-12-14 08:26:44Z phica $
Author:
Philippe Cadé

Enum Constant Summary
BEGIN_APPLICATION_STRUCTURE
           
BEGIN_APPLICATION_STRUCTURE_BODY
           
BEGIN_COMPOUND_LINE
           
BEGIN_COMPOUND_TEXT_PATH
           
BEGIN_FIGURE
           
BEGIN_METAFILE
           
BEGIN_PICTURE
           
BEGIN_PICTURE_BODY
           
BEGIN_PROTECTION_REGION
           
BEGIN_SEGMENT
           
BEGIN_TILE_ARRAY
           
END_APPLICATION_STRUCTURE
           
END_COMPOUND_LINE
           
END_COMPOUND_TEXT_PATH
           
END_FIGURE
           
END_METAFILE
           
END_PICTURE
           
END_PROTECTION_REGION
           
END_SEGMENT
           
END_TILE_ARRAY
           
NO_OP
           
UNUSED_10
           
UNUSED_11
           
UNUSED_12
           
 
Method Summary
static DelimiterElement getElement(int ec)
           
 int getElementCode()
           
 java.lang.String toString()
           
static DelimiterElement valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DelimiterElement[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NO_OP

public static final DelimiterElement NO_OP

BEGIN_METAFILE

public static final DelimiterElement BEGIN_METAFILE

END_METAFILE

public static final DelimiterElement END_METAFILE

BEGIN_PICTURE

public static final DelimiterElement BEGIN_PICTURE

BEGIN_PICTURE_BODY

public static final DelimiterElement BEGIN_PICTURE_BODY

END_PICTURE

public static final DelimiterElement END_PICTURE

BEGIN_SEGMENT

public static final DelimiterElement BEGIN_SEGMENT

END_SEGMENT

public static final DelimiterElement END_SEGMENT

BEGIN_FIGURE

public static final DelimiterElement BEGIN_FIGURE

END_FIGURE

public static final DelimiterElement END_FIGURE

UNUSED_10

public static final DelimiterElement UNUSED_10

UNUSED_11

public static final DelimiterElement UNUSED_11

UNUSED_12

public static final DelimiterElement UNUSED_12

BEGIN_PROTECTION_REGION

public static final DelimiterElement BEGIN_PROTECTION_REGION

END_PROTECTION_REGION

public static final DelimiterElement END_PROTECTION_REGION

BEGIN_COMPOUND_LINE

public static final DelimiterElement BEGIN_COMPOUND_LINE

END_COMPOUND_LINE

public static final DelimiterElement END_COMPOUND_LINE

BEGIN_COMPOUND_TEXT_PATH

public static final DelimiterElement BEGIN_COMPOUND_TEXT_PATH

END_COMPOUND_TEXT_PATH

public static final DelimiterElement END_COMPOUND_TEXT_PATH

BEGIN_TILE_ARRAY

public static final DelimiterElement BEGIN_TILE_ARRAY

END_TILE_ARRAY

public static final DelimiterElement END_TILE_ARRAY

BEGIN_APPLICATION_STRUCTURE

public static final DelimiterElement BEGIN_APPLICATION_STRUCTURE

BEGIN_APPLICATION_STRUCTURE_BODY

public static final DelimiterElement BEGIN_APPLICATION_STRUCTURE_BODY

END_APPLICATION_STRUCTURE

public static final DelimiterElement END_APPLICATION_STRUCTURE
Method Detail

values

public static DelimiterElement[] 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 (DelimiterElement c : DelimiterElement.values())
    System.out.println(c);

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

valueOf

public static DelimiterElement 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

getElementCode

public int getElementCode()

getElement

public static DelimiterElement getElement(int ec)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<DelimiterElement>


Part of the jcgm library http://jcgm.sourceforge.net/