Class ProcessingInstruction

Node
  |
  +--ProcessingInstruction

public class ProcessingInstruction
extends Node

Class representing the DOM ProcessingInstruction interface.


Field Summary
private  string $data
          The data portion of this PI.
DOM-Level 1
private  string $target
          The target portion of this PI.
DOM-Level 1
 
Fields inherited from class Node
$attributes, $childNodes, $firstChild, $lastChild, $localName, $namespaceURI, $nextSibling, $nodeID, $nodeName, $nodeType, $nodeValue, $ownerDocument, $parentNode, $prefix, $previousSibling, $readonly
 
Constructor Summary
ProcessingInstruction()
          Constructor of the class.
 
Method Summary
 string getData()
          Returns the data portion of this PI.
DOM-Level 1
 string getTarget()
          Returns the target of this PI.
DOM-Level 1
 string setData(var $data)
          Sets the data portion of this PI.
DOM-Level 1
 
Methods inherited from class Node
appendChild, checkDocument, checkHierarchy, cloneNode, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix
 

Field Detail

$data

private string $data
The data portion of this PI.
DOM-Level 1

$target

private string $target
The target portion of this PI.
DOM-Level 1
Constructor Detail

ProcessingInstruction

public ProcessingInstruction()
Constructor of the class.
Method Detail

getData

public string getData()
Returns the data portion of this PI.
DOM-Level 1

setData

public string setData(var $data)
Sets the data portion of this PI.
DOM-Level 1
Parameters:
$data - string

getTarget

public string getTarget()
Returns the target of this PI.
DOM-Level 1