com.calitha.xml
Class PIAttributes
java.lang.Object
com.calitha.xml.PIAttributes
public class PIAttributes
- extends Object
A PIAttributes object represents attributes in a single processing instruction.
The attributes must have the simple format of name=value.
- Author:
- Robert van Loenhout
|
Constructor Summary |
PIAttributes(String data)
Creates a new PIAttributes object by parsing the attributes in a string. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PIAttributes
public PIAttributes(String data)
- Creates a new PIAttributes object by parsing the attributes in a string.
- Parameters:
data - string containing the attributes
getValue
public String getValue(String name)
- Gets the value of an attribute.
- Parameters:
name - attribute name
- Returns:
- attribute value