Package org.opencms.gwt.client.util
Enum CmsDomUtil.Target
- java.lang.Object
-
- java.lang.Enum<CmsDomUtil.Target>
-
- org.opencms.gwt.client.util.CmsDomUtil.Target
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CmsDomUtil.Target>
- Enclosing class:
- CmsDomUtil
public static enum CmsDomUtil.Target extends java.lang.Enum<CmsDomUtil.Target>
Enumeration of link/form targets.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getRepresentation()
Returns the target representation.static CmsDomUtil.Target
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CmsDomUtil.Target[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BLANK
public static final CmsDomUtil.Target BLANK
Target blank.
-
NONE
public static final CmsDomUtil.Target NONE
Unspecified target.
-
PARENT
public static final CmsDomUtil.Target PARENT
Target parent.
-
SELF
public static final CmsDomUtil.Target SELF
Target self.
-
TOP
public static final CmsDomUtil.Target TOP
Target top.
-
-
Method Detail
-
values
public static CmsDomUtil.Target[] 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 (CmsDomUtil.Target c : CmsDomUtil.Target.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CmsDomUtil.Target valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getRepresentation
public java.lang.String getRepresentation()
Returns the target representation.- Returns:
- the target representation
-
-