public static enum Content.Type extends java.lang.Enum<Content.Type>
Enum Constant and Description |
---|
HTML
Escaped HTML
|
MEDIA
Base64-encoded Binary
|
TEXT
Plain text
|
XHTML
Welformed XHTML
|
XML
Welformed XML
|
Modifier and Type | Method and Description |
---|---|
static Content.Type |
typeFromString(java.lang.String val)
Return an appropriate Type given the specified @type attribute value
|
static Content.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Content.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Content.Type TEXT
public static final Content.Type HTML
public static final Content.Type XHTML
public static final Content.Type XML
public static final Content.Type MEDIA
public static Content.Type[] values()
for (Content.Type c : Content.Type.values()) System.out.println(c);
public static Content.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 static Content.Type typeFromString(java.lang.String val)
Copyright © 2010 - 2020 Adobe. All Rights Reserved