artefaktur
software engineer &        architecture

 
 
 
 

class LibXMLText

Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::xml::libxmldom::LibXMLText Class Reference

#include <LibXMLText.h>

Inheritance diagram for acdk::xml::libxmldom::LibXMLText:

acdk::xml::libxmldom::LibXMLCharacterData org::w3c::dom::Text acdk::xml::libxmldom::LibXMLNode org::w3c::dom::CharacterData acdk::lang::Object org::w3c::dom::Node acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch acdk::xml::libxmldom::LibXMLCDATASection List of all members.

Public Member Functions

 LibXMLText (xmlNodePtr np, bool ownsPtr=false)
org::w3c::dom::RText splitText (int offset) throw ( org::w3c::dom::RDOMException )
 Breaks this node into two nodes at the specified offset, keeping both in the tree as siblings.

bool isElementContentWhitespace ()
RString getWholeText ()
org::w3c::dom::RText replaceWholeText (RString content) throw ( org::w3c::dom::RDOMException )
RString toXML ()
 dom4j like extension


Constructor & Destructor Documentation

acdk::xml::libxmldom::LibXMLText::LibXMLText xmlNodePtr  np,
bool  ownsPtr = false
[inline]
 


Member Function Documentation

RString acdk::xml::libxmldom::LibXMLText::getWholeText  ) 
 

bool acdk::xml::libxmldom::LibXMLText::isElementContentWhitespace  ) 
 

org::w3c::dom::RText acdk::xml::libxmldom::LibXMLText::replaceWholeText RString  content  )  throw ( org::w3c::dom::RDOMException )
 

org::w3c::dom::RText acdk::xml::libxmldom::LibXMLText::splitText int  offset  )  throw ( org::w3c::dom::RDOMException ) [virtual]
 

Breaks this node into two nodes at the specified offset, keeping both in the tree as siblings.

After being split, this node will contain all the content up to the offset point. A new node of the same type, which contains all the content at and after the offset point, is returned. If the original node had a parent node, the new node is inserted as the next sibling of the original node. When the offset is equal to the length of this node, the new node has no data.

Parameters:
offset The 16-bit unit offset at which to split, starting from 0.
Returns:
The new node, of the same type as this node.
Exceptions:
DOMException INDEX_SIZE_ERR: Raised if the specified offset is negative or greater than the number of 16-bit units in data.
NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.

Implements org::w3c::dom::Text.

RString acdk::xml::libxmldom::LibXMLText::toXML  )  [inline, virtual]
 

dom4j like extension

Todo:
implement in derived interfaces

Reimplemented from acdk::xml::libxmldom::LibXMLCharacterData.

Reimplemented in acdk::xml::libxmldom::LibXMLCDATASection.

 
Last modified 2005-05-08 18:34 by SYSTEM By Artefaktur, Ing. Bureau Kommer