 |
Xalan-C++ API Reference
1.12.0
|
Go to the documentation of this file.
18 #if !defined(XERCESDOCUMENTBRIDGE_HEADER_GUARD_1357924680)
19 #define XERCESDOCUMENTBRIDGE_HEADER_GUARD_1357924680
32 #if XERCES_VERSION_MAJOR >= 2
33 #include <xercesc/dom/deprecated/DOM_Document.hpp>
35 #include <xercesc/dom/DOM_Document.hpp>
44 #if defined(XALAN_AUTO_PTR_REQUIRES_DEFINITION)
73 class XalanDOMStringPool;
74 class XercesAttrBridge;
75 class XercesCommentBridge;
76 class XercesCDATASectionBridge;
77 class XercesDocumentFragmentBridge;
78 class XercesDocumentTypeBridge;
79 class XercesElementBridge;
80 class XercesEntityBridge;
81 class XercesEntityReferenceBridge;
82 class XercesProcessingInstructionBridge;
83 class XercesNotationBridge;
84 class XercesTextBridge;
115 bool threadSafe =
true,
116 bool buildBridge =
true);
318 return m_xercesDocument;
355 m_navigator(theNavigator),
410 const XalanDOMChar* theString,
516 pushNavigator(
bool mappingMode)
const;
562 #endif // !defined(XERCESDOCUMENTBRIDGE_HEADER_GUARD_1357924680)
XalanElement * mapNode(const DOM_ElementType &theXercesNode) const
virtual XalanElement * createElementNS(const XalanDOMString &namespaceURI, const XalanDOMString &qualifiedName)
NavigatorStackEntryType(XercesBridgeNavigator *theNavigator=0, XalanNode *theNode=0)
virtual IndexType getIndex() const
Get the node's index.
virtual XalanNode * getNextSibling() const
Gets the node immediately following this node.
virtual const XalanDOMString & getLocalName() const
Returns the local part of the qualified name of this node.
XalanNode * mapNode(const DOM_NodeType &theXercesNode) const
virtual const XalanNodeList * getChildNodes() const
Gets a NodeList that contains all children of this node.
virtual XalanElement * getElementById(const XalanDOMString &elementId) const
Returns the Element whose ID is given by elementId.
XercesDocumentBridge(const DOM_Document_Type &theXercesDocument, bool threadSafe=true, bool buildBridge=true)
Constructor for XercesDocumentBridge.
virtual const XalanDOMString & getPrefix() const
Get the namespace prefix of this node, or null if it is unspecified.
virtual void setNodeValue(const XalanDOMString &nodeValue)
virtual bool isIndexed() const
Determine if the document is node-order indexed.
This class is deprecated.
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
virtual XalanNode * getLastChild() const
Gets the last child of this node.
XalanDeque< XalanNode * > NodeVectorType
xercesc::DOM_ProcessingInstruction DOM_ProcessingInstructionType
XalanAttr * mapNode(const DOM_AttrType &theXercesNode) const
XercesBridgeNavigator * m_navigator
virtual const XalanDOMString & getNamespaceURI() const
Get the namespace URI of this node, or null if it is unspecified.
virtual XalanCDATASection * createCDATASection(const XalanDOMString &data)
This class is deprecated.
virtual XalanNode * getParentNode() const
Gets the parent of this node.
const XalanDOMString & getPooledString(const XalanDOMString &theString) const
Get a pooled string.
This class is deprecated.
virtual XalanNode * replaceChild(XalanNode *newChild, XalanNode *oldChild)
XalanVector< NavigatorStackEntryType > NavigatorStackType
XalanDeque< XercesBridgeNavigator > NavigatorBridgeVectorType
xercesc::NodeImpl NodeImplType
NodeImplType * mapNodeToImpl(const XalanNode *theXalanNode) const
virtual XercesDocumentBridge * cloneNode(bool deep) const
DOM_AttrType mapNode(const XalanAttr *theXalanNode) const
virtual XalanDOMImplementation * getImplementation() const
virtual XalanElement * createElement(const XalanDOMString &tagName)
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)
This class is deprecated.
xercesc::DOM_Document DOM_Document_Type
virtual void endNode(const DOM_NodeType &node)
DOM_NodeType mapNode(const XalanNode *theXalanNode) const
virtual bool hasChildNodes() const
NavigatorBridgeVectorType NavigatorBridgeVectorInnerType
This class is deprecated.
This class is deprecated.
virtual XalanNode * removeChild(XalanNode *oldChild)
This class is deprecated.
virtual void setPrefix(const XalanDOMString &prefix)
virtual XalanProcessingInstruction * createProcessingInstruction(const XalanDOMString &target, const XalanDOMString &data)
xercesc::DOM_Node DOM_NodeType
xercesc::DOM_DocumentFragment DOM_DocumentFragmentType
virtual XalanComment * createComment(const XalanDOMString &data)
This class is deprecated.
virtual XalanNode * appendChild(XalanNode *newChild)
xercesc::DOM_EntityReference DOM_EntityReferenceType
virtual XalanNodeList * getElementsByTagNameNS(const XalanDOMString &namespaceURI, const XalanDOMString &localName) const
virtual void startNode(const DOM_NodeType &node)
virtual XalanAttr * createAttribute(const XalanDOMString &name)
xercesc::DOM_Entity DOM_EntityType
virtual ~XercesDocumentBridge()
xercesc::DOM_Text DOM_TextType
virtual const XalanNamedNodeMap * getAttributes() const
Gets a NamedNodeMap containing the attributes of this node (if it is an Element) or null otherwise.
xercesc::DOM_DocumentType DOM_DocumentType_Type
xercesc::DOM_CDATASection DOM_CDATASectionType
const XalanDOMString & getPooledString(const XalanDOMChar *theString, XalanDOMString::size_type theLength) const
Get a pooled string.
virtual XalanNode * insertBefore(XalanNode *newChild, XalanNode *refChild)
BuildBridgeTreeWalker(XercesDocumentBridge *theDocument, XercesBridgeNavigator *theDocumentNavigator, NavigatorBridgeVectorInnerType &theNavigators, IndexType theStartIndex)
xercesc::DOM_Comment DOM_CommentType
virtual XalanElement * getDocumentElement() const
Return a reference to the root element of the document.
This class is deprecated.
#define XALAN_XERCESPARSERLIAISON_EXPORT
void rebuildBridge()
Rebuild the entire bridge structure that connects the Xerces document to this XercesDocumentBridge in...
xercesc::DOM_Notation DOM_NotationType
virtual XalanNodeList * getElementsByTagName(const XalanDOMString &tagname) const
virtual XalanDocument * getOwnerDocument() const
Gets the Document object associated with this node.
virtual XalanNode * importNode(XalanNode *importedNode, bool deep)
This class is deprecated.
virtual XalanEntityReference * createEntityReference(const XalanDOMString &name)
virtual XalanDocumentFragment * createDocumentFragment()
This class is deprecated.
This class is deprecated.
DOM_Document_Type getXercesDocument() const
Get the Xerces DOM_Document that this XercesDocument represents.
virtual XalanText * createTextNode(const XalanDOMString &data)
virtual const XalanDOMString & getNodeValue() const
Gets the value of this node, depending on its type.
xercesc::DOM_Element DOM_ElementType
virtual XalanAttr * createAttributeNS(const XalanDOMString &namespaceURI, const XalanDOMString &qualifiedName)
virtual XalanNode * getFirstChild() const
Gets the first child of this node.
This class is deprecated.
virtual XalanNode * getPreviousSibling() const
Gets the node immediately preceding this node.
This class is deprecated.
This class is deprecated.
void buildBridgeNodes()
Build the entire bridge structure.
virtual XalanDocumentType * getDoctype() const
virtual bool isSupported(const XalanDOMString &feature, const XalanDOMString &version) const
xercesc::DOM_Attr DOM_AttrType
This class is deprecated.
virtual const XalanDOMString & getNodeName() const
Gets the name of this node, depending on its type.
void destroyBridge()
Destroy the entire bridge structure that connects the Xerces document to this XercesDocumentBridge in...
virtual NodeType getNodeType() const
An enum value representing the type of the underlying object.
This class is deprecated.
virtual ~BuildBridgeTreeWalker()
This class is deprecated.