java.io.Serializable, java.lang.Comparable<TransformType>public enum TransformType extends java.lang.Enum<TransformType>
Created: 2008. 04. 25 AM 16:47:38
| Modifier and Type | Method | Description |
|---|---|---|
static TransformType |
resolve(ContentType contentType) |
Returns a
TransformType with a value corresponding
to the specified ContentType. |
static TransformType |
resolve(java.lang.String alias) |
Returns a
TransformType with a value represented
by the specified String. |
java.lang.String |
toString() |
|
static TransformType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static TransformType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransformType XML
public static final TransformType XSL
public static final TransformType TEXT
public static final TransformType JSON
public static final TransformType APON
public static TransformType[] values()
for (TransformType c : TransformType.values()) System.out.println(c);
public static TransformType 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 toString()
toString in class java.lang.Enum<TransformType>public static TransformType resolve(java.lang.String alias)
TransformType with a value represented
by the specified String.alias - the transform type as a StringTransformType, may be nullpublic static TransformType resolve(ContentType contentType)
TransformType with a value corresponding
to the specified ContentType.contentType - the content type as a ContentTypeTransformType, may be nullCopyright © 2008–2018 The Aspectran Project. All rights reserved.