 |
Xalan-C++ API Reference
1.12.0
|
Go to the documentation of this file.
18 #if !defined(XERCESTEXTBRIDGE_HEADER_GUARD_1357924680)
19 #define XERCESTEXTBRIDGE_HEADER_GUARD_1357924680
27 #if XERCES_VERSION_MAJOR >= 2
28 #include <xercesc/dom/deprecated/DOM_Text.hpp>
30 #include <xercesc/dom/DOM_Text.hpp>
46 class XercesBridgeNavigator;
458 unsigned int count)
const;
600 #endif // !defined(XERCESTEXTBRIDGE_HEADER_GUARD_1357924680)
virtual XalanNode * getLastChild() const
Gets the last child of this node.
virtual NodeType getNodeType() const
An enum value representing the type of the underlying object.
virtual XalanNode * getPreviousSibling() const
Gets the node immediately preceding this node.
virtual XalanNode * getNextSibling() const
Gets the node immediately following this node.
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
virtual XalanNode * appendChild(XalanNode *newChild)
Adds the node newChild to the end of the list of children of this node.
virtual XalanNode * insertBefore(XalanNode *newChild, XalanNode *refChild)
Inserts the node newChild before the existing child node refChild.
DOM_TextType getXercesNode() const
Get the Xerces node this instance represent.
virtual void normalize()
Puts all DOM_Text nodes in the full depth of the sub-tree underneath this DOM_Node,...
virtual const XalanDOMString & getNodeName() const
Gets the name of this node.
virtual const XalanDOMString & getNodeValue() const
Gets the value of this node, depending on its type.
virtual void setNodeValue(const XalanDOMString &nodeValue)
Sets the value of the node.
virtual XalanNode * removeChild(XalanNode *oldChild)
Removes the child node indicated by oldChild from the list of children, and returns it.
virtual XalanNode * getFirstChild() const
Gets the first child of this node.
virtual const XalanDOMString & getPrefix() const
Get the namespace prefix of this node, or null if it is unspecified.
virtual const XalanNamedNodeMap * getAttributes() const
Gets a NamedNodeMap containing the attributes of this node (if it is an Element) or null otherwise.
virtual void replaceData(unsigned int offset, unsigned int count, const XalanDOMString &arg)
Replace the characters starting at the specified character offset with the specified string.
virtual void appendData(const XalanDOMString &arg)
Append the string to the end of the character data of the node.
virtual void insertData(unsigned int offset, const XalanDOMString &arg)
Insert a string at the specified character offset.
virtual bool isIndexed() const
Determine if the document is node-order indexed.
virtual ~XercesTextBridge()
XercesTextBridge(const DOM_TextType &theXercesText, const XercesBridgeNavigator &theNavigator)
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)
virtual XalanText * splitText(unsigned int offset)
Breaks this node into two nodes at the specified offset, keeping both in the tree as siblings.
virtual XalanDOMString substringData(unsigned int offset, unsigned int count) const
Extracts a range of data from the node.
virtual void deleteData(unsigned int offset, unsigned int count)
Remove a range of characters from the node.
virtual IndexType getIndex() const
Get the node's index.
xercesc::DOM_Text DOM_TextType
virtual const XalanNodeList * getChildNodes() const
Gets a NodeList that contains all children of this node.
This class is deprecated.
virtual void setPrefix(const XalanDOMString &prefix)
Set the namespace prefix of this node.
virtual const XalanDOMString & getNamespaceURI() const
Get the namespace URI of this node, or null if it is unspecified.
virtual bool isSupported(const XalanDOMString &feature, const XalanDOMString &version) const
Tests whether the DOM implementation implements a specific feature and that feature is supported by t...
#define XALAN_XERCESPARSERLIAISON_EXPORT
virtual XalanDocument * getOwnerDocument() const
Gets the DOM_Document object associated with this node.
virtual bool isWhitespace() const
Determine whether the text node instance is composed entirely of XML whitespace.
virtual const XalanDOMString & getData() const
Returns the character data of the node that implements this interface.
virtual bool hasChildNodes() const
This is a convenience method to allow easy determination of whether a node has any children.
virtual XercesTextBridge * cloneNode(bool deep) const
Returns a duplicate of this node.
This class is deprecated.
virtual XalanNode * replaceChild(XalanNode *newChild, XalanNode *oldChild)
Replaces the child node oldChild with newChild in the list of children, and returns the oldChild node...
virtual unsigned int getLength() const
Returns the number of characters that are available through data and the substringData method below.
virtual const XalanDOMString & getLocalName() const
Returns the local part of the qualified name of this node.
virtual XalanNode * getParentNode() const
Gets the parent of this node.