public class AttrImpl extends NodeImpl implements Attr
This class is effectively read-only: Setters and update methods inherited
from org.w3c.Node are not supported and will raise an exception
if called.
| Modifier and Type | Field and Description |
|---|---|
static org.apache.commons.logging.Log |
LOG |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE| Constructor and Description |
|---|
AttrImpl(ExpandedTree tree,
int node) |
| Modifier and Type | Method and Description |
|---|---|
protected Node |
cloneNode(Document doc,
boolean deep)
Given a owner document, clone the node
|
String |
getLocalName() |
String |
getName() |
String |
getNamespaceURI() |
Node |
getNextSibling() |
protected int |
getNodeID() |
String |
getNodeName() |
String |
getNodeValue() |
Element |
getOwnerElement()
OwnerElement for a namespace attribute is null.
|
Node |
getParentNode() |
String |
getPrefix() |
protected int |
getPrefixID(int uriAtom) |
Node |
getPreviousSibling() |
TypeInfo |
getSchemaTypeInfo()
Unsupported.
|
boolean |
getSpecified() |
String |
getValue() |
boolean |
isId()
Unsupported.
|
String |
lookupNamespaceURI(String prefix) |
String |
lookupPrefix(String namespaceURI) |
void |
setValue(String value)
Unsupported.
|
appendChild, builtinNSPrefix, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getElementsByTagNameNSOrNodeName, getExpandedTree, getFeature, getFirstChild, getLastChild, getNextChild, getNodeType, getNSNodeID, getNSNodeID, getOwnerDocument, getPreviousChild, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, nextNSNodeID, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getNodeType, getOwnerDocument, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDatapublic AttrImpl(ExpandedTree tree, int node)
protected Node cloneNode(Document doc, boolean deep)
NodeImplprotected int getNodeID()
public String getLocalName()
getLocalName in interface NodegetLocalName in class NodeImplpublic String getNamespaceURI()
getNamespaceURI in interface NodegetNamespaceURI in class NodeImplpublic String getNodeName()
getNodeName in interface NodegetNodeName in class NodeImplpublic Node getNextSibling()
getNextSibling in interface NodegetNextSibling in class NodeImplpublic Node getParentNode()
getParentNode in interface NodegetParentNode in class NodeImplpublic Node getPreviousSibling()
getPreviousSibling in interface NodegetPreviousSibling in class NodeImplpublic String getNodeValue()
getNodeValue in interface NodegetNodeValue in class NodeImplpublic Element getOwnerElement()
getOwnerElement in interface Attrprotected int getPrefixID(int uriAtom)
getPrefixID in class NodeImplpublic String getPrefix()
public TypeInfo getSchemaTypeInfo()
getSchemaTypeInfo in interface Attrpublic boolean getSpecified()
getSpecified in interface Attrpublic String lookupNamespaceURI(String prefix)
lookupNamespaceURI in interface NodelookupNamespaceURI in class NodeImplpublic String lookupPrefix(String namespaceURI)
lookupPrefix in interface NodelookupPrefix in class NodeImplpublic void setValue(String value) throws DOMException
setValue in interface AttrDOMExceptionCopyright © 2016 MarkLogic Corporation. All Rights Reserved.
Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com