public class Util
extends java.lang.Object
Constructor and Description |
---|
Util() |
Modifier and Type | Method and Description |
---|---|
static org.w3c.dom.Attr |
getAttributeNode(org.w3c.dom.Element elm,
java.lang.String namespaceURI,
java.lang.String localName)
Retrieve the attribute node that corresponds to the namespaceURI and localName.
|
static org.w3c.dom.Attr |
getAttributeNodeNS(org.w3c.dom.Element elm,
java.lang.String namespaceURI,
java.lang.String localName)
Retrieve the attribute node that corresponds to the namespaceURI and localName.
|
public static org.w3c.dom.Attr getAttributeNodeNS(org.w3c.dom.Element elm, java.lang.String namespaceURI, java.lang.String localName)
This function avoids the crimson bug in Sun SDK 1.4.2.
elm
- the DOM element.namespaceURI
- the namespace of the attribute node to be matched. This value can be null.localName
- the attribute name of the attribute node to be matched.
\public static org.w3c.dom.Attr getAttributeNode(org.w3c.dom.Element elm, java.lang.String namespaceURI, java.lang.String localName)
elm
- the DOM element.namespaceURI
- the namespace of the attribute node to be matched. This value must not be null.localName
- the attribute name of the attribute node to be matched.
\