final class XMLReaderAdapter.AttributesAdapter extends Object implements AttributeList
Modifier and Type | Field and Description |
---|---|
private Attributes |
attributes |
Constructor and Description |
---|
AttributesAdapter() |
Modifier and Type | Method and Description |
---|---|
int |
getLength()
Return the number of attributes.
|
String |
getName(int i)
Return the qualified (prefixed) name of an attribute by position.
|
String |
getType(int i)
Return the type of an attribute by position.
|
String |
getType(String qName)
Return the type of an attribute by qualified (prefixed) name.
|
String |
getValue(int i)
Return the value of an attribute by position.
|
String |
getValue(String qName)
Return the value of an attribute by qualified (prefixed) name.
|
(package private) void |
setAttributes(Attributes attributes)
Set the embedded Attributes object.
|
private Attributes attributes
AttributesAdapter()
void setAttributes(Attributes attributes)
The
- embedded SAX2 Attributes.public int getLength()
getLength
in interface AttributeList
AttributeList.getLength()
public String getName(int i)
getName
in interface AttributeList
i
- The index of the attribute in the list (starting at 0).AttributeList.getName(int)
public String getType(int i)
getType
in interface AttributeList
i
- The index of the attribute in the list (starting at 0).AttributeList.getType(int)
public String getValue(int i)
getValue
in interface AttributeList
i
- The index of the attribute in the list (starting at 0).AttributeList.getValue(int)
public String getType(String qName)
getType
in interface AttributeList
qName
- The name of the attribute.AttributeList.getType(java.lang.String)
public String getValue(String qName)
getValue
in interface AttributeList
AttributeList.getValue(java.lang.String)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses