public static enum DocumentBuilder.SpanType extends java.lang.Enum<DocumentBuilder.SpanType>
Enum Constant and Description |
---|
BOLD |
CITATION |
CODE |
DELETED |
EMPHASIS |
INSERTED |
ITALIC |
LINK
a hyperlink
|
MONOSPACE |
QUOTE
a short inline quotation
|
SPAN |
STRONG |
SUBSCRIPT |
SUPERSCRIPT |
UNDERLINED |
Modifier and Type | Method and Description |
---|---|
static DocumentBuilder.SpanType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DocumentBuilder.SpanType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentBuilder.SpanType EMPHASIS
public static final DocumentBuilder.SpanType STRONG
public static final DocumentBuilder.SpanType ITALIC
public static final DocumentBuilder.SpanType BOLD
public static final DocumentBuilder.SpanType CITATION
public static final DocumentBuilder.SpanType DELETED
public static final DocumentBuilder.SpanType INSERTED
public static final DocumentBuilder.SpanType SUPERSCRIPT
public static final DocumentBuilder.SpanType SUBSCRIPT
public static final DocumentBuilder.SpanType SPAN
public static final DocumentBuilder.SpanType CODE
public static final DocumentBuilder.SpanType MONOSPACE
public static final DocumentBuilder.SpanType UNDERLINED
public static final DocumentBuilder.SpanType QUOTE
public static final DocumentBuilder.SpanType LINK
public static DocumentBuilder.SpanType[] values()
for (DocumentBuilder.SpanType c : DocumentBuilder.SpanType.values()) System.out.println(c);
public static DocumentBuilder.SpanType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2007, 2013 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