org.wikimodel.wem
Interface IWemListenerDocument

All Known Subinterfaces:
IWemListener
All Known Implementing Classes:
CompositeListener, EmptyWemListener, EventDumpListener, JspWikiSerializer, PrintInlineListener, PrintListener, PrintTextListener, TexSerializer, XWikiSerializer

public interface IWemListenerDocument

Instances of this type are used to notify about parsed documents. This listener is called for top-level documents as well as for "embedded" documents found in the main document.

Author:
kotelnikov

Method Summary
 void beginDocument()
          This method is called to notify about the beginning of the top-level parsed document or about the beginning of an embedded document (contained in the main one).
 void beginHeader(int level, WikiParameters params)
          This method is called to notify about a new section header found in the document.
 void endDocument()
          This method is used to notify about the end of a top-level or an internal document.
 void endHeader(int level, WikiParameters params)
          This method is called to notify about the end of a section-level header.
 

Method Detail

beginDocument

void beginDocument()
This method is called to notify about the beginning of the top-level parsed document or about the beginning of an embedded document (contained in the main one).


beginHeader

void beginHeader(int level,
                 WikiParameters params)
This method is called to notify about a new section header found in the document.

Parameters:
level - the level of the found header; valid values: 1-6
params - wiki parameters associated with the

endDocument

void endDocument()
This method is used to notify about the end of a top-level or an internal document.


endHeader

void endHeader(int level,
               WikiParameters params)
This method is called to notify about the end of a section-level header.

Parameters:
level - the level of the header
params - wiki parameters of the header


Copyright © 2005-2009. All Rights Reserved.