org.eclipse.mylyn.wikitext.core.parser
Enum DocumentBuilder.BlockType

java.lang.Object
  extended by java.lang.Enum<DocumentBuilder.BlockType>
      extended by org.eclipse.mylyn.wikitext.core.parser.DocumentBuilder.BlockType
All Implemented Interfaces:
Serializable, Comparable<DocumentBuilder.BlockType>
Enclosing class:
DocumentBuilder

public static enum DocumentBuilder.BlockType
extends Enum<DocumentBuilder.BlockType>


Enum Constant Summary
BULLETED_LIST
           
CODE
           
DEFINITION_ITEM
           
DEFINITION_LIST
           
DEFINITION_TERM
           
DIV
          a content delimiter with no meaning
FOOTNOTE
           
INFORMATION
          A text box that contains information
LIST_ITEM
           
NOTE
          A text box that contains a note
NUMERIC_LIST
           
PANEL
          A text box
PARAGRAPH
           
PREFORMATTED
           
QUOTE
           
TABLE
           
TABLE_CELL_HEADER
           
TABLE_CELL_NORMAL
           
TABLE_ROW
           
TIP
          A text box that contains a helpful tip
WARNING
          A text box that contains a warning
 
Method Summary
static DocumentBuilder.BlockType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DocumentBuilder.BlockType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PARAGRAPH

public static final DocumentBuilder.BlockType PARAGRAPH

TIP

public static final DocumentBuilder.BlockType TIP
A text box that contains a helpful tip


WARNING

public static final DocumentBuilder.BlockType WARNING
A text box that contains a warning


INFORMATION

public static final DocumentBuilder.BlockType INFORMATION
A text box that contains information


NOTE

public static final DocumentBuilder.BlockType NOTE
A text box that contains a note


PANEL

public static final DocumentBuilder.BlockType PANEL
A text box


DIV

public static final DocumentBuilder.BlockType DIV
a content delimiter with no meaning

Since:
1.1

FOOTNOTE

public static final DocumentBuilder.BlockType FOOTNOTE

QUOTE

public static final DocumentBuilder.BlockType QUOTE

CODE

public static final DocumentBuilder.BlockType CODE

PREFORMATTED

public static final DocumentBuilder.BlockType PREFORMATTED

NUMERIC_LIST

public static final DocumentBuilder.BlockType NUMERIC_LIST

BULLETED_LIST

public static final DocumentBuilder.BlockType BULLETED_LIST

LIST_ITEM

public static final DocumentBuilder.BlockType LIST_ITEM

TABLE

public static final DocumentBuilder.BlockType TABLE

TABLE_ROW

public static final DocumentBuilder.BlockType TABLE_ROW

TABLE_CELL_HEADER

public static final DocumentBuilder.BlockType TABLE_CELL_HEADER

TABLE_CELL_NORMAL

public static final DocumentBuilder.BlockType TABLE_CELL_NORMAL

DEFINITION_LIST

public static final DocumentBuilder.BlockType DEFINITION_LIST

DEFINITION_TERM

public static final DocumentBuilder.BlockType DEFINITION_TERM

DEFINITION_ITEM

public static final DocumentBuilder.BlockType DEFINITION_ITEM
Method Detail

values

public static DocumentBuilder.BlockType[] 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.BlockType c : DocumentBuilder.BlockType.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.BlockType 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.