|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<TargetType> com.ibm.portal.state.accessors.portlet.TargetType
public enum TargetType
Enumeration to identify targets.
Target types that begin with prefix PORLTET_
only belong to
portlets.
Enum Constant Summary | |
---|---|
PORTLET_ACTION
A portlet action target represents an action URL for portlets. |
|
PORTLET_RENDER
A portlet render target represents a render URL for portlets. |
|
PORTLET_RESOURCE
A portlet resource target references a resource. |
|
STATIC_RESOURCE
A static resource target such as an image that is served in the context of navigational state |
Method Summary | |
---|---|
static TargetType |
findByDescription(java.lang.String aDescription)
Returns the TargetType whose description is equal to the
given one. |
java.lang.String |
toString()
|
static TargetType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TargetType[] |
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 |
---|
public static final TargetType PORTLET_RESOURCE
public static final TargetType PORTLET_ACTION
public static final TargetType PORTLET_RENDER
public static final TargetType STATIC_RESOURCE
Method Detail |
---|
public static TargetType[] values()
for (TargetType c : TargetType.values()) System.out.println(c);
public static TargetType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<TargetType>
public static TargetType findByDescription(java.lang.String aDescription)
TargetType
whose description is equal to the
given one. In other words
aDescription.equals(TargetType.findByDescription(aDescription).toString())
returns true
.
aDescription
- The description
TargetType
or null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |