public class AttributeDesignator extends XMLElement
| Modifier | Constructor and Description |
|---|---|
|
AttributeDesignator(org.w3c.dom.Document owner)
Creates a new
AttributeDesignator instance. |
protected |
AttributeDesignator(org.w3c.dom.Document owner, java.lang.String uri, java.lang.String localName)
Creates a new
AttributeDesignator instance. |
|
AttributeDesignator(org.w3c.dom.Element element)
Creates a new
AttributeDesignator instance from the given Element node. |
|
AttributeDesignator(org.w3c.dom.Element element, java.lang.String systemId)
Creates a new
AttributeDesignator instance from the given Element node. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAttributeName()
Gets the name of the attribute.
|
java.lang.String |
getAttributeNamespace()
Gets the namespace in which the AttributeName element is interpreted.
|
void |
setAttributeName(java.lang.String attributeName)
Sets the name of the attribute.
|
void |
setAttributeNamespace(java.lang.String uri)
Sets the namespace in which the AttributeName element is interpreted.
|
addNSPrefixAttr, addNSPrefixAttr, addNSPrefixAttrDefault, addNSPrefixAttrDefault, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getChildElementsByTagName, getChildElementsByTagName, getChildElementsByTagNameNS, getChildElementsByTagNameNS, getDefaultNSPrefix, getElement, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setDefaultNSPrefixappendChild, appendChild, appendTo, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNode, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getSystemId, hasAttributes, hasChildNodes, insertBefore, insertBefore, isSupported, normalize, removeChild, removeChild, replaceChild, replaceChild, setNodeValue, setPrefix, setSystemId, toBytesXML, toStringXMLpublic AttributeDesignator(org.w3c.dom.Element element)
throws org.w3c.dom.DOMException
AttributeDesignator instance from the given Element node.element - An AttributeDesignator element.org.w3c.dom.DOMExceptionpublic AttributeDesignator(org.w3c.dom.Element element,
java.lang.String systemId)
throws org.w3c.dom.DOMException
AttributeDesignator instance from the given Element node.element - An AttributeDesignator element.systemId - The URI string system ID for the AttributeDesignator.org.w3c.dom.DOMExceptionpublic AttributeDesignator(org.w3c.dom.Document owner)
throws org.w3c.dom.DOMException
AttributeDesignator instance.owner - The owner document of the new AttributeDesignator.org.w3c.dom.DOMExceptionprotected AttributeDesignator(org.w3c.dom.Document owner,
java.lang.String uri,
java.lang.String localName)
throws org.w3c.dom.DOMException
AttributeDesignator instance.owner - The owner document of the new AttributeDesignator.nsURI - The namespace URI in which the new AttributeDesignator is to be created.localName - The local name of the new AttributeDesignator.org.w3c.dom.DOMExceptionpublic void setAttributeName(java.lang.String attributeName)
attributeName - The String name of the attribute.public java.lang.String getAttributeName()
null if none has been set.public void setAttributeNamespace(java.lang.String uri)
uri - The URI representing the namespace.public java.lang.String getAttributeNamespace()
URI as a String object, or null if none has been set.