public static enum SkinMetadata.RenderKitId extends Enum<SkinMetadata.RenderKitId>
Enum Constant and Description |
---|
DESKTOP
Renderkit Id for DESKTOP
|
PDA
Renderkit Id for PDA
|
PORTLET
Renderkit Id for PORTLET
|
Modifier and Type | Method and Description |
---|---|
static SkinMetadata.RenderKitId |
fromId(String id)
Returns the RenderKit instance or
null if no id matches or id is passed as
null. |
String |
id() |
String |
toString() |
static SkinMetadata.RenderKitId |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SkinMetadata.RenderKitId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SkinMetadata.RenderKitId DESKTOP
public static final SkinMetadata.RenderKitId PDA
public static final SkinMetadata.RenderKitId PORTLET
public static SkinMetadata.RenderKitId[] values()
for (SkinMetadata.RenderKitId c : SkinMetadata.RenderKitId.values()) System.out.println(c);
public static SkinMetadata.RenderKitId valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String id()
public String toString()
toString
in class Enum<SkinMetadata.RenderKitId>
public static SkinMetadata.RenderKitId fromId(String id)
null
if no id matches or id is passed as
null.id
- of RenderKit to returnIllegalArgumentException
- if there is no enum with the specified name.Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.