org.apache.wicket.markup.parser
Enum IXmlPullParser.ELEMENT_TYPE

java.lang.Object
  extended by java.lang.Enum<IXmlPullParser.ELEMENT_TYPE>
      extended by org.apache.wicket.markup.parser.IXmlPullParser.ELEMENT_TYPE
All Implemented Interfaces:
Serializable, Comparable<IXmlPullParser.ELEMENT_TYPE>
Enclosing interface:
IXmlPullParser

public static enum IXmlPullParser.ELEMENT_TYPE
extends Enum<IXmlPullParser.ELEMENT_TYPE>

The last element found


Enum Constant Summary
BODY
          Tag body in between two tags
CDATA
          
COMMENT
           
CONDITIONAL_COMMENT
           
DOCTYPE
          
NOT_INITIALIZED
          next() must be called at least once for the Type to be valid
PROCESSING_INSTRUCTION
          
SPECIAL_TAG
          all other tags which look like
TAG
          
 
Method Summary
static IXmlPullParser.ELEMENT_TYPE valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IXmlPullParser.ELEMENT_TYPE[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NOT_INITIALIZED

public static final IXmlPullParser.ELEMENT_TYPE NOT_INITIALIZED
next() must be called at least once for the Type to be valid


TAG

public static final IXmlPullParser.ELEMENT_TYPE TAG


BODY

public static final IXmlPullParser.ELEMENT_TYPE BODY
Tag body in between two tags


COMMENT

public static final IXmlPullParser.ELEMENT_TYPE COMMENT


CONDITIONAL_COMMENT

public static final IXmlPullParser.ELEMENT_TYPE CONDITIONAL_COMMENT


CDATA

public static final IXmlPullParser.ELEMENT_TYPE CDATA


PROCESSING_INSTRUCTION

public static final IXmlPullParser.ELEMENT_TYPE PROCESSING_INSTRUCTION


DOCTYPE

public static final IXmlPullParser.ELEMENT_TYPE DOCTYPE


SPECIAL_TAG

public static final IXmlPullParser.ELEMENT_TYPE SPECIAL_TAG
all other tags which look like

Method Detail

values

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

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

valueOf

public static IXmlPullParser.ELEMENT_TYPE 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


Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.