org.opencms.xml.containerpage
Enum CmsXmlContainerPage.XmlNode

java.lang.Object
  extended by java.lang.Enum<CmsXmlContainerPage.XmlNode>
      extended by org.opencms.xml.containerpage.CmsXmlContainerPage.XmlNode
All Implemented Interfaces:
Serializable, Comparable<CmsXmlContainerPage.XmlNode>
Enclosing class:
CmsXmlContainerPage

public static enum CmsXmlContainerPage.XmlNode
extends Enum<CmsXmlContainerPage.XmlNode>

XML node name constants.


Enum Constant Summary
Attribute
          Container attribute node name.
Containers
          Main node name.
CreateNew
          The create new element node name.
Elements
          Container elements node name.
Formatter
          Element formatter node name.
Key
          Container attribute key node name.
Name
          Container name node name.
Type
          Container type node name.
Uri
          Element URI node name.
Value
          Container attribute value node name.
 
Method Summary
static CmsXmlContainerPage.XmlNode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CmsXmlContainerPage.XmlNode[] 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

Attribute

public static final CmsXmlContainerPage.XmlNode Attribute
Container attribute node name.


Containers

public static final CmsXmlContainerPage.XmlNode Containers
Main node name.


CreateNew

public static final CmsXmlContainerPage.XmlNode CreateNew
The create new element node name.


Elements

public static final CmsXmlContainerPage.XmlNode Elements
Container elements node name.


Formatter

public static final CmsXmlContainerPage.XmlNode Formatter
Element formatter node name.


Key

public static final CmsXmlContainerPage.XmlNode Key
Container attribute key node name.


Name

public static final CmsXmlContainerPage.XmlNode Name
Container name node name.


Type

public static final CmsXmlContainerPage.XmlNode Type
Container type node name.


Uri

public static final CmsXmlContainerPage.XmlNode Uri
Element URI node name.


Value

public static final CmsXmlContainerPage.XmlNode Value
Container attribute value node name.

Method Detail

values

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

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

valueOf

public static CmsXmlContainerPage.XmlNode 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