org.odftoolkit.odfdom.dom.attribute.text
Enum TextPlaceholderTypeAttribute.Value

java.lang.Object
  extended by java.lang.Enum<TextPlaceholderTypeAttribute.Value>
      extended by org.odftoolkit.odfdom.dom.attribute.text.TextPlaceholderTypeAttribute.Value
All Implemented Interfaces:
Serializable, Comparable<TextPlaceholderTypeAttribute.Value>
Enclosing class:
TextPlaceholderTypeAttribute

public static enum TextPlaceholderTypeAttribute.Value
extends Enum<TextPlaceholderTypeAttribute.Value>

The value set of text:placeholder-type.


Enum Constant Summary
IMAGE
           
OBJECT
           
TABLE
           
TEXT
           
TEXT_BOX
           
 
Method Summary
static TextPlaceholderTypeAttribute.Value enumValueOf(String value)
           
 String toString()
           
static TextPlaceholderTypeAttribute.Value valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TextPlaceholderTypeAttribute.Value[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

IMAGE

public static final TextPlaceholderTypeAttribute.Value IMAGE

OBJECT

public static final TextPlaceholderTypeAttribute.Value OBJECT

TABLE

public static final TextPlaceholderTypeAttribute.Value TABLE

TEXT

public static final TextPlaceholderTypeAttribute.Value TEXT

TEXT_BOX

public static final TextPlaceholderTypeAttribute.Value TEXT_BOX
Method Detail

values

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

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

valueOf

public static TextPlaceholderTypeAttribute.Value 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

toString

public String toString()
Overrides:
toString in class Enum<TextPlaceholderTypeAttribute.Value>

enumValueOf

public static TextPlaceholderTypeAttribute.Value enumValueOf(String value)


Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.