Class TemplateParser.TemplateParserContext

    • Constructor Detail

      • TemplateParserContext

        public TemplateParserContext()
    • Method Detail

      • getTemplate

        public Template getTemplate()
      • onStartElement

        public void onStartElement​(String name,
                                   AttributeList attList,
                                   boolean endSlash)
        Description copied from interface: DocumentHandler
        Receive notification of the beginning of an element.
        Specified by:
        onStartElement in interface DocumentHandler
        Parameters:
        name - tag name
        attList - attribute list
        endSlash - flag indicating whether the element is closed with an ending slash (xhtml-compliant)
      • onEndElement

        public void onEndElement​(String name)
        Description copied from interface: DocumentHandler
        Receive notification of the end of an element.
        Specified by:
        onEndElement in interface DocumentHandler
        Parameters:
        name - tag name
      • onCharacters

        public void onCharacters​(char[] ch,
                                 int off,
                                 int len)
        Description copied from interface: DocumentHandler
        Receive notification of unparsed character data.
        Specified by:
        onCharacters in interface DocumentHandler
        Parameters:
        ch - the character buffer
        off - the offset
        len - the length of the unparsed character data