org.attoparser.markup.html.elements
Interface IHtmlElement

All Known Implementing Classes:
AbstractHtmlElement, BasicHtmlElement, StandaloneHtmlElement

public interface IHtmlElement

Since:
1.1
Author:
Daniel Fernández

Method Summary
 String getName()
           
 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, HtmlElementStack stack, IDetailedHtmlElementHandling handler)
           
 void handleAutoCloseElementEnd(int line, int col, HtmlElementStack stack, IDetailedHtmlElementHandling handler)
           
 void handleAutoCloseElementStart(char[] buffer, int offset, int len, int line, int col, HtmlElementStack stack, IDetailedHtmlElementHandling handler)
           
 void handleCloseElementEnd(int line, int col, HtmlElementStack stack, IDetailedHtmlElementHandling handler)
           
 void handleCloseElementStart(char[] buffer, int offset, int len, int line, int col, HtmlElementStack stack, IDetailedHtmlElementHandling handler)
           
 void handleInnerWhiteSpace(char[] buffer, int offset, int len, int line, int col, HtmlElementStack stack, IDetailedHtmlElementHandling handler)
           
 void handleOpenElementEnd(int line, int col, HtmlElementStack stack, IDetailedHtmlElementHandling handler)
           
 void handleOpenElementStart(char[] buffer, int offset, int len, int line, int col, HtmlElementStack stack, IDetailedHtmlElementHandling handler)
           
 void handleStandaloneElementEnd(int line, int col, HtmlElementStack stack, IDetailedHtmlElementHandling handler)
           
 void handleStandaloneElementStart(char[] buffer, int offset, int len, int line, int col, HtmlElementStack stack, IDetailedHtmlElementHandling handler)
           
 void handleUnmatchedCloseElementEnd(int line, int col, HtmlElementStack stack, IDetailedHtmlElementHandling handler)
           
 void handleUnmatchedCloseElementStart(char[] buffer, int offset, int len, int line, int col, HtmlElementStack stack, IDetailedHtmlElementHandling handler)
           
 boolean matches(char[] elementName)
           
 boolean matches(char[] elementNameBuffer, int offset, int len)
           
 boolean matches(String elementName)
           
 

Method Detail

getName

String getName()

matches

boolean matches(String elementName)

matches

boolean matches(char[] elementName)

matches

boolean matches(char[] elementNameBuffer,
                int offset,
                int len)

handleStandaloneElementStart

void handleStandaloneElementStart(char[] buffer,
                                  int offset,
                                  int len,
                                  int line,
                                  int col,
                                  HtmlElementStack stack,
                                  IDetailedHtmlElementHandling handler)
                                  throws AttoParseException
Throws:
AttoParseException

handleStandaloneElementEnd

void handleStandaloneElementEnd(int line,
                                int col,
                                HtmlElementStack stack,
                                IDetailedHtmlElementHandling handler)
                                throws AttoParseException
Throws:
AttoParseException

handleOpenElementStart

void handleOpenElementStart(char[] buffer,
                            int offset,
                            int len,
                            int line,
                            int col,
                            HtmlElementStack stack,
                            IDetailedHtmlElementHandling handler)
                            throws AttoParseException
Throws:
AttoParseException

handleOpenElementEnd

void handleOpenElementEnd(int line,
                          int col,
                          HtmlElementStack stack,
                          IDetailedHtmlElementHandling handler)
                          throws AttoParseException
Throws:
AttoParseException

handleCloseElementStart

void handleCloseElementStart(char[] buffer,
                             int offset,
                             int len,
                             int line,
                             int col,
                             HtmlElementStack stack,
                             IDetailedHtmlElementHandling handler)
                             throws AttoParseException
Throws:
AttoParseException

handleCloseElementEnd

void handleCloseElementEnd(int line,
                           int col,
                           HtmlElementStack stack,
                           IDetailedHtmlElementHandling handler)
                           throws AttoParseException
Throws:
AttoParseException

handleAutoCloseElementStart

void handleAutoCloseElementStart(char[] buffer,
                                 int offset,
                                 int len,
                                 int line,
                                 int col,
                                 HtmlElementStack stack,
                                 IDetailedHtmlElementHandling handler)
                                 throws AttoParseException
Throws:
AttoParseException

handleAutoCloseElementEnd

void handleAutoCloseElementEnd(int line,
                               int col,
                               HtmlElementStack stack,
                               IDetailedHtmlElementHandling handler)
                               throws AttoParseException
Throws:
AttoParseException

handleUnmatchedCloseElementStart

void handleUnmatchedCloseElementStart(char[] buffer,
                                      int offset,
                                      int len,
                                      int line,
                                      int col,
                                      HtmlElementStack stack,
                                      IDetailedHtmlElementHandling handler)
                                      throws AttoParseException
Throws:
AttoParseException

handleUnmatchedCloseElementEnd

void handleUnmatchedCloseElementEnd(int line,
                                    int col,
                                    HtmlElementStack stack,
                                    IDetailedHtmlElementHandling handler)
                                    throws AttoParseException
Throws:
AttoParseException

handleAttribute

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,
                     HtmlElementStack stack,
                     IDetailedHtmlElementHandling handler)
                     throws AttoParseException
Throws:
AttoParseException

handleInnerWhiteSpace

void handleInnerWhiteSpace(char[] buffer,
                           int offset,
                           int len,
                           int line,
                           int col,
                           HtmlElementStack stack,
                           IDetailedHtmlElementHandling handler)
                           throws AttoParseException
Throws:
AttoParseException


Copyright © 2012 The ATTOPARSER team. All Rights Reserved.