public enum ContentNodeTypes extends java.lang.Enum<ContentNodeTypes>
Java class for contentNodeTypes.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="contentNodeTypes">
<restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
<enumeration value="page"/>
<enumeration value="label"/>
<enumeration value="place"/>
<enumeration value="internal-url"/>
<enumeration value="external-url"/>
<enumeration value="staticpage"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
EXTERNAL_URL
A content node that displays a URL pointing to a Web page outside the portal.
|
INTERNAL_URL
A content node that displays a URL pointing to other portal content.
|
LABEL
A content node that serves only for organizing the content hierarchy.
|
PAGE
A content node that displays portlets.
|
PLACE
Synonym for label, value exists for compatibility reasons.
|
STATICPAGE
A content node that displays portlets.
|
| Modifier and Type | Method and Description |
|---|---|
static ContentNodeTypes |
fromValue(java.lang.String v) |
java.lang.String |
value() |
static ContentNodeTypes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ContentNodeTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContentNodeTypes PAGE
public static final ContentNodeTypes LABEL
public static final ContentNodeTypes PLACE
public static final ContentNodeTypes INTERNAL_URL
public static final ContentNodeTypes EXTERNAL_URL
public static final ContentNodeTypes STATICPAGE
public static ContentNodeTypes[] values()
for (ContentNodeTypes c : ContentNodeTypes.values()) System.out.println(c);
public static ContentNodeTypes 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 namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String value()
public static ContentNodeTypes fromValue(java.lang.String v)