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
values
public static final DocumentBuilder.SpanType[] values()
- Returns an array containing the constants of this enum type, in
the order they're 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're 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
Copyright © 2007, 2009 David Green and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html