*/
/*!
- Constructs a \link isNull() null\endlink node.
+ Constructs a \l{isNull()}{null} node.
*/
QDomNode::QDomNode()
{
/*!
Returns the first child of the node. If there is no child node, a
- \link isNull() null node\endlink is returned. Changing the
+ \l{isNull()}{null node} is returned. Changing the
returned node will also change the node in the document tree.
\sa lastChild(), childNodes()
/*!
Returns the last child of the node. If there is no child node, a
- \link isNull() null node\endlink is returned. Changing the
+ \l{isNull()}{null node} is returned. Changing the
returned node will also change the node in the document tree.
\sa firstChild(), childNodes()
Returns the namespace URI of this node or an empty string if the
node has no namespace URI.
- Only nodes of type \link QDomNode::NodeType ElementNode\endlink or
- \link QDomNode::NodeType AttributeNode\endlink can have
+ Only nodes of type \l{QDomNode::NodeType}{ElementNode} or
+ \l{QDomNode::NodeType}{AttributeNode} can have
namespaces. A namespace URI must be specified at creation time and
cannot be changed later.
Returns the namespace prefix of the node or an empty string if the
node has no namespace prefix.
- Only nodes of type \link QDomNode::NodeType ElementNode\endlink or
- \link QDomNode::NodeType AttributeNode\endlink can have
+ Only nodes of type \l{QDomNode::NodeType}{ElementNode} or
+ \l{QDomNode::NodeType}{AttributeNode} can have
namespaces. A namespace prefix must be specified at creation time.
If a node was created with a namespace prefix, you can change it
later with setPrefix().
namespace prefix of the node to \a pre. Otherwise this function
does nothing.
- Only nodes of type \link QDomNode::NodeType ElementNode\endlink or
- \link QDomNode::NodeType AttributeNode\endlink can have
+ Only nodes of type \l{QDomNode::NodeType}{ElementNode} or
+ \l{QDomNode::NodeType}{AttributeNode} can have
namespaces. A namespace prefix must have be specified at creation
time; it is not possible to add a namespace prefix afterwards.
If the node uses namespaces, this function returns the local name
of the node; otherwise it returns an empty string.
- Only nodes of type \link QDomNode::NodeType ElementNode\endlink or
- \link QDomNode::NodeType AttributeNode\endlink can have
+ Only nodes of type \l{QDomNode::NodeType}{ElementNode} or
+ \l{QDomNode::NodeType}{AttributeNode} can have
namespaces. A namespace must have been specified at creation time;
it is not possible to add a namespace afterwards.
/*!
Inserts the node \a newChild before the child node \a refChild.
\a refChild must be a direct child of this node. If \a refChild is
- \link isNull() null\endlink then \a newChild is inserted as the
+ \l{isNull()}{null} then \a newChild is inserted as the
node's first child.
If \a newChild is the child of another node, it is reparented to
fragment are removed from the fragment and inserted before \a
refChild.
- Returns a new reference to \a newChild on success or a \link
- isNull() null node\endlink on failure.
+ Returns a new reference to \a newChild on success or a \l{isNull()}{null node} on failure.
The DOM specification disallow inserting attribute nodes, but due
to historical reasons QDom accept them nevertheless.
/*!
Inserts the node \a newChild after the child node \a refChild. \a
refChild must be a direct child of this node. If \a refChild is
- \link isNull() null\endlink then \a newChild is appended as this
+ \l{isNull()}{null} then \a newChild is appended as this
node's last child.
If \a newChild is the child of another node, it is reparented to
fragment are removed from the fragment and inserted after \a
refChild.
- Returns a new reference to \a newChild on success or a \link
- isNull() null node\endlink on failure.
+ Returns a new reference to \a newChild on success or a \l{isNull()}{null node} on failure.
The DOM specification disallow inserting attribute nodes, but due
to historical reasons QDom accept them nevertheless.
If \a newChild is a QDomDocumentFragment, then \a oldChild is
replaced by all of the children of the fragment.
- Returns a new reference to \a oldChild on success or a \link
- isNull() null node\endlink an failure.
+ Returns a new reference to \a oldChild on success or a \l{isNull()}{null node} an failure.
\sa insertBefore(), insertAfter(), removeChild(), appendChild()
*/
Removes \a oldChild from the list of children. \a oldChild must be
a direct child of this node.
- Returns a new reference to \a oldChild on success or a \link
- isNull() null node\endlink on failure.
+ Returns a new reference to \a oldChild on success or a \l{isNull()}{null node} on failure.
\sa insertBefore(), insertAfter(), replaceChild(), appendChild()
*/
already has an element node as a child, \a newChild is not added as
a child and a null node is returned.
- Returns a new reference to \a newChild on success or a \link
- isNull() null node\endlink on failure.
+ Returns a new reference to \a newChild on success or a \l{isNull()}{null node} on failure.
Calling this function on a null node(created, for example, with
- the default constructor) does nothing and returns a \link isNull()
- null node\endlink.
+ the default constructor) does nothing and returns a \l{isNull()}{null node}.
The DOM specification disallow inserting attribute nodes, but for
historical reasons, QDom accepts them anyway.
Returns the first direct child node for which nodeName() equals \a
name.
- If no such direct child exists, a \link isNull() null node\endlink
+ If no such direct child exists, a \l{isNull()}{null node}
is returned.
\sa nodeName()
/*!
Returns the node called \a name.
- If the named node map does not contain such a node, a \link
- QDomNode::isNull() null node\endlink is returned. A node's name is
+ If the named node map does not contain such a node, a
+ \l{QDomNode::isNull()}{null node} is returned. A node's name is
the name returned by QDomNode::nodeName().
\sa setNamedItem(), namedItemNS()
/*!
Removes the node called \a name from the map.
- The function returns the removed node or a \link
- QDomNode::isNull() null node\endlink if the map did not contain a
+ The function returns the removed node or a
+ \l{QDomNode::isNull()}{null node} if the map did not contain a
node called \a name.
\sa setNamedItem(), namedItem(), removeNamedItemNS()
Returns the node associated with the local name \a localName and
the namespace URI \a nsURI.
- If the map does not contain such a node, a \link
- QDomNode::isNull() null node\endlink is returned.
+ If the map does not contain such a node,
+ a \l{QDomNode::isNull()}{null node} is returned.
\sa setNamedItemNS(), namedItem()
*/
Removes the node with the local name \a localName and the
namespace URI \a nsURI from the map.
- The function returns the removed node or a \link
- QDomNode::isNull() null node\endlink if the map did not contain a
+ The function returns the removed node or a
+ \l{QDomNode::isNull()}{null node} if the map did not contain a
node with the local name \a localName and the namespace URI \a
nsURI.
/*!
Returns the string stored in this object.
- If the node is a \link isNull() null node\endlink, it will return
+ If the node is a \l{isNull()}{null node}, it will return
an empty string.
*/
QString QDomCharacterData::data() const
/*!
Returns the type of node this object refers to (i.e. \c TextNode,
\c CDATASectionNode, \c CommentNode or \c CharacterDataNode). For
- a \link isNull() null node\endlink, returns \c CharacterDataNode.
+ a \l{isNull()}{null node}, returns \c CharacterDataNode.
*/
QDomNode::NodeType QDomCharacterData::nodeType() const
{
}
/*!
- Returns the element node this attribute is attached to or a \link
- QDomNode::isNull() null node\endlink if this attribute is not
+ Returns the element node this attribute is attached to or a
+ \l{QDomNode::isNull()}{null node} if this attribute is not
attached to any element.
*/
QDomElement QDomAttr::ownerElement() const
/*!
\fn QDomNode::NodeType QDomAttr::nodeType() const
- Returns \link QDomNode::NodeType AttributeNode\endlink.
+ Returns \l{QDomNode::NodeType}{AttributeNode}.
*/
#undef IMPL
If the element has another attribute that has the same local name
and namespace URI as \a newAttr, this function replaces that
- attribute and returns it; otherwise the function returns a \link
- QDomNode::isNull() null attribute\endlink.
+ attribute and returns it; otherwise the function returns a
+ \l{QDomNode::isNull()}{null attribute}.
\sa attributeNodeNS(), setAttributeNS(), setAttributeNode()
*/
This function returns the imported node that belongs to this
document. The returned node has no parent. It is not possible to
import QDomDocument and QDomDocumentType nodes. In those cases
- this function returns a \link QDomNode::isNull() null node\endlink.
+ this function returns a \l{QDomNode::isNull()}{null node}.
If \a deep is true, this function imports not only the node \a
importedNode but its whole subtree; if it is false, only the \a
/*!
Returns the element whose ID is equal to \a elementId. If no
- element with the ID was found, this function returns a \link
- QDomNode::isNull() null element\endlink.
+ element with the ID was found, this function returns a
+ \l{QDomNode::isNull()}{null element}.
Since the QDomClasses do not know which attributes are element
- IDs, this function returns always a \link QDomNode::isNull() null
- element\endlink. This may change in a future version.
+ IDs, this function returns always a
+ \l{QDomNode::isNull()}{null element}.
+ This may change in a future version.
*/
QDomElement QDomDocument::elementById(const QString& /*elementId*/)
{
/*!
Converts a QDomNode into a QDomAttr. If the node is not an
- attribute, the returned object will be \link QDomNode::isNull()
- null\endlink.
+ attribute, the returned object will be \l{QDomNode::isNull()}{null}.
\sa isAttr()
*/
/*!
Converts a QDomNode into a QDomCDATASection. If the node is not a
- CDATA section, the returned object will be \link
- QDomNode::isNull() null\endlink.
+ CDATA section, the returned object will be \l{QDomNode::isNull()}{null}.
\sa isCDATASection()
*/
/*!
Converts a QDomNode into a QDomDocumentFragment. If the node is
- not a document fragment the returned object will be \link
- QDomNode::isNull() null\endlink.
+ not a document fragment the returned object will be \l{QDomNode::isNull()}{null}.
\sa isDocumentFragment()
*/
/*!
Converts a QDomNode into a QDomDocument. If the node is not a
- document the returned object will be \link QDomNode::isNull()
- null\endlink.
+ document the returned object will be \l{QDomNode::isNull()}{null}.
\sa isDocument()
*/
/*!
Converts a QDomNode into a QDomDocumentType. If the node is not a
- document type the returned object will be \link QDomNode::isNull()
- null\endlink.
+ document type the returned object will be \l{QDomNode::isNull()}{null}.
\sa isDocumentType()
*/
/*!
Converts a QDomNode into a QDomElement. If the node is not an
- element the returned object will be \link QDomNode::isNull()
- null\endlink.
+ element the returned object will be \l{QDomNode::isNull()}{null}.
\sa isElement()
*/
/*!
Converts a QDomNode into a QDomEntityReference. If the node is not
- an entity reference, the returned object will be \link
- QDomNode::isNull() null\endlink.
+ an entity reference, the returned object will be \l{QDomNode::isNull()}{null}.
\sa isEntityReference()
*/
/*!
Converts a QDomNode into a QDomText. If the node is not a text,
- the returned object will be \link QDomNode::isNull() null\endlink.
+ the returned object will be \l{QDomNode::isNull()}{null}.
\sa isText()
*/
/*!
Converts a QDomNode into a QDomEntity. If the node is not an
- entity the returned object will be \link QDomNode::isNull()
- null\endlink.
+ entity the returned object will be \l{QDomNode::isNull()}{null}.
\sa isEntity()
*/
/*!
Converts a QDomNode into a QDomNotation. If the node is not a
- notation the returned object will be \link QDomNode::isNull()
- null\endlink.
+ notation the returned object will be \l{QDomNode::isNull()}{null}.
\sa isNotation()
*/
/*!
Converts a QDomNode into a QDomProcessingInstruction. If the node
- is not a processing instruction the returned object will be \link
- QDomNode::isNull() null\endlink.
+ is not a processing instruction the returned object will be \l{QDomNode::isNull()}{null}.
\sa isProcessingInstruction()
*/
/*!
Converts a QDomNode into a QDomCharacterData. If the node is not a
- character data node the returned object will be \link
- QDomNode::isNull() null\endlink.
+ character data node the returned object will be \l{QDomNode::isNull()}{null}.
\sa isCharacterData()
*/
/*!
Converts a QDomNode into a QDomComment. If the node is not a
- comment the returned object will be \link QDomNode::isNull()
- null\endlink.
+ comment the returned object will be \l{QDomNode::isNull()}{null}.
\sa isComment()
*/