Enum XhtmlCharacterType
- java.lang.Object
-
- java.lang.Enum<XhtmlCharacterType>
-
- org.xwiki.rendering.wikimodel.xhtml.XhtmlCharacterType
-
- All Implemented Interfaces:
Serializable
,Comparable<XhtmlCharacterType>
public enum XhtmlCharacterType extends Enum<XhtmlCharacterType>
- Since:
- 4.0M1
- Version:
- $Id: aa373be1bb9ac42da82a77fb68c774afbf3117ee $
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHARACTER
ESCAPED
NEW_LINE
SPACE
SPECIAL_SYMBOL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static XhtmlCharacterType
valueOf(String name)
Returns the enum constant of this type with the specified name.static XhtmlCharacterType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SPECIAL_SYMBOL
public static final XhtmlCharacterType SPECIAL_SYMBOL
-
CHARACTER
public static final XhtmlCharacterType CHARACTER
-
SPACE
public static final XhtmlCharacterType SPACE
-
NEW_LINE
public static final XhtmlCharacterType NEW_LINE
-
ESCAPED
public static final XhtmlCharacterType ESCAPED
-
-
Method Detail
-
values
public static XhtmlCharacterType[] 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 (XhtmlCharacterType c : XhtmlCharacterType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static XhtmlCharacterType 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 nameNullPointerException
- if the argument is null
-
-