com.atlassian.confluence.content.render.xhtml
Enum MarshallingType
java.lang.Object
java.lang.Enum<MarshallingType>
com.atlassian.confluence.content.render.xhtml.MarshallingType
- All Implemented Interfaces:
- Serializable, Comparable<MarshallingType>
public enum MarshallingType
- extends Enum<MarshallingType>
The type of a Marshaller or Unmarshaller.
- Since:
- 5.3
Method Summary |
static MarshallingType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static MarshallingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
STORAGE
public static final MarshallingType STORAGE
EDITOR
public static final MarshallingType EDITOR
VIEW
public static final MarshallingType VIEW
EMAIL
public static final MarshallingType EMAIL
values
public static MarshallingType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (MarshallingType c : MarshallingType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static MarshallingType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © 2003–2015 Atlassian. All rights reserved.