Class InlinedOutputExpressionMarkupHandler

  • 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

    final class InlinedOutputExpressionMarkupHandler
    extends org.attoparser.AbstractChainedMarkupHandler
    • 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 handleAutoCloseElementEnd​(char[] buffer, int nameOffset, int nameLen, int line, int col)  
      void handleAutoCloseElementStart​(char[] buffer, int nameOffset, int nameLen, int line, int col)  
      void handleAutoOpenElementEnd​(char[] buffer, int nameOffset, int nameLen, int line, int col)  
      void handleAutoOpenElementStart​(char[] buffer, int nameOffset, int nameLen, int line, int col)  
      void handleCloseElementEnd​(char[] buffer, int nameOffset, int nameLen, int line, int col)  
      void handleCloseElementStart​(char[] buffer, int nameOffset, int nameLen, int line, int col)  
      void handleOpenElementEnd​(char[] buffer, int nameOffset, int nameLen, int line, int col)  
      void handleOpenElementStart​(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 handleStandaloneElementStart​(char[] buffer, int nameOffset, int nameLen, boolean minimized, int line, int col)  
      void handleText​(char[] buffer, int offset, int len, int line, int col)  
      • Methods inherited from class org.attoparser.AbstractChainedMarkupHandler

        getNext, handleCDATASection, handleComment, handleDocType, handleDocumentEnd, handleDocumentStart, handleInnerWhiteSpace, handleProcessingInstruction, handleUnmatchedCloseElementEnd, handleUnmatchedCloseElementStart, handleXmlDeclaration, setParseConfiguration, setParseSelection, setParseStatus
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InlinedOutputExpressionMarkupHandler

        InlinedOutputExpressionMarkupHandler​(IEngineConfiguration configuration,
                                             TemplateMode templateMode,
                                             java.lang.String standardDialectPrefix,
                                             org.attoparser.IMarkupHandler handler)
    • Method Detail

      • handleText

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

        public void handleStandaloneElementStart​(char[] buffer,
                                                 int nameOffset,
                                                 int nameLen,
                                                 boolean minimized,
                                                 int line,
                                                 int col)
                                          throws org.attoparser.ParseException
        Specified by:
        handleStandaloneElementStart in interface org.attoparser.IElementHandler
        Overrides:
        handleStandaloneElementStart in class org.attoparser.AbstractChainedMarkupHandler
        Throws:
        org.attoparser.ParseException
      • 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
      • handleOpenElementStart

        public void handleOpenElementStart​(char[] buffer,
                                           int nameOffset,
                                           int nameLen,
                                           int line,
                                           int col)
                                    throws org.attoparser.ParseException
        Specified by:
        handleOpenElementStart in interface org.attoparser.IElementHandler
        Overrides:
        handleOpenElementStart 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
      • handleAutoOpenElementStart

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

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

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

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

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

        public void handleAutoCloseElementEnd​(char[] buffer,
                                              int nameOffset,
                                              int nameLen,
                                              int line,
                                              int col)
                                       throws org.attoparser.ParseException
        Specified by:
        handleAutoCloseElementEnd in interface org.attoparser.IElementHandler
        Overrides:
        handleAutoCloseElementEnd 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