Class HtmlElement

java.lang.Object
org.attoparser.HtmlElement
Direct Known Subclasses:
HtmlAutoCloseElement, HtmlAutoOpenElement, HtmlCDATAContentElement, HtmlVoidElement

class HtmlElement extends Object
  • Field Details

    • name

      final char[] name
  • Constructor Details

    • HtmlElement

      public HtmlElement(String name)
  • Method Details

    • handleStandaloneElementStart

      public void handleStandaloneElementStart(char[] buffer, int nameOffset, int nameLen, boolean minimized, int line, int col, IMarkupHandler handler, ParseStatus status, boolean autoOpenEnabled, boolean autoCloseEnabled) throws ParseException
      Throws:
      ParseException
    • handleStandaloneElementEnd

      public void handleStandaloneElementEnd(char[] buffer, int nameOffset, int nameLen, boolean minimized, int line, int col, IMarkupHandler handler, ParseStatus status, boolean autoOpenEnabled, boolean autoCloseEnabled) throws ParseException
      Throws:
      ParseException
    • handleOpenElementStart

      public void handleOpenElementStart(char[] buffer, int nameOffset, int nameLen, int line, int col, IMarkupHandler handler, ParseStatus status, boolean autoOpenEnabled, boolean autoCloseEnabled) throws ParseException
      Throws:
      ParseException
    • handleOpenElementEnd

      public void handleOpenElementEnd(char[] buffer, int nameOffset, int nameLen, int line, int col, IMarkupHandler handler, ParseStatus status, boolean autoOpenEnabled, boolean autoCloseEnabled) throws ParseException
      Throws:
      ParseException
    • handleAutoOpenElementStart

      public void handleAutoOpenElementStart(char[] buffer, int nameOffset, int nameLen, int line, int col, IMarkupHandler handler, ParseStatus status, boolean autoOpenEnabled, boolean autoCloseEnabled) throws ParseException
      Throws:
      ParseException
    • handleAutoOpenElementEnd

      public void handleAutoOpenElementEnd(char[] buffer, int nameOffset, int nameLen, int line, int col, IMarkupHandler handler, ParseStatus status, boolean autoOpenEnabled, boolean autoCloseEnabled) throws ParseException
      Throws:
      ParseException
    • handleCloseElementStart

      public void handleCloseElementStart(char[] buffer, int nameOffset, int nameLen, int line, int col, IMarkupHandler handler, ParseStatus status, boolean autoOpenEnabled, boolean autoCloseEnabled) throws ParseException
      Throws:
      ParseException
    • handleCloseElementEnd

      public void handleCloseElementEnd(char[] buffer, int nameOffset, int nameLen, int line, int col, IMarkupHandler handler, ParseStatus status, boolean autoOpenEnabled, boolean autoCloseEnabled) throws ParseException
      Throws:
      ParseException
    • handleAutoCloseElementStart

      public void handleAutoCloseElementStart(char[] buffer, int nameOffset, int nameLen, int line, int col, IMarkupHandler handler, ParseStatus status, boolean autoOpenEnabled, boolean autoCloseEnabled) throws ParseException
      Throws:
      ParseException
    • handleAutoCloseElementEnd

      public void handleAutoCloseElementEnd(char[] buffer, int nameOffset, int nameLen, int line, int col, IMarkupHandler handler, ParseStatus status, boolean autoOpenEnabled, boolean autoCloseEnabled) throws ParseException
      Throws:
      ParseException
    • handleUnmatchedCloseElementStart

      public void handleUnmatchedCloseElementStart(char[] buffer, int nameOffset, int nameLen, int line, int col, IMarkupHandler handler, ParseStatus status, boolean autoOpenEnabled, boolean autoCloseEnabled) throws ParseException
      Throws:
      ParseException
    • handleUnmatchedCloseElementEnd

      public void handleUnmatchedCloseElementEnd(char[] buffer, int nameOffset, int nameLen, int line, int col, IMarkupHandler handler, ParseStatus status, boolean autoOpenEnabled, boolean autoCloseEnabled) throws ParseException
      Throws:
      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, IMarkupHandler handler, ParseStatus status, boolean autoOpenEnabled, boolean autoCloseEnabled) throws ParseException
      Throws:
      ParseException
    • handleInnerWhiteSpace

      public void handleInnerWhiteSpace(char[] buffer, int offset, int len, int line, int col, IMarkupHandler handler, ParseStatus status, boolean autoOpenEnabled, boolean autoCloseEnabled) throws ParseException
      Throws:
      ParseException
    • toString

      public String toString()
      Overrides:
      toString in class Object