AnewtXMLDomRaw Class Reference

Raw text DOM node. More...

List of all members.

Public Member Functions

 __construct ($data)
 Construct a new AnewtXMLDomRaw node.
 render ()
 Render this node to a string.

Public Attributes

 $node_type = ANEWT_XML_DOM_RAW_NODE
 The node type.
 $node_name = '#raw'
 The name of this node, depending on its type.


Detailed Description

Raw text DOM node.

This is an Anewt-specific extension class that allows one to use strings containing XML snippets (that are assumed to be well-formed) as nodes in a DOM tree. Example usage: preformatted XHTML stuff, or snippets of XML generated by other code (e.g. by text-to-markup convertors).

Definition at line 1304 of file dom.lib.php.


Constructor & Destructor Documentation

AnewtXMLDomRaw::__construct ( data  ) 

Construct a new AnewtXMLDomRaw node.

Don't call this method directly, use Document::create_raw_node instead.

Parameters:
$data The data for this node

Definition at line 1317 of file dom.lib.php.


Member Function Documentation

AnewtXMLDomRaw::render (  ) 

Render this node to a string.

Returns:
Rendered string with XML data.

Definition at line 1328 of file dom.lib.php.


Member Data Documentation

AnewtXMLDomRaw::$node_type = ANEWT_XML_DOM_RAW_NODE

The node type.

See also:
http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-1060184317

Reimplemented from AnewtXMLDomNode.

Definition at line 1306 of file dom.lib.php.

AnewtXMLDomRaw::$node_name = '#raw'

The name of this node, depending on its type.

See also:
http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-F68D095

Reimplemented from AnewtXMLDomNode.

Definition at line 1307 of file dom.lib.php.


The documentation for this class was generated from the following file:

Generated on Sun Aug 2 22:54:38 2009 for Anewt by  doxygen 1.5.9