|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.xml.sax.helpers.XMLReaderAdapter.AttributesAdapter
Internal class to wrap a SAX2 Attributes object for SAX1.
Constructor Summary | |
(package private) |
XMLReaderAdapter.AttributesAdapter()
|
Method Summary | |
int |
getLength()
Return the number of attributes. |
java.lang.String |
getName(int i)
Return the qualified (prefixed) name of an attribute by position. |
java.lang.String |
getType(int i)
Return the type of an attribute by position. |
java.lang.String |
getType(java.lang.String qName)
Return the type of an attribute by qualified (prefixed) name. |
java.lang.String |
getValue(int i)
Return the value of an attribute by position. |
java.lang.String |
getValue(java.lang.String qName)
Return the value of an attribute by qualified (prefixed) name. |
(package private) void |
setAttributes(Attributes attributes)
Set the embedded Attributes object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
XMLReaderAdapter.AttributesAdapter()
Method Detail |
void setAttributes(Attributes attributes)
public int getLength()
getLength
in interface AttributeList
AttributeList.getLength()
public java.lang.String getName(int i)
getName
in interface AttributeList
i
- The index of the attribute in the list (starting at 0).
AttributeList.getName(int)
public java.lang.String getType(int i)
getType
in interface AttributeList
i
- The index of the attribute in the list (starting at 0).
AttributeList.getType(int)
public java.lang.String getValue(int i)
getValue
in interface AttributeList
i
- The index of the attribute in the list (starting at 0).
AttributeList.getValue(int)
public java.lang.String getType(java.lang.String qName)
getType
in interface AttributeList
qName
- The name of the attribute.
AttributeList.getType(java.lang.String)
public java.lang.String getValue(java.lang.String qName)
getValue
in interface AttributeList
AttributeList.getValue(java.lang.String)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |