Package org.xwiki.rendering.parser
Class AbstractHighlightParser
- java.lang.Object
-
- 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: ba01a89f6d98bf29d15c81ab377f77f76c99814f $
-
-
Constructor Summary
Constructors Constructor Description AbstractHighlightParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Method Detail
-
parse
public org.xwiki.rendering.block.XDOM parse(Reader source) throws org.xwiki.rendering.parser.ParseException
- Specified by:
parse
in interfaceorg.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.
-
-