|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.quiotix.html.parser.HtmlDocument.Attribute
public static class HtmlDocument.Attribute
A Tag Attribute.
Field Summary | |
---|---|
boolean |
hasValue
Whether the Attribute has a value. |
String |
name
The name of this Attribute. |
String |
value
The value of this Attribute, including any surrounding quotes. |
Constructor Summary | |
---|---|
HtmlDocument.Attribute(String n)
Constructor. |
|
HtmlDocument.Attribute(String n,
String v)
Constructor. |
Method Summary | |
---|---|
int |
getLength()
Whether quotes are included is dependant upon the source document. |
String |
getValue()
|
void |
setValue(String v)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public String name
public String value
public boolean hasValue
Constructor Detail |
---|
public HtmlDocument.Attribute(String n)
public HtmlDocument.Attribute(String n, String v)
Method Detail |
---|
public int getLength()
getLength
in interface Sized
Sized.getLength()
public String toString()
toString
in class Object
public String getValue()
public void setValue(String v)
v
- the value to set, may be null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |