Library: XML
Package: DOM
Header: Poco/DOM/ProcessingInstruction.h
The ProcessingInstruction interface represents a "processing instruction", used in XML as a way to keep processor-specific information in the text of the document.
Direct Base Classes: AbstractNode
All Base Classes: AbstractNode, DOMObject, EventTarget, Node
Member Functions: copyNode, data, getData, getNodeValue, nodeName, nodeType, setData, setNodeValue, target
Inherited Functions: addEventListener, appendChild, attributes, autoRelease, bubbleEvent, captureEvent, childNodes, cloneNode, copyNode, dispatchAttrModified, dispatchCharacterDataModified, dispatchEvent, dispatchNodeInserted, dispatchNodeInsertedIntoDocument, dispatchNodeRemoved, dispatchNodeRemovedFromDocument, dispatchSubtreeModified, duplicate, events, eventsSuspended, firstChild, getNodeByPath, getNodeByPathNS, getNodeValue, hasAttributes, hasChildNodes, innerText, insertBefore, isSupported, lastChild, localName, namespaceURI, nextSibling, nodeName, nodeType, nodeValue, normalize, ownerDocument, parentNode, prefix, previousSibling, release, removeChild, removeEventListener, replaceChild, setNodeValue, setOwnerDocument
ProcessingInstruction(
Document * pOwnerDocument,
const ProcessingInstruction & processingInstruction
);
ProcessingInstruction(
Document * pOwnerDocument,
const XMLString & target,
const XMLString & data
);
const XMLString & data() const;
Returns the content of this processing instruction. This is from the first non white space character after the target to the character immediately preceding the ?>.
const XMLString & getData() const;
Returns the content of this processing instruction. This is from the first non white space character after the target to the character immediately preceding the ?>.
const XMLString & getNodeValue() const;
See also: Poco::XML::AbstractNode::getNodeValue()
const XMLString & nodeName() const;
See also: Poco::XML::AbstractNode::nodeName()
unsigned short nodeType() const;
See also: Poco::XML::Node::nodeType()
void setData(
const XMLString & data
);
Sets the content of this processing instruction.
void setNodeValue(
const XMLString & data
);
See also: Poco::XML::AbstractNode::setNodeValue()
const XMLString & target() const;
Returns the target of this processing instruction. XML defines this as being the first token following the markup that begins the processing instruction.
Node * copyNode(
bool deep,
Document * pOwnerDocument
) const;
See also: Poco::XML::AbstractNode::copyNode()