net.sf.eos.document
Enum XmlSerializer.ElementName

java.lang.Object
  extended by java.lang.Enum<XmlSerializer.ElementName>
      extended by net.sf.eos.document.XmlSerializer.ElementName
All Implemented Interfaces:
Serializable, Comparable<XmlSerializer.ElementName>
Enclosing class:
XmlSerializer

public static enum XmlSerializer.ElementName
extends Enum<XmlSerializer.ElementName>

Represents the XML element names of a serialized εοs document.

Author:
Sascha Kohlmann

Enum Constant Summary
d
          Root element of an εοs document.
k
          key of a meta data entry.
m
          Container for a meta data entry.
te
          Text of a document.
ti
          Title of a document.
v
          value of a meta data entry.
 
Method Summary
static XmlSerializer.ElementName valueOf(String name)
          Returns the enum constant of this type with the specified name.
static XmlSerializer.ElementName[] 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

d

public static final XmlSerializer.ElementName d
Root element of an εοs document.


m

public static final XmlSerializer.ElementName m
Container for a meta data entry.


k

public static final XmlSerializer.ElementName k
key of a meta data entry. There is only one key in a meta data entry.


v

public static final XmlSerializer.ElementName v
value of a meta data entry. There may be more than one value.


ti

public static final XmlSerializer.ElementName ti
Title of a document.


te

public static final XmlSerializer.ElementName te
Text of a document.

Method Detail

values

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

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

valueOf

public static XmlSerializer.ElementName 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 © 2008. All Rights Reserved.