com.uwyn.rife.template
Enum Parser.PartType

java.lang.Object
  extended by java.lang.Enum<Parser.PartType>
      extended by com.uwyn.rife.template.Parser.PartType
All Implemented Interfaces:
Serializable, Comparable<Parser.PartType>
Enclosing class:
Parser

public static enum Parser.PartType
extends Enum<Parser.PartType>


Enum Constant Summary
BLOCK
           
BLOCKAPPEND
           
BLOCKVALUE
           
COMMENT
           
CONTENT
           
INCLUDE
           
STRING_DELIMITER_BEGIN
           
STRING_DELIMITER_END
           
TAG_END
           
TAG_SHORT_TERM
           
TAG_START
           
TAG_TERM
           
UNESCAPE_START
           
VALUE
           
 
Method Summary
static Parser.PartType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Parser.PartType[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CONTENT

public static final Parser.PartType CONTENT

TAG_START

public static final Parser.PartType TAG_START

TAG_END

public static final Parser.PartType TAG_END

TAG_TERM

public static final Parser.PartType TAG_TERM

TAG_SHORT_TERM

public static final Parser.PartType TAG_SHORT_TERM

STRING_DELIMITER_BEGIN

public static final Parser.PartType STRING_DELIMITER_BEGIN

STRING_DELIMITER_END

public static final Parser.PartType STRING_DELIMITER_END

VALUE

public static final Parser.PartType VALUE

BLOCK

public static final Parser.PartType BLOCK

BLOCKVALUE

public static final Parser.PartType BLOCKVALUE

BLOCKAPPEND

public static final Parser.PartType BLOCKAPPEND

COMMENT

public static final Parser.PartType COMMENT

INCLUDE

public static final Parser.PartType INCLUDE

UNESCAPE_START

public static final Parser.PartType UNESCAPE_START
Method Detail

values

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

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

valueOf

public static Parser.PartType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.