|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.apache.xml.utils.AttList
Wraps a DOM attribute list in a SAX Attributes.
This class is based on an implementation from the Apache XML Project. In future releases the XML parser, XSLT processor, and associated classes will likely be updated to be based on a later version of the Apache implementations. Since Apache does not guarantee backwards compatibility between versions of their software, we cannot guarantee backwards compatibility of any of the classes contained in the weblogic.apache package or sub-packages.
Constructor Summary | |
AttList(org.w3c.dom.NamedNodeMap attrs,
DOMHelper dh)
Constructor AttList |
Method Summary | |
int |
getIndex(java.lang.String rawName)
Look up the index of an attribute by raw XML 1.0 name. |
int |
getIndex(java.lang.String uri,
java.lang.String localPart)
Look up the index of an attribute by Namespace name. |
int |
getLength()
Get the number of attribute nodes in the list |
java.lang.String |
getLocalName(int index)
Look up an attribute's local name by index. |
java.lang.String |
getQName(int i)
Look up an attribute's qualified name by index. |
java.lang.String |
getType(int i)
Get the attribute's node type by index |
java.lang.String |
getType(java.lang.String name)
Get the attribute's node type by name |
java.lang.String |
getType(java.lang.String uri,
java.lang.String localName)
Look up an attribute's type by Namespace name. |
java.lang.String |
getURI(int index)
Look up an attribute's Namespace URI by index. |
java.lang.String |
getValue(int i)
Get the attribute's node value by index |
java.lang.String |
getValue(java.lang.String name)
Look up an attribute's value by name. |
java.lang.String |
getValue(java.lang.String uri,
java.lang.String localName)
Look up an attribute's value by Namespace name. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public AttList(org.w3c.dom.NamedNodeMap attrs, DOMHelper dh)
attrs
- List of attributes this will containdh
- DOMHelperMethod Detail |
public int getLength()
public java.lang.String getURI(int index)
index
- The attribute index (zero-based).public java.lang.String getLocalName(int index)
index
- The attribute index (zero-based).public java.lang.String getQName(int i)
index
- The attribute index (zero-based).public java.lang.String getType(int i)
index
- The attribute index (zero-based)public java.lang.String getValue(int i)
index
- The attribute index (zero-based)public java.lang.String getType(java.lang.String name)
name
- Attribute namepublic java.lang.String getType(java.lang.String uri, java.lang.String localName)
uri
- The Namespace URI, or the empty String if the
name has no Namespace URI.localName
- The local name of the attribute.public java.lang.String getValue(java.lang.String name)
name
- The attribute node's namepublic java.lang.String getValue(java.lang.String uri, java.lang.String localName)
uri
- The Namespace URI, or the empty String if the
name has no Namespace URI.localName
- The local name of the attribute.public int getIndex(java.lang.String uri, java.lang.String localPart)
uri
- The Namespace URI, or the empty string if
the name has no Namespace URI.localPart
- The attribute's local name.public int getIndex(java.lang.String rawName)
rawName
- The raw (prefixed) name.
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs61 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |