org.basex.build
Enum BuildText.Type

java.lang.Object
  extended by java.lang.Enum<BuildText.Type>
      extended by org.basex.build.BuildText.Type
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<BuildText.Type>
Enclosing interface:
BuildText

public static enum BuildText.Type
extends java.lang.Enum<BuildText.Type>

Token types.


Enum Constant Summary
ATTNAME
          AttrName.
ATTVALUE
          AttrValue.
CLOSE_R_BR
          Closing End Bracket.
COMMENT
          Comment.
DECL
          DocDecl.
DOCTYPE
          DocType.
EQ
          Equal Sign.
L_BR
          Opening Bracket.
L_BR_CLOSE
          Empty Bracket.
PI
          PI.
QUOTE
          Quoted Text.
R_BR
          Closing Bracket.
TAGNAME
          TagName.
TEXT
          Text Node.
WS
          Whitespace.
 
Field Summary
 java.lang.String string
          String representation of token type.
 
Method Summary
static BuildText.Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static BuildText.Type[] 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

ATTNAME

public static final BuildText.Type ATTNAME
AttrName.


ATTVALUE

public static final BuildText.Type ATTVALUE
AttrValue.


CLOSE_R_BR

public static final BuildText.Type CLOSE_R_BR
Closing End Bracket.


COMMENT

public static final BuildText.Type COMMENT
Comment.


DECL

public static final BuildText.Type DECL
DocDecl.


DOCTYPE

public static final BuildText.Type DOCTYPE
DocType.


EQ

public static final BuildText.Type EQ
Equal Sign.


L_BR

public static final BuildText.Type L_BR
Opening Bracket.


L_BR_CLOSE

public static final BuildText.Type L_BR_CLOSE
Empty Bracket.


PI

public static final BuildText.Type PI
PI.


QUOTE

public static final BuildText.Type QUOTE
Quoted Text.


R_BR

public static final BuildText.Type R_BR
Closing Bracket.


TAGNAME

public static final BuildText.Type TAGNAME
TagName.


TEXT

public static final BuildText.Type TEXT
Text Node.


WS

public static final BuildText.Type WS
Whitespace.

Field Detail

string

public java.lang.String string
String representation of token type.

Method Detail

valueOf

public static BuildText.Type 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

values

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

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