< DOMText > Protocol Reference
Inheritance diagram for < DOMText >:
Detailed Description
Represents a text node in an XML-document.
Public Member Functions |
|
| (void) | splitAtOffset: |
| (BOOL) | isWhitespaceInElementContent |
| (id< DOMText >) | replaceWholeText: |
| (NSString *) | wholeText |
Member Function Documentation
|
|
"Returns whether this text node contains whitespace in element content, often abusively called 'ignorable whitespace'." Returns true if the node only contains characters in the set returned by NSCharacterSet's whitespaceAndNewlineCharacterSet. |
|
|
"Substitutes the specified text for the text of the current node and all logically-adjacent text nodes." All logically-adjacent text are removed save for the one recieving the replacement text.
|
|
|
"Breaks this node into two nodes at the specified offset, keeping both in the tree as siblings." If the offset is equal to the length of this text, a new empty node is created.
|
|
|
"Returns all text of text nodes logically adjacent to this node in document order." Logically adjacent text nodes are nodes that can be visited in document order without passing, entering or exiting other node types than text and cdata sections. |