org.attoparser.markup.html.elements
Class BasicHtmlElement

Object
  extended by org.attoparser.markup.html.elements.AbstractHtmlElement
      extended by org.attoparser.markup.html.elements.BasicHtmlElement
All Implemented Interfaces:
IHtmlElement
Direct Known Subclasses:
StandaloneHtmlElement

public class BasicHtmlElement
extends AbstractHtmlElement

Since:
1.1
Author:
Daniel Fernández

Constructor Summary
BasicHtmlElement(String name)
           
 
Method Summary
 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 nameOffset, int nameLen, int line, int col, HtmlElementStack stack, IDetailedHtmlElementHandling handler)
           
 void handleCloseElementEnd(int line, int col, HtmlElementStack stack, IDetailedHtmlElementHandling handler)
           
 void handleCloseElementStart(char[] buffer, int nameOffset, int nameLen, 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 nameOffset, int nameLen, int line, int col, HtmlElementStack stack, IDetailedHtmlElementHandling handler)
           
 void handleStandaloneElementEnd(int line, int col, HtmlElementStack stack, IDetailedHtmlElementHandling handler)
           
 void handleStandaloneElementStart(char[] buffer, int nameOffset, int nameLen, int line, int col, HtmlElementStack stack, IDetailedHtmlElementHandling handler)
           
 void handleUnmatchedCloseElementEnd(int line, int col, HtmlElementStack stack, IDetailedHtmlElementHandling handler)
           
 void handleUnmatchedCloseElementStart(char[] buffer, int nameOffset, int nameLen, int line, int col, HtmlElementStack stack, IDetailedHtmlElementHandling handler)
           
 
Methods inherited from class org.attoparser.markup.html.elements.AbstractHtmlElement
getName, matches, matches, matches, toString
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasicHtmlElement

public BasicHtmlElement(String name)
Method Detail

handleStandaloneElementStart

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

handleStandaloneElementEnd

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

handleOpenElementStart

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

handleOpenElementEnd

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

handleCloseElementStart

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

handleCloseElementEnd

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

handleAutoCloseElementStart

public final void handleAutoCloseElementStart(char[] buffer,
                                              int nameOffset,
                                              int nameLen,
                                              int line,
                                              int col,
                                              HtmlElementStack stack,
                                              IDetailedHtmlElementHandling handler)
                                       throws AttoParseException
Throws:
AttoParseException

handleAutoCloseElementEnd

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

handleUnmatchedCloseElementStart

public final void handleUnmatchedCloseElementStart(char[] buffer,
                                                   int nameOffset,
                                                   int nameLen,
                                                   int line,
                                                   int col,
                                                   HtmlElementStack stack,
                                                   IDetailedHtmlElementHandling handler)
                                            throws AttoParseException
Throws:
AttoParseException

handleUnmatchedCloseElementEnd

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

handleAttribute

public final 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

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


Copyright © 2013 The ATTOPARSER team. All Rights Reserved.