|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kde.koala.Node
org.kde.koala.CharacterData
org.kde.koala.Text
org.kde.koala.CDATASection
public class CDATASection
CDATA sections are used to escape blocks of text containing
characters that would otherwise be regarded as markup. The only
delimiter that is recognized in a CDATA section is the "]]>"
string that ends the CDATA section. CDATA sections can not be
nested. The primary purpose is for including material such as XML
fragments, without needing to escape all the delimiters.
The DOMString
attribute of the Text
node holds the text that is contained by the CDATA section. Note
that this may contain characters that need to be escaped outside of
CDATA sections and that, depending on the character encoding
("charset") chosen for serialization, it may be impossible to write
out some characters as part of a CDATA section.
The CDATASection
interface inherits the
CharacterData
interface through the Text
interface. Adjacent CDATASections
nodes are not
merged by use of the Element.normalize() method.
Constructor Summary | |
---|---|
|
CDATASection()
|
|
CDATASection(CDATASection other)
|
protected |
CDATASection(java.lang.Class dummy)
|
|
CDATASection(Node other)
|
Method Summary |
---|
Methods inherited from class org.kde.koala.Text |
---|
splitText |
Methods inherited from class org.kde.koala.CharacterData |
---|
appendData, data, deleteData, insertData, length, replaceData, setData, substringData |
Methods inherited from class org.kde.koala.Node |
---|
addEventListener, appendChild, applyChanges, attributes, childNodes, cloneNode, dispatchEvent, elementId, firstChild, getRect, hasAttributes, hasChildNodes, index, insertBefore, isNull, isSupported, lastChild, localName, namespaceURI, nextSibling, nodeName, nodeType, nodeValue, normalize, op_equals, op_not_equals, ownerDocument, parentNode, prefix, previousSibling, removeChild, removeEventListener, replaceChild, setNodeValue, setPrefix |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected CDATASection(java.lang.Class dummy)
public CDATASection()
public CDATASection(CDATASection other)
public CDATASection(Node other)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |