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;
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
#define XALAN_XERCESPARSERLIAISON_EXPORT
This class is deprecated.
This class is deprecated.
This class is deprecated.
This class is deprecated.
XalanVector< NavigatorStackEntryType > NavigatorStackType
virtual void startNode(const DOM_NodeType &node)
NavigatorBridgeVectorType NavigatorBridgeVectorInnerType
BuildBridgeTreeWalker(XercesDocumentBridge *theDocument, XercesBridgeNavigator *theDocumentNavigator, NavigatorBridgeVectorInnerType &theNavigators, IndexType theStartIndex)
virtual ~BuildBridgeTreeWalker()
virtual void endNode(const DOM_NodeType &node)
This class is deprecated.
XalanNode * mapNode(const DOM_NodeType &theXercesNode) const
virtual XalanEntityReference * createEntityReference(const XalanDOMString &name)
XalanDeque< XercesBridgeNavigator > NavigatorBridgeVectorType
virtual void setNodeValue(const XalanDOMString &nodeValue)
virtual XalanNode * insertBefore(XalanNode *newChild, XalanNode *refChild)
virtual XalanNode * importNode(XalanNode *importedNode, bool deep)
virtual XalanElement * createElementNS(const XalanDOMString &namespaceURI, const XalanDOMString &qualifiedName)
virtual XalanNode * getLastChild() const
Gets the last child of this node.
const XalanDOMString & getPooledString(const XalanDOMString &theString) const
Get a pooled string.
virtual const XalanDOMString & getPrefix() const
Get the namespace prefix of this node, or null if it is unspecified.
void destroyBridge()
Destroy the entire bridge structure that connects the Xerces document to this XercesDocumentBridge in...
virtual bool isSupported(const XalanDOMString &feature, const XalanDOMString &version) const
virtual XalanAttr * createAttribute(const XalanDOMString &name)
virtual XalanAttr * createAttributeNS(const XalanDOMString &namespaceURI, const XalanDOMString &qualifiedName)
virtual XalanNode * getNextSibling() const
Gets the node immediately following this node.
virtual const XalanDOMString & getNodeValue() const
Gets the value of this node, depending on its type.
void buildBridgeNodes()
Build the entire bridge structure.
virtual XalanDocument * getOwnerDocument() const
Gets the Document object associated with this node.
virtual XalanElement * createElement(const XalanDOMString &tagName)
virtual const XalanNamedNodeMap * getAttributes() const
Gets a NamedNodeMap containing the attributes of this node (if it is an Element) or null otherwise.
const XalanDOMString & getPooledString(const XalanDOMChar *theString, XalanDOMString::size_type theLength) const
Get a pooled string.
virtual XalanNode * getPreviousSibling() const
Gets the node immediately preceding this node.
virtual XercesDocumentBridge * cloneNode(bool deep) const
virtual const XalanDOMString & getNodeName() const
Gets the name of this node, depending on its type.
virtual XalanNode * getParentNode() const
Gets the parent of this node.
virtual XalanComment * createComment(const XalanDOMString &data)
XalanElement * mapNode(const DOM_ElementType &theXercesNode) const
virtual XalanText * createTextNode(const XalanDOMString &data)
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.
NodeImplType * mapNodeToImpl(const XalanNode *theXalanNode) const
virtual NodeType getNodeType() const
An enum value representing the type of the underlying object.
virtual XalanNode * appendChild(XalanNode *newChild)
virtual ~XercesDocumentBridge()
virtual XalanDocumentFragment * createDocumentFragment()
virtual XalanElement * getDocumentElement() const
Return a reference to the root element of the document.
XalanAttr * mapNode(const DOM_AttrType &theXercesNode) const
DOM_AttrType mapNode(const XalanAttr *theXalanNode) const
virtual XalanDOMImplementation * getImplementation() const
virtual XalanNode * removeChild(XalanNode *oldChild)
virtual XalanCDATASection * createCDATASection(const XalanDOMString &data)
virtual XalanNodeList * getElementsByTagName(const XalanDOMString &tagname) const
virtual XalanDocumentType * getDoctype() const
DOM_NodeType mapNode(const XalanNode *theXalanNode) const
virtual bool hasChildNodes() const
virtual XalanProcessingInstruction * createProcessingInstruction(const XalanDOMString &target, const XalanDOMString &data)
XalanDeque< XalanNode * > NodeVectorType
DOM_Document_Type getXercesDocument() const
Get the Xerces DOM_Document that this XercesDocument represents.
void rebuildBridge()
Rebuild the entire bridge structure that connects the Xerces document to this XercesDocumentBridge in...
virtual void setPrefix(const XalanDOMString &prefix)
virtual bool isIndexed() const
Determine if the document is node-order indexed.
virtual const XalanDOMString & getLocalName() const
Returns the local part of the qualified name of this node.
XercesDocumentBridge(const DOM_Document_Type &theXercesDocument, bool threadSafe=true, bool buildBridge=true)
Constructor for XercesDocumentBridge.
virtual XalanNode * replaceChild(XalanNode *newChild, XalanNode *oldChild)
virtual const XalanDOMString & getNamespaceURI() const
Get the namespace URI of this node, or null if it is unspecified.
virtual XalanNodeList * getElementsByTagNameNS(const XalanDOMString &namespaceURI, const XalanDOMString &localName) const
virtual IndexType getIndex() const
Get the node's index.
virtual XalanNode * getFirstChild() const
Gets the first child of this node.
This class is deprecated.
This class is deprecated.
This class is deprecated.
This class is deprecated.
This class is deprecated.
This class is deprecated.
This class is deprecated.
This class is deprecated.
This class is deprecated.
This class is deprecated.
This class is deprecated.
This class is deprecated.
This class is deprecated.
xercesc::DOM_CDATASection DOM_CDATASectionType
xercesc::NodeImpl NodeImplType
xercesc::DOM_ProcessingInstruction DOM_ProcessingInstructionType
xercesc::DOM_Attr DOM_AttrType
xercesc::DOM_EntityReference DOM_EntityReferenceType
xercesc::DOM_Element DOM_ElementType
xercesc::DOM_Text DOM_TextType
xercesc::DOM_Node DOM_NodeType
xercesc::DOM_Entity DOM_EntityType
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)
xercesc::DOM_Notation DOM_NotationType
xercesc::DOM_DocumentType DOM_DocumentType_Type
xercesc::DOM_Comment DOM_CommentType
xercesc::DOM_Document DOM_Document_Type
xercesc::DOM_DocumentFragment DOM_DocumentFragmentType
XercesBridgeNavigator * m_navigator
NavigatorStackEntryType(XercesBridgeNavigator *theNavigator=0, XalanNode *theNode=0)