Class Text

Node
  |
  +--CharacterData
        |
        +--Text
Direct Known Subclasses:
CDataSection

public class Text
extends CharacterData

Class representing the DOM Text interface


Fields inherited from class CharacterData
$data, $length
 
Fields inherited from class Node
$attributes, $childNodes, $firstChild, $lastChild, $localName, $namespaceURI, $nextSibling, $nodeID, $nodeName, $nodeType, $nodeValue, $ownerDocument, $parentNode, $prefix, $previousSibling, $readonly
 
Constructor Summary
Text()
          Constructor of the class.
 
Method Summary
 Text splitText(var $offset)
          Splits a Text node into two adjacent Text nodes.
DOM-Level 1
 
Methods inherited from class CharacterData
appendData, deleteData, getData, getLength, insertData, replaceData, setData, substringData
 
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
 

Constructor Detail

Text

public Text()
Constructor of the class.
Method Detail

splitText

public Text splitText(var $offset)
Splits a Text node into two adjacent Text nodes.
DOM-Level 1