Methods Summary |
---|
public java.lang.String | getAttribute(java.lang.String name)
Attr attrNode = getAttributeNode(name);
String attrValue = "";
if (attrNode != null) {
attrValue = attrNode.getValue();
}
return attrValue;
|
public java.lang.String | getAttributeNS(java.lang.String namespaceURI, java.lang.String localName)
// TODO Auto-generated method stub
return null;
|
public org.w3c.dom.Attr | getAttributeNode(java.lang.String name)
return (Attr)mAttributes.getNamedItem(name);
|
public org.w3c.dom.Attr | getAttributeNodeNS(java.lang.String namespaceURI, java.lang.String localName)
// TODO Auto-generated method stub
return null;
|
public org.w3c.dom.NamedNodeMap | getAttributes()
return mAttributes;
|
public org.w3c.dom.NodeList | getElementsByTagName(java.lang.String name)
return new NodeListImpl(this, name, true);
|
public org.w3c.dom.NodeList | getElementsByTagNameNS(java.lang.String namespaceURI, java.lang.String localName)
// TODO Auto-generated method stub
return null;
|
public java.lang.String | getNodeName()
// The value of nodeName is tagName when Node is an Element
return mTagName;
|
public short | getNodeType()
return ELEMENT_NODE;
|
public java.lang.String | getTagName()
return mTagName;
|
public boolean | hasAttribute(java.lang.String name)
return (getAttributeNode(name) != null);
|
public boolean | hasAttributeNS(java.lang.String namespaceURI, java.lang.String localName)
// TODO Auto-generated method stub
return false;
|
public boolean | hasAttributes()
return (mAttributes.getLength() > 0);
|
public void | removeAttribute(java.lang.String name)
// TODO Auto-generated method stub
|
public void | removeAttributeNS(java.lang.String namespaceURI, java.lang.String localName)
// TODO Auto-generated method stub
|
public org.w3c.dom.Attr | removeAttributeNode(org.w3c.dom.Attr oldAttr)
// TODO Auto-generated method stub
return null;
|
public void | setAttribute(java.lang.String name, java.lang.String value)
Attr attribute = getAttributeNode(name);
if (attribute == null) {
attribute = mOwnerDocument.createAttribute(name);
}
attribute.setNodeValue(value);
mAttributes.setNamedItem(attribute);
|
public void | setAttributeNS(java.lang.String namespaceURI, java.lang.String qualifiedName, java.lang.String value)
// TODO Auto-generated method stub
|
public org.w3c.dom.Attr | setAttributeNode(org.w3c.dom.Attr newAttr)
// TODO Auto-generated method stub
return null;
|
public org.w3c.dom.Attr | setAttributeNodeNS(org.w3c.dom.Attr newAttr)
// TODO Auto-generated method stub
return null;
|