Class DecoupledTemplateLogicMarkupHandler

  • All Implemented Interfaces:
    org.attoparser.IAttributeSequenceHandler, org.attoparser.ICDATASectionHandler, org.attoparser.ICommentHandler, org.attoparser.IDocTypeHandler, org.attoparser.IDocumentHandler, org.attoparser.IElementHandler, org.attoparser.IMarkupHandler, org.attoparser.IProcessingInstructionHandler, org.attoparser.ITextHandler, org.attoparser.IXMLDeclarationHandler

    public final class DecoupledTemplateLogicMarkupHandler
    extends org.attoparser.AbstractChainedMarkupHandler
    Since:
    3.0.0
    Author:
    Daniel Fernández
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void handleAttribute(char[] buffer, int nameOffset, int nameLen, int nameLine, int nameCol, int operatorOffset, int operatorLen, int operatorLine, int operatorCol, int valueContentOffset, int valueContentLen, int valueOuterOffset, int valueOuterLen, int valueLine, int valueCol)  
      void handleInnerWhiteSpace(char[] buffer, int offset, int len, int line, int col)  
      void handleOpenElementEnd(char[] buffer, int nameOffset, int nameLen, int line, int col)  
      void handleStandaloneElementEnd(char[] buffer, int nameOffset, int nameLen, boolean minimized, int line, int col)  
      void setParseSelection(org.attoparser.select.ParseSelection selection)  
      • Methods inherited from class org.attoparser.AbstractChainedMarkupHandler

        getNext, handleAutoCloseElementEnd, handleAutoCloseElementStart, handleAutoOpenElementEnd, handleAutoOpenElementStart, handleCDATASection, handleCloseElementEnd, handleCloseElementStart, handleComment, handleDocType, handleDocumentEnd, handleDocumentStart, handleOpenElementStart, handleProcessingInstruction, handleStandaloneElementStart, handleText, handleUnmatchedCloseElementEnd, handleUnmatchedCloseElementStart, handleXmlDeclaration, setParseConfiguration, setParseStatus
    • Constructor Detail

      • DecoupledTemplateLogicMarkupHandler

        public DecoupledTemplateLogicMarkupHandler(DecoupledTemplateLogic decoupledTemplateLogic,
                                                   org.attoparser.IMarkupHandler handler)
    • Method Detail

      • setParseSelection

        public void setParseSelection(org.attoparser.select.ParseSelection selection)
        Specified by:
        setParseSelection in interface org.attoparser.IMarkupHandler
        Overrides:
        setParseSelection in class org.attoparser.AbstractChainedMarkupHandler
      • handleStandaloneElementEnd

        public void handleStandaloneElementEnd(char[] buffer,
                                               int nameOffset,
                                               int nameLen,
                                               boolean minimized,
                                               int line,
                                               int col)
                                        throws org.attoparser.ParseException
        Specified by:
        handleStandaloneElementEnd in interface org.attoparser.IElementHandler
        Overrides:
        handleStandaloneElementEnd in class org.attoparser.AbstractChainedMarkupHandler
        Throws:
        org.attoparser.ParseException
      • handleOpenElementEnd

        public void handleOpenElementEnd(char[] buffer,
                                         int nameOffset,
                                         int nameLen,
                                         int line,
                                         int col)
                                  throws org.attoparser.ParseException
        Specified by:
        handleOpenElementEnd in interface org.attoparser.IElementHandler
        Overrides:
        handleOpenElementEnd in class org.attoparser.AbstractChainedMarkupHandler
        Throws:
        org.attoparser.ParseException
      • handleInnerWhiteSpace

        public void handleInnerWhiteSpace(char[] buffer,
                                          int offset,
                                          int len,
                                          int line,
                                          int col)
                                   throws org.attoparser.ParseException
        Specified by:
        handleInnerWhiteSpace in interface org.attoparser.IAttributeSequenceHandler
        Overrides:
        handleInnerWhiteSpace in class org.attoparser.AbstractChainedMarkupHandler
        Throws:
        org.attoparser.ParseException
      • handleAttribute

        public void handleAttribute(char[] buffer,
                                    int nameOffset,
                                    int nameLen,
                                    int nameLine,
                                    int nameCol,
                                    int operatorOffset,
                                    int operatorLen,
                                    int operatorLine,
                                    int operatorCol,
                                    int valueContentOffset,
                                    int valueContentLen,
                                    int valueOuterOffset,
                                    int valueOuterLen,
                                    int valueLine,
                                    int valueCol)
                             throws org.attoparser.ParseException
        Specified by:
        handleAttribute in interface org.attoparser.IAttributeSequenceHandler
        Overrides:
        handleAttribute in class org.attoparser.AbstractChainedMarkupHandler
        Throws:
        org.attoparser.ParseException