public class AttributeQuery extends SubjectQuery
| Constructor and Description |
|---|
AttributeQuery(org.w3c.dom.Document owner)
Creates a new
AttributeQuery instance. |
AttributeQuery(org.w3c.dom.Element element)
Creates a new
AttributeQuery instance from the given
Element node. |
AttributeQuery(org.w3c.dom.Element element,
java.lang.String systemId)
Creates a new
AttributeQuery instance from the given
Element node. |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttributeDesignator(AttributeDesignator attrDesig)
Adds an attribute designator.
|
java.util.List |
getAttributeDesignators()
Gets the list of attribute designators present in this element.
|
java.lang.String |
getResource()
Gets the resource attribute of this AttributeQuery element.
|
void |
setResource(java.lang.String uri)
Sets the resource attribute.
|
getSubject, setSubjectaddNSPrefixAttr, 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 AttributeQuery(org.w3c.dom.Element element)
throws org.w3c.dom.DOMException
AttributeQuery instance from the given
Element node.element - An AttributeQuery element.org.w3c.dom.DOMExceptionpublic AttributeQuery(org.w3c.dom.Element element,
java.lang.String systemId)
throws org.w3c.dom.DOMException
AttributeQuery instance from the given
Element node.element - An AttributeQuery element.systemId - The URI string system ID for the AttributeQuery.org.w3c.dom.DOMExceptionpublic AttributeQuery(org.w3c.dom.Document owner)
throws org.w3c.dom.DOMException
AttributeQuery instance.owner - The owner document of the new AttributeQuery.org.w3c.dom.DOMExceptionpublic void setResource(java.lang.String uri)
uri - A URI representing a resource.public java.lang.String getResource()
URI.public void addAttributeDesignator(AttributeDesignator attrDesig)
attrDesig - An AttributeDesignator specifying an attribute whose
value is to be returned.public java.util.List getAttributeDesignators()
List containing AttributeDesignator
or an empty List if none has been set.