Class DOMIT_CharacterData

Description

A parent class for Text and CDATA Section nodes

Located in /includes/domit/xml_domit_parser.php (line 2295)

DOMIT_Node
   |
   --DOMIT_CharacterData
Direct descendents
Class Description
DOMIT_TextNode A class representing the DOM Text Node
DOMIT_Comment A class representing the DOM Comment node
Method Summary
DOMIT_CharacterData DOMIT_CharacterData ()
void appendData (string $arg)
void deleteData (int $offset, int $count)
string getData ()
int getLength ()
void insertData (int $offset, string $arg)
void replaceData (int $offset, int $count, string $arg)
string substringData (int $offset, int $count)
Variables
Methods
Constructor DOMIT_CharacterData (line 2300)

Prevents direct instantiation of DOMIT_CharacterData class

  • abstract:
DOMIT_CharacterData DOMIT_CharacterData ()
appendData (line 2346)

Appends the specified text to the current node text

void appendData (string $arg)
  • string $arg: The text to be appended
deleteData (line 2378)

Deletes a subset of the current node text

void deleteData (int $offset, int $count)
  • int $offset: The starting point of the deletion
  • int $count: The length of the deletion
getData (line 2309)

Gets the node value of the current text node

  • return: The node value of the current text node
string getData ()
getLength (line 2317)

Gets the length of the text in the current node

  • return: The length of the text in the current node
int getLength ()
insertData (line 2355)

Inserts text at the sepecified offset

void insertData (int $offset, string $arg)
  • int $offset: The insertion point
  • string $arg: The text to be inserted
replaceData (line 2402)

Replaces a subset of the current node text with the specified text

void replaceData (int $offset, int $count, string $arg)
  • int $offset: The starting point of the replacement
  • int $count: The length of the replacement
  • string $arg: The replacement text
substringData (line 2327)

Gets a subset of the current node text

  • return: The subset of the current node text
string substringData (int $offset, int $count)
  • int $offset: The starting point of the substring
  • int $count: The length of the substring

Inherited Methods

Inherited From DOMIT_Node

DOMIT_Node::DOMIT_Node()
DOMIT_Node::appendChild()
DOMIT_Node::clearReferences()
DOMIT_Node::cloneNode()
DOMIT_Node::forHTML()
DOMIT_Node::getChildNodeIndex()
DOMIT_Node::getElementsByAttributePath()
DOMIT_Node::getElementsByPath()
DOMIT_Node::getNamedElements()
DOMIT_Node::getText()
DOMIT_Node::getTypedNodes()
DOMIT_Node::getValuedNodes()
DOMIT_Node::hasAttributes()
DOMIT_Node::hasChildNodes()
DOMIT_Node::insertBefore()
DOMIT_Node::isSupported()
DOMIT_Node::normalize()
DOMIT_Node::nvl()
DOMIT_Node::onLoad()
DOMIT_Node::removeChild()
DOMIT_Node::replaceChild()
DOMIT_Node::setOwnerDocument()
DOMIT_Node::toArray()
DOMIT_Node::toNormalizedString()
DOMIT_Node::_constructor()

Documentation generated on Fri, 4 Mar 2005 13:57:44 +1000 by phpDocumentor 1.3.0RC3