org.xml.sax.AttributeList
public class AttributeListWrapper
extends java.lang.Object
implements org.xml.sax.AttributeList
Modifier and Type | Field | Description |
---|---|---|
(package private) org.w3c.dom.NamedNodeMap |
_map |
Constructor | Description |
---|---|
AttributeListWrapper(org.w3c.dom.NamedNodeMap namedNodeMap) |
Modifier and Type | Method | Description |
---|---|---|
int |
getLength() |
Returns the number of attributes in the list.
|
java.lang.String |
getName(int i) |
Returns the name of the attribute at the given index.
|
java.lang.String |
getType(int i) |
Returns the type of the attribute at the specified index.
|
java.lang.String |
getType(java.lang.String name) |
Return the type of the attribute with the given name.
|
java.lang.String |
getValue(int i) |
Return the value of the attribute at the specified index
|
java.lang.String |
getValue(java.lang.String name) |
Get the value of an attribute (by name).
|
public AttributeListWrapper(org.w3c.dom.NamedNodeMap namedNodeMap)
public int getLength()
getLength
in interface org.xml.sax.AttributeList
public java.lang.String getName(int i)
getName
in interface org.xml.sax.AttributeList
i
- The position of the attribute in the list.public java.lang.String getType(int i)
getType
in interface org.xml.sax.AttributeList
i
- The position of the attribute in the list.public java.lang.String getValue(int i)
getValue
in interface org.xml.sax.AttributeList
i
- The position of the attribute in the list.public java.lang.String getType(java.lang.String name)
getType
in interface org.xml.sax.AttributeList
name
- The attribute name.public java.lang.String getValue(java.lang.String name)
getValue
in interface org.xml.sax.AttributeList
name
- The attribute name.AttributeList.getValue(java.lang.String)
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com