Class 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 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.