org.mozilla.pluglet.mozilla
Interface PlugletTagInfo
- All Known Subinterfaces:
- PlugletTagInfo2
- public interface PlugletTagInfo
This interface provides information about the HTML tag on the page.
Method Summary |
java.lang.String |
getAttribute(java.lang.String name)
Returns a value for a particular attribute. |
java.util.Properties |
getAttributes()
Returns all the name-value pairs found in the tag attributes. |
getAttributes
public java.util.Properties getAttributes()
- Returns all the name-value pairs found in the tag attributes.
- Returns:
- Returns the attributes of an HTML tag as type
java.util.Properties
.
getAttribute
public java.lang.String getAttribute(java.lang.String name)
- Returns a value for a particular attribute. Returns
NULL
if the attribute does not exist.
- Parameters:
name
- This is the name of the attribute.- Returns:
- Returns the value of the named attribute as a
String
.