org.eclipse.mylyn.wikitext.core.parser
Enum DocumentBuilder.SpanType
java.lang.Object
java.lang.Enum<DocumentBuilder.SpanType>
org.eclipse.mylyn.wikitext.core.parser.DocumentBuilder.SpanType
- All Implemented Interfaces:
- Serializable, Comparable<DocumentBuilder.SpanType>
- Enclosing class:
- DocumentBuilder
public static enum DocumentBuilder.SpanType
- extends Enum<DocumentBuilder.SpanType>
EMPHASIS
public static final DocumentBuilder.SpanType EMPHASIS
STRONG
public static final DocumentBuilder.SpanType STRONG
ITALIC
public static final DocumentBuilder.SpanType ITALIC
BOLD
public static final DocumentBuilder.SpanType BOLD
CITATION
public static final DocumentBuilder.SpanType CITATION
DELETED
public static final DocumentBuilder.SpanType DELETED
INSERTED
public static final DocumentBuilder.SpanType INSERTED
SUPERSCRIPT
public static final DocumentBuilder.SpanType SUPERSCRIPT
SUBSCRIPT
public static final DocumentBuilder.SpanType SUBSCRIPT
SPAN
public static final DocumentBuilder.SpanType SPAN
CODE
public static final DocumentBuilder.SpanType CODE
MONOSPACE
public static final DocumentBuilder.SpanType MONOSPACE
UNDERLINED
public static final DocumentBuilder.SpanType UNDERLINED
QUOTE
public static final DocumentBuilder.SpanType QUOTE
- a short inline quotation
- Since:
- 1.1
LINK
public static final DocumentBuilder.SpanType LINK
- a hyperlink
- Since:
- 1.2
values
public static DocumentBuilder.SpanType[] 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 (DocumentBuilder.SpanType c : DocumentBuilder.SpanType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DocumentBuilder.SpanType 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 © 2011 FuseSource, Corp.. All Rights Reserved.