|
| XercesDocumentBridge (const DOM_Document_Type &theXercesDocument, bool threadSafe=true, bool buildBridge=true) |
| Constructor for XercesDocumentBridge.
|
|
virtual | ~XercesDocumentBridge () |
|
virtual const XalanDOMString & | getNodeName () const |
| Gets the name of this node, depending on its type.
|
|
virtual const XalanDOMString & | getNodeValue () const |
| Gets the value of this node, depending on its type.
|
|
virtual NodeType | getNodeType () const |
| An enum value representing the type of the underlying object.
|
|
virtual XalanNode * | getParentNode () const |
| Gets the parent of this node.
|
|
virtual const XalanNodeList * | getChildNodes () const |
| Gets a NodeList that contains all children of this node.
|
|
virtual XalanNode * | getFirstChild () const |
| Gets the first child of this node.
|
|
virtual XalanNode * | getLastChild () const |
| Gets the last child of this node.
|
|
virtual XalanNode * | getPreviousSibling () const |
| Gets the node immediately preceding this node.
|
|
virtual XalanNode * | getNextSibling () const |
| Gets the node immediately following this node.
|
|
virtual const XalanNamedNodeMap * | getAttributes () const |
| Gets a NamedNodeMap containing the attributes of this node (if it is an Element ) or null otherwise.
|
|
virtual XalanDocument * | getOwnerDocument () const |
| Gets the Document object associated with this node.
|
|
virtual XercesDocumentBridge * | cloneNode (bool deep) const |
|
virtual XalanNode * | insertBefore (XalanNode *newChild, XalanNode *refChild) |
|
virtual XalanNode * | replaceChild (XalanNode *newChild, XalanNode *oldChild) |
|
virtual XalanNode * | removeChild (XalanNode *oldChild) |
|
virtual XalanNode * | appendChild (XalanNode *newChild) |
|
virtual bool | hasChildNodes () const |
|
virtual void | setNodeValue (const XalanDOMString &nodeValue) |
|
virtual void | normalize () |
|
virtual bool | isSupported (const XalanDOMString &feature, const XalanDOMString &version) const |
|
virtual const XalanDOMString & | getNamespaceURI () const |
| Get the namespace URI of this node, or null if it is unspecified.
|
|
virtual const XalanDOMString & | getPrefix () const |
| Get the namespace prefix of this node, or null if it is unspecified.
|
|
virtual const XalanDOMString & | getLocalName () const |
| Returns the local part of the qualified name of this node.
|
|
virtual void | setPrefix (const XalanDOMString &prefix) |
|
virtual bool | isIndexed () const |
| Determine if the document is node-order indexed.
|
|
virtual IndexType | getIndex () const |
| Get the node's index.
|
|
virtual XalanElement * | createElement (const XalanDOMString &tagName) |
|
virtual XalanDocumentFragment * | createDocumentFragment () |
|
virtual XalanText * | createTextNode (const XalanDOMString &data) |
|
virtual XalanComment * | createComment (const XalanDOMString &data) |
|
virtual XalanCDATASection * | createCDATASection (const XalanDOMString &data) |
|
virtual XalanProcessingInstruction * | createProcessingInstruction (const XalanDOMString &target, const XalanDOMString &data) |
|
virtual XalanAttr * | createAttribute (const XalanDOMString &name) |
|
virtual XalanEntityReference * | createEntityReference (const XalanDOMString &name) |
|
virtual XalanDocumentType * | getDoctype () const |
|
virtual XalanDOMImplementation * | getImplementation () const |
|
virtual XalanElement * | getDocumentElement () const |
| Return a reference to the root element of the document.
|
|
virtual XalanNodeList * | getElementsByTagName (const XalanDOMString &tagname) const |
|
virtual XalanNode * | importNode (XalanNode *importedNode, bool deep) |
|
virtual XalanElement * | createElementNS (const XalanDOMString &namespaceURI, const XalanDOMString &qualifiedName) |
|
virtual XalanAttr * | createAttributeNS (const XalanDOMString &namespaceURI, const XalanDOMString &qualifiedName) |
|
virtual XalanNodeList * | getElementsByTagNameNS (const XalanDOMString &namespaceURI, const XalanDOMString &localName) const |
|
virtual XalanElement * | getElementById (const XalanDOMString &elementId) const |
| Returns the Element whose ID is given by elementId .
|
|
void | destroyBridge () |
| Destroy the entire bridge structure that connects the Xerces document to this XercesDocumentBridge instance.
|
|
void | rebuildBridge () |
| Rebuild the entire bridge structure that connects the Xerces document to this XercesDocumentBridge instance.
|
|
XalanNode * | mapNode (const DOM_NodeType &theXercesNode) const |
|
XalanAttr * | mapNode (const DOM_AttrType &theXercesNode) const |
|
XalanElement * | mapNode (const DOM_ElementType &theXercesNode) const |
|
DOM_NodeType | mapNode (const XalanNode *theXalanNode) const |
|
DOM_AttrType | mapNode (const XalanAttr *theXalanNode) const |
|
NodeImplType * | mapNodeToImpl (const XalanNode *theXalanNode) const |
|
DOM_Document_Type | getXercesDocument () const |
| Get the Xerces DOM_Document that this XercesDocument represents.
|
|
void | buildBridgeNodes () |
| Build the entire bridge structure.
|
|
const XalanDOMString & | getPooledString (const XalanDOMString &theString) const |
| Get a pooled string.
|
|
const XalanDOMString & | getPooledString (const XalanDOMChar *theString, XalanDOMString::size_type theLength) const |
| Get a pooled string.
|
|
Public Member Functions inherited from xalanc::XalanDocument |
| XalanDocument () |
|
virtual | ~XalanDocument () |
|
| XalanNode () |
|
virtual | ~XalanNode () |
|
This class is deprecated.
- Deprecated:
- This class is part of the deprecated Xerces DOM bridge.
Definition at line 92 of file XercesDocumentBridge.hpp.
Returns the Element
whose ID is given by elementId
.
If no such element exists, returns null
. Behavior is not defined if more than one element has this ID
.
Note: The DOM implementation must have information that says which attributes are of type ID. Attributes with the name "ID" are not of type ID unless so defined. Implementations that do not know whether attributes are of type ID or not are expected to return null
.
- Parameters
-
elementId | The unique id value for an element. |
- Returns
- The matching element.
Implements xalanc::XalanDocument.
Get the namespace URI of this node, or null
if it is unspecified.
This is not a computed value that is the result of a namespace lookup based on an examination of the namespace declarations in scope. It is merely the namespace URI given at creation time.
For nodes of any type other than ELEMENT_NODE
and ATTRIBUTE_NODE
and nodes created with a DOM Level 1 method, such as createElement
from the Document
interface, this is always null
.
Implements xalanc::XalanDocument.
Gets the parent of this node.
All nodes, except Document
, DocumentFragment
, and Attr
may have a parent. However, if a node has just been created and not yet added to the tree, or if it has been removed from the tree, a null
Node is returned.
Implements xalanc::XalanDocument.