public enum EventType extends Enum<EventType>
Modifier and Type | Method and Description |
---|---|
abstract void |
fireEvent(Listener listener,
Object... eventParameters)
Calls an event method on the passed listener with the passed parameters.
|
boolean |
isInlineEnd() |
static EventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventType BEGIN_DOCUMENT
public static final EventType END_DOCUMENT
public static final EventType BEGIN_GROUP
Listener.beginGroup(java.util.Map)
public static final EventType END_GROUP
Listener.endGroup(java.util.Map)
public static final EventType BEGIN_PARAGRAPH
Listener.beginParagraph(java.util.Map)
public static final EventType END_PARAGRAPH
Listener.endParagraph(java.util.Map)
public static final EventType BEGIN_DEFINITION_LIST
public static final EventType END_DEFINITION_LIST
public static final EventType BEGIN_DEFINITION_TERM
Listener.beginDefinitionTerm()
public static final EventType END_DEFINITION_TERM
Listener.endDefinitionTerm()
public static final EventType BEGIN_DEFINITION_DESCRIPTION
Listener.beginDefinitionDescription()
public static final EventType END_DEFINITION_DESCRIPTION
Listener.endDefinitionDescription()
public static final EventType BEGIN_FORMAT
public static final EventType END_FORMAT
public static final EventType BEGIN_HEADER
public static final EventType END_HEADER
public static final EventType BEGIN_LINK
public static final EventType END_LINK
public static final EventType BEGIN_LIST
public static final EventType END_LIST
public static final EventType BEGIN_LIST_ITEM
Listener.beginListItem()
public static final EventType END_LIST_ITEM
Listener.endListItem()
public static final EventType BEGIN_MACRO_MARKER
public static final EventType END_MACRO_MARKER
public static final EventType BEGIN_QUOTATION
Listener.beginQuotation(java.util.Map)
public static final EventType END_QUOTATION
Listener.endQuotation(java.util.Map)
public static final EventType BEGIN_QUOTATION_LINE
Listener.beginQuotationLine()
public static final EventType END_QUOTATION_LINE
Listener.endQuotationLine()
public static final EventType BEGIN_SECTION
Listener.beginSection(java.util.Map)
public static final EventType END_SECTION
Listener.endSection(java.util.Map)
public static final EventType BEGIN_TABLE
Listener.beginTable(java.util.Map)
public static final EventType END_TABLE
Listener.endTable(java.util.Map)
public static final EventType BEGIN_TABLE_CELL
Listener.beginTableCell(java.util.Map)
public static final EventType END_TABLE_CELL
Listener.endTableCell(java.util.Map)
public static final EventType BEGIN_TABLE_HEAD_CELL
public static final EventType END_TABLE_HEAD_CELL
Listener.endTableHeadCell(java.util.Map)
public static final EventType BEGIN_TABLE_ROW
Listener.beginTableRow(java.util.Map)
public static final EventType END_TABLE_ROW
Listener.endTableRow(java.util.Map)
public static final EventType BEGIN_METADATA
public static final EventType END_METADATA
public static final EventType ON_RAW_TEXT
public static final EventType ON_EMPTY_LINES
Listener.onEmptyLines(int)
public static final EventType ON_HORIZONTAL_LINE
Listener.onHorizontalLine(java.util.Map)
public static final EventType ON_ID
Listener.onId(String)
public static final EventType ON_IMAGE
public static final EventType ON_MACRO
public static final EventType ON_NEW_LINE
Listener.onNewLine()
public static final EventType ON_SPACE
Listener.onSpace()
public static final EventType ON_SPECIAL_SYMBOL
Listener.onSpecialSymbol(char)
public static final EventType ON_VERBATIM
public static final EventType ON_WORD
Listener.onWord(String)
public static final EventType BEGIN_FIGURE
Listener.beginFigure(Map)
public static final EventType BEGIN_FIGURE_CAPTION
Listener.beginFigureCaption(Map)
public static final EventType END_FIGURE
Listener.endFigure(Map)
public static final EventType END_FIGURE_CAPTION
Listener.endFigureCaption(Map)
public static EventType[] values()
for (EventType c : EventType.values()) System.out.println(c);
public static EventType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract void fireEvent(Listener listener, Object... eventParameters)
listener
- the listener to calleventParameters
- the parameters to use when calling the event method on the passed listenerpublic boolean isInlineEnd()
Copyright © 2004–2021 XWiki. All rights reserved.