|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.erowid.sperowider.htmlshredding.HTMLTagAttribute
Represents a given attribute inside of an HTML tag. It's either just a name or a name and a value.
| Constructor Summary | |
HTMLTagAttribute(String name)
Creates a new attribute with no value |
|
HTMLTagAttribute(String name,
String value)
Creates a new attribute with a value. |
|
| Method Summary | |
String |
getName()
Gets the attribute name. |
String |
getValue()
Gets the attribute value. |
boolean |
isSingletonAttribute()
Returns true if this tag has no value. |
void |
setName(String name)
Sets the attribute name. |
void |
setValue(String value)
Sets the attribute value. |
void |
write(Writer w,
boolean withLeadingSpace)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HTMLTagAttribute(String name)
public HTMLTagAttribute(String name,
String value)
| Method Detail |
public void setName(String name)
public void setValue(String value)
public String getName()
public String getValue()
public boolean isSingletonAttribute()
public void write(Writer w,
boolean withLeadingSpace)
throws IOException
IOException
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||