|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object
java.lang.Enum<TemplateBean.Type>
com.fatwire.services.beans.asset.basic.template.TemplateBean.Type
public static enum TemplateBean.Type
Enumerates all the supported template types.
Enum Constant Summary | |
---|---|
EXTERNALLY_CALLABLE Externally callable templates. |
|
LAYOUT Layouts. |
|
PAGELET Pagelets. |
|
RAW_DATA Raw data. |
Method Summary | |
---|---|
java.lang.String |
getCode() Returns the code associated with this template type. |
static TemplateBean.Type |
toEnum(java.lang.String code) |
static TemplateBean.Type |
valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. |
static TemplateBean.Type[] |
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, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final TemplateBean.Type LAYOUT
public static final TemplateBean.Type EXTERNALLY_CALLABLE
public static final TemplateBean.Type PAGELET
public static final TemplateBean.Type RAW_DATA
Method Detail |
---|
public static TemplateBean.Type[] values()
for (TemplateBean.Type c : TemplateBean.Type.values()) System.out.println(c);
public static TemplateBean.Type 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 getCode()
public static TemplateBean.Type toEnum(java.lang.String code)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.