org.wikimodel.wem.impl
Interface IWikiScannerContext

All Superinterfaces:
IWemConstants
All Known Implementing Classes:
ConfluenceInternalWikiScannerContext, ConfluenceWikiScannerContext, InternalWikiScannerContext, WikiScannerContext

public interface IWikiScannerContext
extends IWemConstants

Author:
MikhailKotelnikov, thomas.mortagne

Field Summary
 
Fields inherited from interface org.wikimodel.wem.IWemConstants
BIG, CITE, CODE, DEL, EM, INS, MONO, REF, SMALL, STRIKE, STRONG, SUB, SUP, TT
 
Method Summary
 void beginDocument()
           
 void beginDocument(WikiParameters params)
           
 void beginFormat(WikiParameters params)
           
 void beginFormat(WikiStyle wikiStyle)
           
 void beginHeader(int level)
           
 void beginHeader(int level, WikiParameters params)
           
 void beginInfo(java.lang.String type, WikiParameters params)
           
 void beginList()
           
 void beginList(WikiParameters params)
           
 void beginListItem(java.lang.String item)
           
 void beginListItem(java.lang.String item, WikiParameters params)
           
 void beginParagraph()
           
 void beginParagraph(WikiParameters params)
           
 void beginPropertyBlock(java.lang.String property, boolean doc)
           
 void beginPropertyInline(java.lang.String str)
           
 void beginQuot()
           
 void beginQuot(WikiParameters params)
           
 void beginQuotLine(int depth)
           
 void beginTable()
           
 void beginTable(WikiParameters params)
           
 void beginTableCell(boolean headCell)
           
 void beginTableCell(boolean headCell, WikiParameters params)
           
 void beginTableRow(boolean headCell)
          Starts a new table row and adds the first cell to the table.
 void beginTableRow(boolean head, WikiParameters rowParams, WikiParameters cellParams)
          Starts a new table row and adds the first cell to the table.
 void beginTableRow(WikiParameters rowParams)
          Starts a new table row (but doesn't add a cell).
 boolean canApplyDefintionSplitter()
           
 boolean checkFormatStyle(WikiStyle style)
           
 void closeBlock()
           
 void endDocument()
           
 void endFormat(WikiParameters params)
           
 void endFormat(WikiStyle wikiStyle)
           
 void endHeader()
           
 void endInfo()
           
 void endList()
           
 void endListItem()
           
 void endParagraph()
           
 void endPropertyBlock()
           
 void endPropertyInline()
           
 void endQuot()
           
 void endQuotLine()
           
 void endTable()
           
 void endTableCell()
           
 void endTableExplicit()
           
 void endTableRow()
           
 InlineState getInlineState()
           
 int getTableCellCounter()
           
 int getTableRowCounter()
           
 boolean isInDefinitionList()
           
 boolean isInDefinitionTerm()
           
 boolean isInHeader()
           
 boolean isInInlineProperty()
           
 boolean isInList()
           
 boolean isInTable()
           
 boolean isInTableCell()
           
 boolean isInTableRow()
           
 void onDefinitionListItemSplit()
           
 void onEmptyLines(int count)
           
 void onEscape(java.lang.String str)
           
 void onExtensionBlock(java.lang.String extensionName, WikiParameters params)
           
 void onExtensionInline(java.lang.String extensionName, WikiParameters params)
           
 void onFormat(WikiParameters params)
           
 void onFormat(WikiStyle wikiStyle)
           
 void onFormat(WikiStyle wikiStyle, boolean forceClose)
           
 void onHorizontalLine()
           
 void onHorizontalLine(WikiParameters params)
           
 void onImage(java.lang.String ref)
           
 void onImage(WikiReference ref)
           
 void onLineBreak()
           
 void onMacro(java.lang.String name, WikiParameters params, java.lang.String content)
           
 void onMacro(java.lang.String macroName, WikiParameters params, java.lang.String content, boolean inline)
           
 void onMacroBlock(java.lang.String macroName, WikiParameters params, java.lang.String content)
           
 void onMacroInline(java.lang.String macroName, WikiParameters params, java.lang.String content)
           
 void onNewLine()
           
 void onQuotLine(int depth)
           
 void onReference(java.lang.String ref)
           
 void onReference(WikiReference ref)
           
 void onSpace(java.lang.String str)
           
 void onSpecialSymbol(java.lang.String str)
           
 void onTableCaption(java.lang.String str)
           
 void onTableCell(boolean headCell)
           
 void onTableCell(boolean head, WikiParameters cellParams)
           
 void onTableRow(WikiParameters params)
          Explicitly starts a new table row.
 void onVerbatim(java.lang.String str, boolean inline)
           
 void onVerbatim(java.lang.String str, boolean inline, WikiParameters params)
           
 void onVerbatim(java.lang.String str, WikiParameters params)
           
 void onWord(java.lang.String str)
           
 

Method Detail

beginDocument

void beginDocument()

beginDocument

void beginDocument(WikiParameters params)

beginHeader

void beginHeader(int level)

beginHeader

void beginHeader(int level,
                 WikiParameters params)

beginInfo

void beginInfo(java.lang.String type,
               WikiParameters params)

beginList

void beginList()

beginList

void beginList(WikiParameters params)

beginListItem

void beginListItem(java.lang.String item)

beginListItem

void beginListItem(java.lang.String item,
                   WikiParameters params)

beginParagraph

void beginParagraph()

beginParagraph

void beginParagraph(WikiParameters params)

beginPropertyBlock

void beginPropertyBlock(java.lang.String property,
                        boolean doc)

beginPropertyInline

void beginPropertyInline(java.lang.String str)

beginQuot

void beginQuot()

beginQuot

void beginQuot(WikiParameters params)

beginQuotLine

void beginQuotLine(int depth)

beginTable

void beginTable()

beginTable

void beginTable(WikiParameters params)

beginTableCell

void beginTableCell(boolean headCell)

beginTableCell

void beginTableCell(boolean headCell,
                    WikiParameters params)

beginTableRow

void beginTableRow(boolean headCell)
Starts a new table row and adds the first cell to the table.

Parameters:
headCell - if this parameter is true then this method starts the header cell at the beginning of the line

beginTableRow

void beginTableRow(boolean head,
                   WikiParameters rowParams,
                   WikiParameters cellParams)
Starts a new table row and adds the first cell to the table.

Parameters:
head - if this parameter is true then this method starts the header cell at the beginning of the line
rowParams - parameters of the row
cellParams - parameters of the first row cell

beginTableRow

void beginTableRow(WikiParameters rowParams)
Starts a new table row (but doesn't add a cell).


canApplyDefintionSplitter

boolean canApplyDefintionSplitter()

checkFormatStyle

boolean checkFormatStyle(WikiStyle style)

closeBlock

void closeBlock()

endDocument

void endDocument()

endHeader

void endHeader()

endInfo

void endInfo()

endList

void endList()

endListItem

void endListItem()

endParagraph

void endParagraph()

endPropertyBlock

void endPropertyBlock()

endPropertyInline

void endPropertyInline()

endQuot

void endQuot()

endQuotLine

void endQuotLine()

endTable

void endTable()

endTableCell

void endTableCell()

endTableExplicit

void endTableExplicit()

endTableRow

void endTableRow()

getInlineState

InlineState getInlineState()

getTableCellCounter

int getTableCellCounter()

getTableRowCounter

int getTableRowCounter()

isInDefinitionList

boolean isInDefinitionList()

isInDefinitionTerm

boolean isInDefinitionTerm()

isInHeader

boolean isInHeader()

isInInlineProperty

boolean isInInlineProperty()

isInList

boolean isInList()

isInTable

boolean isInTable()

isInTableCell

boolean isInTableCell()

isInTableRow

boolean isInTableRow()

onDefinitionListItemSplit

void onDefinitionListItemSplit()

onEmptyLines

void onEmptyLines(int count)

onEscape

void onEscape(java.lang.String str)

onExtensionBlock

void onExtensionBlock(java.lang.String extensionName,
                      WikiParameters params)

onExtensionInline

void onExtensionInline(java.lang.String extensionName,
                       WikiParameters params)

onFormat

void onFormat(WikiParameters params)

onFormat

void onFormat(WikiStyle wikiStyle)

beginFormat

void beginFormat(WikiParameters params)

beginFormat

void beginFormat(WikiStyle wikiStyle)

endFormat

void endFormat(WikiParameters params)

endFormat

void endFormat(WikiStyle wikiStyle)

onFormat

void onFormat(WikiStyle wikiStyle,
              boolean forceClose)
See Also:
WikiScannerContext.onFormat(org.wikimodel.wem.WikiStyle, boolean)

onHorizontalLine

void onHorizontalLine()

onHorizontalLine

void onHorizontalLine(WikiParameters params)

onImage

void onImage(java.lang.String ref)

onImage

void onImage(WikiReference ref)

onLineBreak

void onLineBreak()

onMacro

void onMacro(java.lang.String name,
             WikiParameters params,
             java.lang.String content)

onMacro

void onMacro(java.lang.String macroName,
             WikiParameters params,
             java.lang.String content,
             boolean inline)

onMacroBlock

void onMacroBlock(java.lang.String macroName,
                  WikiParameters params,
                  java.lang.String content)

onMacroInline

void onMacroInline(java.lang.String macroName,
                   WikiParameters params,
                   java.lang.String content)

onNewLine

void onNewLine()

onQuotLine

void onQuotLine(int depth)

onReference

void onReference(java.lang.String ref)

onReference

void onReference(WikiReference ref)

onSpace

void onSpace(java.lang.String str)

onSpecialSymbol

void onSpecialSymbol(java.lang.String str)

onTableCaption

void onTableCaption(java.lang.String str)

onTableCell

void onTableCell(boolean headCell)

onTableCell

void onTableCell(boolean head,
                 WikiParameters cellParams)

onTableRow

void onTableRow(WikiParameters params)
Explicitly starts a new table row. This method should not create a new cell at the beginning of the line. To automatically create the first row cell the methods beginTableCell(boolean) or beginTableRow(boolean, WikiParameters, WikiParameters) should be used.

Parameters:
rowParameters -

onVerbatim

void onVerbatim(java.lang.String str,
                WikiParameters params)

onVerbatim

void onVerbatim(java.lang.String str,
                boolean inline)
See Also:
WikiScannerContext.onVerbatim(java.lang.String, boolean)

onVerbatim

void onVerbatim(java.lang.String str,
                boolean inline,
                WikiParameters params)

onWord

void onWord(java.lang.String str)


Copyright © 2005-2010. All Rights Reserved.