Class NamedComponentParser

  • 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 class NamedComponentParser
    extends org.attoparser.AbstractMarkupHandler
    • 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 handleOpenElementStart​(char[] buffer, int nameOffset, int nameLen, int line, int col)  
      Set<NamedComponentDefinition> parseComponent​(String componentName)  
      • Methods inherited from class org.attoparser.AbstractMarkupHandler

        handleAutoCloseElementEnd, handleAutoCloseElementStart, handleAutoOpenElementEnd, handleAutoOpenElementStart, handleCDATASection, handleCloseElementEnd, handleCloseElementStart, handleComment, handleDocType, handleDocumentEnd, handleDocumentStart, handleInnerWhiteSpace, handleOpenElementEnd, handleProcessingInstruction, handleStandaloneElementEnd, handleStandaloneElementStart, handleText, handleUnmatchedCloseElementEnd, handleUnmatchedCloseElementStart, handleXmlDeclaration, setParseConfiguration, setParseSelection, setParseStatus
    • Method Detail

      • 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.AbstractMarkupHandler
        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.AbstractMarkupHandler
        Throws:
        org.attoparser.ParseException