Packages » Package simpledom » Class SDProcessingInstruction

Class SDProcessingInstruction

Declaration:
<? class SDProcessingInstruction extends SDNode ?>

Description:
This class encapsulates a single processing instruction encountered in the source XML document. SDDocument implementations may want to extend this class to provide useful functionality of PIs.

Parent Classes:
SDNode

Authors:
  • Dennis Popel

Methods:
  • __construct()
    Construct a PI node with specified target and data
  • getData()
    Get the data of this PI
  • getTarget()
    Get the target of this PI
  • setData()
    Set the data of this PI
  • setTarget()
    Set the target of this PI
  • toString()
    This abstract method must be overridden by subclasses to return the xml representation of the node after the parsing