|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.util.parser.HtmlParser.AttributesImpl
The attribute collection of a HTML tag
Field Summary | |
private java.util.List |
attributes
Attribute list List<Attribute> |
Constructor Summary | |
HtmlParser.AttributesImpl()
Constructor |
Method Summary | |
void |
addAttribute(HtmlParser.Attribute attribute)
Adds a new attribute to the attribute collection |
java.lang.String |
getName(int index)
Retrieves the attribute name for the attribute with the given index |
java.lang.String |
getValue(int index)
Retrieves the attribute value for the attribute with the given index |
java.lang.String |
getWhitespace(int index)
|
int |
size()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.util.List attributes
Constructor Detail |
public HtmlParser.AttributesImpl()
Method Detail |
public void addAttribute(HtmlParser.Attribute attribute)
attribute
- the new attribute to addpublic java.lang.String getName(int index)
HtmlAttributes
getName
in interface HtmlAttributes
index
- 0 based attribute index
HtmlAttributes.getName(int)
public java.lang.String getValue(int index)
HtmlAttributes
getValue
in interface HtmlAttributes
index
- 0 based attribute index
HtmlAttributes.getValue(int)
public java.lang.String getWhitespace(int index)
getWhitespace
in interface HtmlAttributes
index
- 0 based attribute index
HtmlAttributes.getWhitespace(int)
public int size()
size
in interface HtmlAttributes
HtmlAttributes.size()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |