com.quiotix.html.parser
Class HtmlDocument.Tag

java.lang.Object
  extended bycom.quiotix.html.parser.HtmlDocument.HtmlElement
      extended bycom.quiotix.html.parser.HtmlDocument.Tag
Enclosing class:
HtmlDocument

public static class HtmlDocument.Tag
extends HtmlDocument.HtmlElement

HTML start tag. Stores the tag name and a list of tag attributes.


Field Summary
 HtmlDocument.AttributeList attributeList
           
 boolean emptyTag
           
 java.lang.String tagName
           
 
Constructor Summary
HtmlDocument.Tag(java.lang.String t, HtmlDocument.AttributeList a)
           
 
Method Summary
 void accept(HtmlVisitor v)
           
 int getLength()
           
 void setEmpty(boolean b)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

tagName

public java.lang.String tagName

attributeList

public HtmlDocument.AttributeList attributeList

emptyTag

public boolean emptyTag
Constructor Detail

HtmlDocument.Tag

public HtmlDocument.Tag(java.lang.String t,
                        HtmlDocument.AttributeList a)
Method Detail

setEmpty

public void setEmpty(boolean b)

accept

public void accept(HtmlVisitor v)
Specified by:
accept in class HtmlDocument.HtmlElement

getLength

public int getLength()

toString

public java.lang.String toString()