public class ElemLiteralResult.Attribute extends Object implements Attr
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 |
---|
Attribute(AVT avt,
Element elem)
Construct a Attr.
|
public Node appendChild(Node newChild) throws DOMException
appendChild
in interface Node
newChild
- New node to append to the list of this node's
childrenDOMException
Node
public Node cloneNode(boolean deep)
public NamedNodeMap getAttributes()
getAttributes
in interface Node
Node
public NodeList getChildNodes()
getChildNodes
in interface Node
Node
public Node getFirstChild()
getFirstChild
in interface Node
Node
public Node getLastChild()
getLastChild
in interface Node
Node
public String getLocalName()
getLocalName
in interface Node
Node
public String getNamespaceURI()
getNamespaceURI
in interface Node
Node
public Node getNextSibling()
getNextSibling
in interface Node
Node
public String getNodeName()
getNodeName
in interface Node
Node
public short getNodeType()
getNodeType
in interface Node
Node
public String getNodeValue() throws DOMException
getNodeValue
in interface Node
DOMException
Node
public Document getOwnerDocument()
getOwnerDocument
in interface Node
Node
public Node getParentNode()
getParentNode
in interface Node
Node
public String getPrefix()
public Node getPreviousSibling()
getPreviousSibling
in interface Node
Node
public boolean hasAttributes()
hasAttributes
in interface Node
Node
public boolean hasChildNodes()
hasChildNodes
in interface Node
Node
public Node insertBefore(Node newChild, Node refChild) throws DOMException
insertBefore
in interface Node
newChild
- New child node to insertrefChild
- Insert in front of this childDOMException
Node
public boolean isSupported(String feature, String version)
isSupported
in interface Node
false
Node
public Node removeChild(Node oldChild) throws DOMException
removeChild
in interface Node
oldChild
- Child to be removedDOMException
Node
public Node replaceChild(Node newChild, Node oldChild) throws DOMException
replaceChild
in interface Node
newChild
- Replace existing child with this oneoldChild
- Existing child to be replacedDOMException
Node
public void setNodeValue(String nodeValue) throws DOMException
setNodeValue
in interface Node
nodeValue
- Value to set this node toDOMException
Node
public void setPrefix(String prefix) throws DOMException
setPrefix
in interface Node
prefix
- Prefix to set for this nodeDOMException
Node
public String getName()
public String getValue()
public Element getOwnerElement()
getOwnerElement
in interface Attr
public boolean getSpecified()
getSpecified
in interface Attr
public void setValue(String value) throws DOMException
setValue
in interface Attr
value
- Value to set this node toDOMException
Attr
public TypeInfo getSchemaTypeInfo()
getSchemaTypeInfo
in interface Attr
public Object setUserData(String key, Object data, UserDataHandler handler)
setUserData
in interface Node
public Object getUserData(String key)
getUserData
in interface Node
public Object getFeature(String feature, String version)
getFeature
in interface Node
public boolean isEqualNode(Node arg)
isEqualNode
in interface Node
public String lookupNamespaceURI(String specifiedPrefix)
lookupNamespaceURI
in interface Node
public boolean isDefaultNamespace(String namespaceURI)
isDefaultNamespace
in interface Node
public String lookupPrefix(String namespaceURI)
lookupPrefix
in interface Node
public boolean isSameNode(Node other)
isSameNode
in interface Node
public void setTextContent(String textContent) throws DOMException
setTextContent
in interface Node
DOMException
public String getTextContent() throws DOMException
getTextContent
in interface Node
DOMException
public short compareDocumentPosition(Node other) throws DOMException
compareDocumentPosition
in interface Node
DOMException
public String getBaseURI()
getBaseURI
in interface Node
Copyright © 2017 JBoss by Red Hat. All rights reserved.