The DOMCdataSection class

Introduction

The DOMCdataSection inherits from DOMText for textual representation of CData constructs.

Class synopsis

DOMCdataSection
extends DOMText
/* Inherited properties */
public readonly string $wholeText;
public string $data;
public readonly int $length;
public readonly DOMElementnull $previousElementSibling;
public readonly DOMElementnull $nextElementSibling;
public readonly string $nodeName;
public stringnull $nodeValue;
public readonly int $nodeType;
public readonly DOMNodenull $parentNode;
public readonly DOMElementnull $parentElement;
public readonly DOMNodeList $childNodes;
public readonly DOMNodenull $firstChild;
public readonly DOMNodenull $lastChild;
public readonly DOMNodenull $previousSibling;
public readonly DOMNodenull $nextSibling;
public readonly DOMNamedNodeMapnull $attributes;
public readonly bool $isConnected;
public readonly DOMDocumentnull $ownerDocument;
public readonly stringnull $namespaceURI;
public string $prefix;
public readonly stringnull $localName;
public readonly stringnull $baseURI;
public string $textContent;
/* Methods */
public DOMCdataSection::__construct(string $data)
/* Inherited methods */
public bool isElementContentWhitespace()
public bool isWhitespaceInElementContent()
public DOMTextfalse splitText(int $offset)
public void DOMCharacterData::after(DOMNodestring ...$nodes)
public true DOMCharacterData::appendData(string $data)
public void DOMCharacterData::before(DOMNodestring ...$nodes)
public bool DOMCharacterData::deleteData(int $offset, int $count)
public bool DOMCharacterData::insertData(int $offset, string $data)
public void DOMCharacterData::remove()
public bool DOMCharacterData::replaceData(int $offset, int $count, string $data)
public void DOMCharacterData::replaceWith(DOMNodestring ...$nodes)
public stringfalse DOMCharacterData::substringData(int $offset, int $count)
public DOMNodefalse DOMNode::appendChild(DOMNode $node)
public stringfalse DOMNode::C14N(
    bool $exclusive = false,
    bool $withComments = false,
    arraynull $xpath = null,
    arraynull $nsPrefixes = null
)
public intfalse DOMNode::C14NFile(
    string $uri,
    bool $exclusive = false,
    bool $withComments = false,
    arraynull $xpath = null,
    arraynull $nsPrefixes = null
)
public DOMNodefalse DOMNode::cloneNode(bool $deep = false)
public int DOMNode::compareDocumentPosition(DOMNode $other)
public bool DOMNode::contains(DOMNodeDOMNameSpaceNodenull $other)
public int DOMNode::getLineNo()
public stringnull DOMNode::getNodePath()
public DOMNode DOMNode::getRootNode(arraynull $options = null)
public bool DOMNode::hasAttributes()
public bool DOMNode::hasChildNodes()
public DOMNodefalse DOMNode::insertBefore(DOMNode $node, DOMNodenull $child = null)
public bool DOMNode::isDefaultNamespace(string $namespace)
public bool DOMNode::isEqualNode(DOMNodenull $otherNode)
public bool DOMNode::isSameNode(DOMNode $otherNode)
public bool DOMNode::isSupported(string $feature, string $version)
public stringnull DOMNode::lookupNamespaceURI(stringnull $prefix)
public stringnull DOMNode::lookupPrefix(string $namespace)
public void DOMNode::normalize()
public DOMNodefalse DOMNode::removeChild(DOMNode $child)
public DOMNodefalse DOMNode::replaceChild(DOMNode $node, DOMNode $child)
Table of Contents