org.attoparser.markup.html.elements
Class AbstractHtmlElement

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

public abstract class AbstractHtmlElement
extends Object
implements IHtmlElement

Since:
1.1
Author:
Daniel Fernández

Constructor Summary
protected AbstractHtmlElement(String name)
           
 
Method Summary
 String getName()
           
 boolean matches(char[] elementName)
           
 boolean matches(char[] elementNameBuffer, int offset, int len)
           
 boolean matches(String elementName)
           
 String toString()
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.attoparser.markup.html.elements.IHtmlElement
handleAttribute, handleAutoCloseElementEnd, handleAutoCloseElementStart, handleCloseElementEnd, handleCloseElementStart, handleInnerWhiteSpace, handleOpenElementEnd, handleOpenElementStart, handleStandaloneElementEnd, handleStandaloneElementStart, handleUnmatchedCloseElementEnd, handleUnmatchedCloseElementStart
 

Constructor Detail

AbstractHtmlElement

protected AbstractHtmlElement(String name)
Method Detail

getName

public final String getName()
Specified by:
getName in interface IHtmlElement

matches

public final boolean matches(String elementName)
Specified by:
matches in interface IHtmlElement

matches

public final boolean matches(char[] elementName)
Specified by:
matches in interface IHtmlElement

matches

public final boolean matches(char[] elementNameBuffer,
                             int offset,
                             int len)
Specified by:
matches in interface IHtmlElement

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013 The ATTOPARSER team. All Rights Reserved.