Java Reference
In-Depth Information
public void clear()
{
this.attributes.clear();
this.name = "";
this.ending = false;
}
/**
* Get the value of the specified attribute.
*
* @param name
* The name of an attribute.
* @return The value of the specified attribute.
*/
public String getAttributeValue(String name)
{
return this.attributes.get(name.toLowerCase());
}
/**
* Get the tag name.
*/
public String getName()
{
return this.name;
}
/**
* @return the ending
*/
public boolean isEnding()
{
return this.ending;
}
/**
* Set a HTML attribute.
*
* @param name
* The name of the attribute.
* @param value
* The value of the attribute.
*/
public void setAttribute(String name, String value)
{
Search WWH ::




Custom Search