org.wikimodel.wem.xml
Class WemSemanticTagNotifier

java.lang.Object
  extended by org.wikimodel.wem.xml.AbstractTagNotifier
      extended by org.wikimodel.wem.xml.WemSemanticTagNotifier
All Implemented Interfaces:
IWemListenerSemantic, ISaxConst

public class WemSemanticTagNotifier
extends AbstractTagNotifier
implements IWemListenerSemantic

Author:
kotelnikov

Field Summary
 
Fields inherited from class org.wikimodel.wem.xml.AbstractTagNotifier
EMPTY_MAP, fListener
 
Fields inherited from interface org.wikimodel.wem.xml.ISaxConst
DEFINITION_DESCRIPTION, DEFINITION_LIST, DEFINITION_TERM, DOCUMENT, EMPTY_LINES, EMPTY_LINES_SIZE, ESCAPE, EXTENSION_BLOCK, EXTENSION_INLINE, EXTENSION_NAME, FORMAT, HEADER, HEADER_LEVEL, HORIZONTAL_LINE, IMAGE, IMAGE_IMPLICIT, INFO_BLOCK, INFO_BLOCK_TYPE, LINE_BREAK, LIST_ITEM, LIST_ORDERED, LIST_UNORDERED, MACRO_BLOCK, MACRO_INLINE, MACRO_NAME, NEW_LINE, PARAGRAPH, PROPERTY_BLOCK, PROPERTY_DOC, PROPERTY_INLINE, PROPERTY_URL, QUOTATION, QUOTATION_LINE, REF_EXPLICIT, REF_IMPLICIT, SECTION, SECTION_CONTENT, SECTION_DOC_LEVEL, SECTION_HEADER_LEVEL, SECTION_LEVEL, STYLES, TABLE, TABLE_CAPTION, TABLE_CAPTION_PARAM, TABLE_CELL, TABLE_HEAD, TABLE_ROW, VERBATIM_BLOCK, VERBATIM_INLINE
 
Constructor Summary
WemSemanticTagNotifier(ITagListener listener)
           
 
Method Summary
 void beginPropertyBlock(java.lang.String propertyUri, boolean doc)
          This method is called to notify about the beginning of a new property found in the parsed document.
 void beginPropertyInline(java.lang.String propertyUri)
          This method is called to notify about the beginning of a new inline property found in the text of the parsed document.
 void endPropertyBlock(java.lang.String propertyUri, boolean doc)
          This method is called to notify about the end of a block property found in the parsed document.
 void endPropertyInline(java.lang.String propertyUri)
          This method is called to notify about the end of an inline property found in the text of the parsed document.
 
Methods inherited from class org.wikimodel.wem.xml.AbstractTagNotifier
newParamMap, tagParams, tagParams, tagParams, tagParams, userParams, userParams, userParams
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WemSemanticTagNotifier

public WemSemanticTagNotifier(ITagListener listener)
Parameters:
listener -
Method Detail

beginPropertyBlock

public void beginPropertyBlock(java.lang.String propertyUri,
                               boolean doc)
Description copied from interface: IWemListenerSemantic
This method is called to notify about the beginning of a new property found in the parsed document.

Specified by:
beginPropertyBlock in interface IWemListenerSemantic
Parameters:
propertyUri - the URI of the semantic block property found in the document
doc - this flag is true if the found property contains a whole document; if this flag is false then expected property value contains a paragraph

beginPropertyInline

public void beginPropertyInline(java.lang.String propertyUri)
Description copied from interface: IWemListenerSemantic
This method is called to notify about the beginning of a new inline property found in the text of the parsed document.

Specified by:
beginPropertyInline in interface IWemListenerSemantic
Parameters:
propertyUri - the URI of the semantic inline property found in the document

endPropertyBlock

public void endPropertyBlock(java.lang.String propertyUri,
                             boolean doc)
Description copied from interface: IWemListenerSemantic
This method is called to notify about the end of a block property found in the parsed document.

Specified by:
endPropertyBlock in interface IWemListenerSemantic
Parameters:
propertyUri - the URI of the semantic block property found in the document
doc - this flag is true if the found property contains a whole document; otherwise (if this flag is false) the value of the property is a simple paragraph

endPropertyInline

public void endPropertyInline(java.lang.String propertyUri)
Description copied from interface: IWemListenerSemantic
This method is called to notify about the end of an inline property found in the text of the parsed document.

Specified by:
endPropertyInline in interface IWemListenerSemantic
Parameters:
propertyUri - the URI of the semantic inline property found in the document


Copyright © 2005-2010. All Rights Reserved.