16 #if !defined(XERCESDOCUMENTBRIDGE_HEADER_GUARD_1357924680)
17 #define XERCESDOCUMENTBRIDGE_HEADER_GUARD_1357924680
30 #if XERCES_VERSION_MAJOR >= 2
31 #include <xercesc/dom/deprecated/DOM_Document.hpp>
33 #include <xercesc/dom/DOM_Document.hpp>
42 #if defined(XALAN_AUTO_PTR_REQUIRES_DEFINITION)
67 XALAN_CPP_NAMESPACE_BEGIN
113 bool threadSafe =
true,
114 bool buildBridge =
true);
154 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE)
308 mapNodeToImpl(
const XalanNode* theXalanNode)
const;
320 return m_xercesDocument;
357 m_navigator(theNavigator),
412 const XalanDOMChar* theString,
518 pushNavigator(
bool mappingMode)
const;
560 XALAN_CPP_NAMESPACE_END
564 #endif // !defined(XERCESDOCUMENTBRIDGE_HEADER_GUARD_1357924680)
virtual XalanDOMImplementation * getImplementation() const =0
Return the DOMImplementation object that handles this document.
virtual XalanElement * getDocumentElement() const =0
Return a reference to the root element of the document.
bool operator==(const XalanDocument &theRHS) const
Definition: XalanNode.hpp:44
Definition: XalanNodeList.hpp:42
virtual IndexType getIndex() const =0
Get the node's index.
Definition: XalanText.hpp:38
virtual XalanNode * appendChild(XalanNode *newChild)=0
Adds the node newChild to the end of the list of children of this node.
virtual XalanProcessingInstruction * createProcessingInstruction(const XalanDOMString &target, const XalanDOMString &data)=0
Creates a ProcessingInstruction node given the specified name and data strings.
This class is deprecated.
Definition: XercesTextBridge.hpp:52
This class is deprecated.
Definition: XercesEntityReferenceBridge.hpp:54
This class is deprecated.
Definition: XercesTreeWalker.hpp:36
virtual XalanAttr * createAttributeNS(const XalanDOMString &namespaceURI, const XalanDOMString &qualifiedName)=0
Creates an attribute of the given qualified name and namespace URI.
Definition: XalanAttr.hpp:38
This class is deprecated.
Definition: XercesDocumentBridge.hpp:90
NavigatorStackEntryType(XercesBridgeNavigator *theNavigator=0, XalanNode *theNode=0)
Definition: XercesDocumentBridge.hpp:354
XercesBridgeNavigator * m_navigator
Definition: XercesDocumentBridge.hpp:362
Definition: XercesDocumentBridge.hpp:352
virtual const XalanNodeList * getChildNodes() const =0
Gets a NodeList that contains all children of this node.
virtual XalanNode * insertBefore(XalanNode *newChild, XalanNode *refChild)=0
Inserts the node newChild before the existing child node refChild.
virtual XalanNode * getParentNode() const =0
Gets the parent of this node.
XalanDeque< XalanNode * > NodeVectorType
Definition: XercesDocumentBridge.hpp:333
DOM_Document_Type getXercesDocument() const
Get the Xerces DOM_Document that this XercesDocument represents.
Definition: XercesDocumentBridge.hpp:318
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER DOM_Attr DOM_AttrType
Definition: XercesBridgeTypes.hpp:57
virtual XalanElement * getElementById(const XalanDOMString &elementId) const =0
Returns the Element whose ID is given by elementId.
#define XALAN_XERCESPARSERLIAISON_EXPORT
Definition: XercesParserLiaisonDefinitions.hpp:37
XERCES_CPP_NAMESPACE_QUALIFIER DOM_CDATASection DOM_CDATASectionType
Definition: XercesBridgeTypes.hpp:60
Definition: XalanDocumentFragment.hpp:38
This class is deprecated.
Definition: XercesEntityBridge.hpp:53
This class is deprecated.
Definition: XercesDocumentTypeBridge.hpp:55
virtual XalanDocument * cloneNode(bool deep) const =0
Returns a duplicate of this node.
virtual XalanDocument * getOwnerDocument() const =0
Gets the Document object associated with this node.
virtual bool isSupported(const XalanDOMString &feature, const XalanDOMString &version) const =0
Tests whether the DOM implementation implements a specific feature and that feature is supported by t...
NodeType
Definition: XalanNode.hpp:53
XERCES_CPP_NAMESPACE_QUALIFIER DOM_DocumentFragment DOM_DocumentFragmentType
Definition: XercesBridgeTypes.hpp:64
Definition: XalanElement.hpp:42
XalanDocument & operator=(const XalanDocument &theSource)
XERCES_CPP_NAMESPACE_QUALIFIER DOM_ProcessingInstruction DOM_ProcessingInstructionType
Definition: XercesBridgeTypes.hpp:74
virtual const XalanDOMString & getLocalName() const =0
Returns the local part of the qualified name of this node.
Definition: XalanCDATASection.hpp:38
XERCES_CPP_NAMESPACE_QUALIFIER DOM_Text DOM_TextType
Definition: XercesBridgeTypes.hpp:70
XalanDeque< XercesBridgeNavigator > NavigatorBridgeVectorType
Definition: XercesDocumentBridge.hpp:332
virtual XalanNode * replaceChild(XalanNode *newChild, XalanNode *oldChild)=0
Replaces the child node oldChild with newChild in the list of children, and returns the oldChild node...
NavigatorBridgeVectorType NavigatorBridgeVectorInnerType
Definition: XercesDocumentBridge.hpp:341
virtual XalanNode * importNode(XalanNode *importedNode, bool deep)=0
Imports a node from another document to this document.
virtual XalanNodeList * getElementsByTagNameNS(const XalanDOMString &namespaceURI, const XalanDOMString &localName) const =0
Returns a NodeList of all the Elements with a given local name and namespace URI in the order in whic...
Definition: XalanDOMStringPool.hpp:37
This class is deprecated.
Definition: XercesAttrBridge.hpp:55
This class is deprecated.
Definition: XercesNodeListBridge.hpp:53
XERCES_CPP_NAMESPACE_QUALIFIER DOM_Notation DOM_NotationType
Definition: XercesBridgeTypes.hpp:73
virtual const XalanDOMString & getNamespaceURI() const =0
Get the namespace URI of this node, or null if it is unspecified.
This class is deprecated.
Definition: XercesProcessingInstructionBridge.hpp:53
virtual void setPrefix(const XalanDOMString &prefix)=0
Set the namespace prefix of this node.
XalanVector< NavigatorStackEntryType > NavigatorStackType
Definition: XercesDocumentBridge.hpp:368
virtual XalanNode * getLastChild() const =0
Gets the last child of this node.
XERCES_CPP_NAMESPACE_QUALIFIER DOM_Comment DOM_CommentType
Definition: XercesBridgeTypes.hpp:59
XERCES_CPP_NAMESPACE_QUALIFIER NodeImpl NodeImplType
Definition: XercesBridgeTypes.hpp:79
XERCES_CPP_NAMESPACE_QUALIFIER DOM_Document DOM_Document_Type
Definition: XercesBridgeTypes.hpp:63
XERCES_CPP_NAMESPACE_QUALIFIER DOM_EntityReference DOM_EntityReferenceType
Definition: XercesBridgeTypes.hpp:68
This class is deprecated.
Definition: XercesCDATASectionBridge.hpp:53
Definition: XalanDocumentType.hpp:38
Definition: XalanProcessingInstruction.hpp:38
virtual XalanEntityReference * createEntityReference(const XalanDOMString &name)=0
Creates an EntityReference object.
virtual void normalize()=0
Puts all Text nodes in the full depth of the sub-tree underneath this Node, including attribute nodes...
Definition: XalanNamedNodeMap.hpp:42
This class is deprecated.
Definition: XercesTextBridgeAllocator.hpp:42
virtual XalanDocumentFragment * createDocumentFragment()=0
Creates an empty DocumentFragment object.
virtual const XalanDOMString & getNodeValue() const =0
Gets the value of this node, depending on its type.
virtual XalanElement * createElement(const XalanDOMString &tagName)=0
Creates an element of the type specified.
virtual XalanComment * createComment(const XalanDOMString &data)=0
Creates a Comment node given the specified string.
virtual XalanNode * getFirstChild() const =0
Gets the first child of this node.
XalanNode * mapNode(const DOM_NodeType &theXercesNode) const
virtual bool isIndexed() const =0
Determine if the document is node-order indexed.
virtual XalanElement * createElementNS(const XalanDOMString &namespaceURI, const XalanDOMString &qualifiedName)=0
Creates an element of the given qualified name and namespace URI.
virtual XalanText * createTextNode(const XalanDOMString &data)=0
Creates a Text node given the specified string.
This class is deprecated.
Definition: XercesElementBridgeAllocator.hpp:42
Definition: XalanDocument.hpp:51
XalanNode * m_node
Definition: XercesDocumentBridge.hpp:364
virtual const XalanDOMString & getPrefix() const =0
Get the namespace prefix of this node, or null if it is unspecified.
XERCES_CPP_NAMESPACE_QUALIFIER DOM_Element DOM_ElementType
Definition: XercesBridgeTypes.hpp:66
XERCES_CPP_NAMESPACE_QUALIFIER DOM_DocumentType DOM_DocumentType_Type
Definition: XercesBridgeTypes.hpp:62
This class is deprecated.
Definition: XercesDocumentFragmentBridge.hpp:53
virtual XalanDocumentType * getDoctype() const =0
Get Document Type Declaration (see DocumentType) associated with this document.
virtual XalanNode * getNextSibling() const =0
Gets the node immediately following this node.
Definition: XalanDOMImplementation.hpp:43
virtual const XalanNamedNodeMap * getAttributes() const =0
Gets a NamedNodeMap containing the attributes of this node (if it is an Element) or null otherwise...
virtual XalanAttr * createAttribute(const XalanDOMString &name)=0
Creates an Attr of the given name.
Definition: XalanDOMString.hpp:42
virtual XalanNode * getPreviousSibling() const =0
Gets the node immediately preceding this node.
Definition: XalanEntityReference.hpp:38
This class is deprecated.
Definition: XercesAttributeBridgeAllocator.hpp:42
unsigned long IndexType
Definition: XalanNode.hpp:70
virtual const XalanDOMString & getNodeName() const =0
This class is deprecated.
Definition: XercesBridgeNavigator.hpp:53
virtual void setNodeValue(const XalanDOMString &nodeValue)=0
Sets the value of the node.
virtual XalanNode * removeChild(XalanNode *oldChild)=0
Removes the child node indicated by oldChild from the list of children, and returns it...
This class is deprecated.
Definition: XercesNotationBridge.hpp:53
unsigned int size_type
Definition: XalanDOMString.hpp:53
Definition: XercesDocumentBridge.hpp:337
virtual NodeType getNodeType() const =0
An enum value representing the type of the underlying object.
virtual bool hasChildNodes() const =0
This is a convenience method to allow easy determination of whether a node has any children...
virtual XalanNodeList * getElementsByTagName(const XalanDOMString &tagname) const =0
Returns a NodeList of all the elements with a given tag name.
virtual XalanCDATASection * createCDATASection(const XalanDOMString &data)=0
Creates a CDATASection node whose value is the specified string.
This class is deprecated.
Definition: XercesElementBridge.hpp:59
XERCES_CPP_NAMESPACE_QUALIFIER DOM_Node DOM_NodeType
Definition: XercesBridgeTypes.hpp:69
This class is deprecated.
Definition: XercesToXalanNodeMap.hpp:57
XERCES_CPP_NAMESPACE_QUALIFIER DOM_Entity DOM_EntityType
Definition: XercesBridgeTypes.hpp:67