Packages » Package simpledom » Class SDNode

Class SDNode

Declaration:
<? class SDNode ?>

Description:
This is a base class for all elements in SimpleDOM API.

Authors:
  • Dennis Popel

Methods:
  • __construct()
    Construct a node
  • getParent()
    Get the parent of this node
  • setParent()
    Set the parent of this node. Only SDElement or descendants can be parents for nodes.
  • toString()
    This abstract method must be overridden by subclasses to return the xml representation of the node after the parsing