org.xwiki.rendering.parser
Class AbstractHighlightParser

java.lang.Object
  extended by org.xwiki.rendering.parser.AbstractHighlightParser
All Implemented Interfaces:
HighlightParser, org.xwiki.rendering.parser.Parser

public abstract class AbstractHighlightParser
extends Object
implements HighlightParser

Base class for a highlight parser.

Since:
1.7RC1
Version:
$Id$

Constructor Summary
AbstractHighlightParser()
           
 
Method Summary
protected  String getSyntaxId()
           
 org.xwiki.rendering.block.XDOM parse(Reader source)
           
protected  void setSyntaxId(String syntaxId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.xwiki.rendering.parser.HighlightParser
highlight
 
Methods inherited from interface org.xwiki.rendering.parser.Parser
getSyntax
 

Constructor Detail

AbstractHighlightParser

public AbstractHighlightParser()
Method Detail

parse

public org.xwiki.rendering.block.XDOM parse(Reader source)
                                     throws org.xwiki.rendering.parser.ParseException
Specified by:
parse in interface org.xwiki.rendering.parser.Parser
Throws:
org.xwiki.rendering.parser.ParseException

setSyntaxId

protected void setSyntaxId(String syntaxId)
Parameters:
syntaxId - the syntax identifier.

getSyntaxId

protected String getSyntaxId()
Returns:
the syntax identifier.


Copyright © 2004-2012 XWiki. All Rights Reserved.