public class QAttr extends QNode implements org.w3c.dom.Attr
QNode.ChildNodeList
_firstChild, _lastChild
L
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
Modifier | Constructor and Description |
---|---|
protected |
QAttr(QDocument owner,
javax.xml.namespace.QName name) |
|
QAttr(javax.xml.namespace.QName name) |
protected |
QAttr(javax.xml.namespace.QName name,
java.lang.String value) |
|
QAttr(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCanonicalName()
Returns the node's canonical name.
|
java.lang.String |
getLocalName() |
java.lang.String |
getName() |
java.lang.String |
getNamespaceURI() |
java.lang.String |
getNodeName() |
short |
getNodeType() |
java.lang.String |
getNodeValue() |
org.w3c.dom.Element |
getOwnerElement() |
java.lang.String |
getPrefix() |
javax.xml.namespace.QName |
getQName()
Returns the full QName.
|
org.w3c.dom.TypeInfo |
getSchemaTypeInfo() |
boolean |
getSpecified() |
java.lang.String |
getValue() |
boolean |
isId() |
void |
print(XmlPrinter out) |
void |
setNodeValue(java.lang.String value) |
void |
setSpecified(boolean specified) |
void |
setValue(java.lang.String value) |
java.lang.String |
toString() |
appendChild, checkValid, equals, equals, getAttributes, getChildNodes, getFirstChild, getLastChild, getNextPreorder, getNextSibling, getPreviousSibling, hasChildNodes, insertBefore, normalize, removeChild, replaceChild, setTextContent
baseURI, cloneNode, compareDocumentPosition, compareTreePosition, getBaseURI, getColumn, getDependencyList, getFeature, getFilename, getInterface, getLine, getNextContent, getOwnerDocument, getParentNode, getPreviousContent, getTextContent, getTextValue, getUserData, hasAttributes, hasContent, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespacePrefix, lookupNamespaceURI, lookupPrefix, print, printHtml, printPretty, setFeature, setLocation, setPrefix, setUserData, supports
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setPrefix, setTextContent, setUserData
public QAttr(java.lang.String name)
public QAttr(javax.xml.namespace.QName name)
protected QAttr(javax.xml.namespace.QName name, java.lang.String value)
protected QAttr(QDocument owner, javax.xml.namespace.QName name)
public org.w3c.dom.Element getOwnerElement()
getOwnerElement
in interface org.w3c.dom.Attr
public short getNodeType()
getNodeType
in interface org.w3c.dom.Node
public javax.xml.namespace.QName getQName()
getQName
in class QAbstractNode
public java.lang.String getNodeName()
getNodeName
in interface org.w3c.dom.Node
public boolean isId()
isId
in interface org.w3c.dom.Attr
public java.lang.String getName()
getName
in interface org.w3c.dom.Attr
public java.lang.String getPrefix()
getPrefix
in interface CauchoNode
getPrefix
in interface org.w3c.dom.Node
getPrefix
in class QAbstractNode
public java.lang.String getLocalName()
getLocalName
in interface CauchoNode
getLocalName
in interface org.w3c.dom.Node
getLocalName
in class QAbstractNode
public java.lang.String getCanonicalName()
CauchoNode
e.g. for foo:bar:baz, the prefix name might be '{/caucho/1.0}baz'
getCanonicalName
in interface CauchoNode
getCanonicalName
in class QAbstractNode
public java.lang.String getNamespaceURI()
getNamespaceURI
in interface CauchoNode
getNamespaceURI
in interface org.w3c.dom.Node
getNamespaceURI
in class QAbstractNode
public java.lang.String getNodeValue()
getNodeValue
in interface org.w3c.dom.Node
getNodeValue
in class QNode
public org.w3c.dom.TypeInfo getSchemaTypeInfo()
getSchemaTypeInfo
in interface org.w3c.dom.Attr
public void setNodeValue(java.lang.String value)
setNodeValue
in interface org.w3c.dom.Node
setNodeValue
in class QNode
public java.lang.String getValue()
getValue
in interface org.w3c.dom.Attr
public void setValue(java.lang.String value)
setValue
in interface org.w3c.dom.Attr
public boolean getSpecified()
getSpecified
in interface org.w3c.dom.Attr
public void setSpecified(boolean specified)
public void print(XmlPrinter out) throws java.io.IOException
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object