com.atlassian.confluence.macro
Enum Macro.OutputType
java.lang.Object
java.lang.Enum<Macro.OutputType>
com.atlassian.confluence.macro.Macro.OutputType
- All Implemented Interfaces:
- Serializable, Comparable<Macro.OutputType>
- Enclosing interface:
- Macro
public static enum Macro.OutputType
- extends Enum<Macro.OutputType>
INLINE
public static final Macro.OutputType INLINE
BLOCK
public static final Macro.OutputType BLOCK
values
public static Macro.OutputType[] 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 (Macro.OutputType c : Macro.OutputType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Macro.OutputType 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-2011 Atlassian. All Rights Reserved.