com.quiotix.html.parser
Class HtmlDocument.EndTag

java.lang.Object
  extended by com.quiotix.html.parser.HtmlDocument.HtmlElement
      extended by com.quiotix.html.parser.HtmlDocument.EndTag
All Implemented Interfaces:
Sized, Visitable
Enclosing class:
HtmlDocument

public static class HtmlDocument.EndTag
extends HtmlDocument.HtmlElement

Html end tag. Stores only the tag name.


Field Summary
 String tagName
          The name of the Tag.
 
Constructor Summary
HtmlDocument.EndTag(String t)
          Constructor.
 
Method Summary
 void accept(HtmlVisitor v)
          Allow the Visitor to visit.
 int getLength()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

tagName

public String tagName
The name of the Tag.

Constructor Detail

HtmlDocument.EndTag

public HtmlDocument.EndTag(String t)
Constructor.

Method Detail

accept

public void accept(HtmlVisitor v)
Description copied from interface: Visitable
Allow the Visitor to visit.

Specified by:
accept in interface Visitable
Specified by:
accept in class HtmlDocument.HtmlElement
Parameters:
v - the visitor which has come to call

getLength

public int getLength()
Returns:
the number of characters

toString

public String toString()
Overrides:
toString in class Object


Copyright © 1999-2011 Quiotix. All Rights Reserved.