16 #if !defined(XERCESDOCUMENTWRAPPER_HEADER_GUARD_1357924680)
17 #define XERCESDOCUMENTWRAPPER_HEADER_GUARD_1357924680
33 #if defined(XALAN_AUTO_PTR_REQUIRES_DEFINITION)
60 XALAN_CPP_NAMESPACE_BEGIN
67 class XercesDocumentFragmentWrapper;
101 bool threadSafe =
true,
102 bool buildWrapper =
true,
103 bool buildMaps =
false);
116 return m_nodeMap.getMemoryManager();
157 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE)
357 return m_xercesDocument;
381 bool theBuildMapsFlag);
391 m_navigator(theNavigator),
411 #if !defined(XALAN_NO_USING_DECLARATION)
412 using ParentType::startNode;
413 using ParentType::endNode;
426 const bool m_buildMaps;
450 const XalanDOMChar* theString,
456 return m_mappingMode;
559 createNavigator()
const;
588 const bool m_buildMaps;
601 XALAN_CPP_NAMESPACE_END
605 #endif // !defined(XERCESDOCUMENTWRAPPER_HEADER_GUARD_1357924680)
Definition: XercesAttrWrapperAllocator.hpp:38
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: XercesAttrWrapper.hpp:47
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.
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager MemoryManagerType
Definition: XalanMemoryManagement.hpp:39
Definition: XercesNodeListWrapper.hpp:41
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
Definition: XercesTextWrapper.hpp:41
XERCES_CPP_NAMESPACE_QUALIFIER DOMDocumentType DOMDocumentType_Type
Definition: XercesWrapperTypes.hpp:56
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.
NavigatorStackEntryType(XercesWrapperNavigator *theNavigator=0, XalanNode *theNode=0)
Definition: XercesDocumentWrapper.hpp:388
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
Definition: XalanDocumentFragment.hpp:38
XERCES_CPP_NAMESPACE_QUALIFIER DOMText DOMTextType
Definition: XercesWrapperTypes.hpp:64
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...
Definition: XalanElement.hpp:42
Definition: XercesWrapperToXalanNodeMap.hpp:41
XalanDocument & operator=(const XalanDocument &theSource)
Definition: XercesProcessingInstructionWrapper.hpp:43
Definition: XercesNotationWrapper.hpp:43
virtual const XalanDOMString & getLocalName() const =0
Returns the local part of the qualified name of this node.
XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument DOMDocument_Type
Definition: XercesDOMWrapperParsedSource.hpp:44
Definition: XalanCDATASection.hpp:38
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER DOMAttr DOMAttrType
Definition: XercesWrapperTypes.hpp:51
Definition: XercesEntityReferenceWrapper.hpp:44
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...
Definition: XercesDOMWalker.hpp:30
Definition: XercesDocumentWrapper.hpp:386
Definition: XercesDocumentWrapper.hpp:371
virtual XalanNode * importNode(XalanNode *importedNode, bool deep)=0
Imports a node from another document to this document.
XalanNode * m_node
Definition: XercesDocumentWrapper.hpp:398
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
Definition: XercesElementWrapperAllocator.hpp:39
Definition: XercesDocumentWrapper.hpp:76
virtual const XalanDOMString & getNamespaceURI() const =0
Get the namespace URI of this node, or null if it is unspecified.
virtual void setPrefix(const XalanDOMString &prefix)=0
Set the namespace prefix of this node.
virtual XalanNode * getLastChild() const =0
Gets the last child of this node.
Definition: XalanDocumentType.hpp:38
Definition: XalanProcessingInstruction.hpp:38
Definition: XercesWrapperNavigatorAllocator.hpp:38
Definition: XercesCDATASectionWrapper.hpp:43
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...
MemoryManagerType & getMemoryManager() const
Definition: XercesDocumentWrapper.hpp:114
Definition: XalanNamedNodeMap.hpp:42
virtual XalanDocumentFragment * createDocumentFragment()=0
Creates an empty DocumentFragment object.
Definition: XercesEntityWrapper.hpp:44
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.
virtual bool isIndexed() const =0
Determine if the document is node-order indexed.
bool getMappingMode() const
Definition: XercesDocumentWrapper.hpp:454
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.
Definition: XalanDocument.hpp:51
XERCES_CPP_NAMESPACE_QUALIFIER DOMEntity DOMEntityType
Definition: XercesWrapperTypes.hpp:61
Definition: XercesTextWrapperAllocator.hpp:39
XERCES_CPP_NAMESPACE_QUALIFIER DOMNode DOMNodeType
Definition: XercesWrapperTypes.hpp:63
Definition: XercesDocumentTypeWrapper.hpp:43
virtual const XalanDOMString & getPrefix() const =0
Get the namespace prefix of this node, or null if it is unspecified.
XalanNode::IndexType IndexType
Definition: XercesWrapperNavigator.hpp:57
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.
XalanVector< NavigatorStackEntryType > NavigatorStackType
Definition: XercesDocumentWrapper.hpp:401
Definition: XalanDOMString.hpp:42
XalanVector< XalanNode * > NodeVectorType
Definition: XercesDocumentWrapper.hpp:368
virtual XalanNode * getPreviousSibling() const =0
Gets the node immediately preceding this node.
Definition: XalanEntityReference.hpp:38
unsigned long IndexType
Definition: XalanNode.hpp:70
virtual const XalanDOMString & getNodeName() const =0
const DOMDocument_Type * getXercesDocument() const
Get the Xerces DOMDocument that this XercesDocument represents.
Definition: XercesDocumentWrapper.hpp:355
virtual void setNodeValue(const XalanDOMString &nodeValue)=0
Sets the value of the node.
Definition: XercesWrapperNavigator.hpp:53
virtual XalanNode * removeChild(XalanNode *oldChild)=0
Removes the child node indicated by oldChild from the list of children, and returns it...
XercesWrapperNavigator * m_navigator
Definition: XercesDocumentWrapper.hpp:396
XERCES_CPP_NAMESPACE_QUALIFIER DOMNotation DOMNotationType
Definition: XercesWrapperTypes.hpp:67
unsigned int size_type
Definition: XalanDOMString.hpp:53
XERCES_CPP_NAMESPACE_QUALIFIER DOMEntityReference DOMEntityReferenceType
Definition: XercesWrapperTypes.hpp:62
XERCES_CPP_NAMESPACE_QUALIFIER DOMProcessingInstruction DOMProcessingInstructionType
Definition: XercesWrapperTypes.hpp:68
XERCES_CPP_NAMESPACE_QUALIFIER DOMComment DOMCommentType
Definition: XercesWrapperTypes.hpp:53
Definition: XercesElementWrapper.hpp:47
XercesDOMWalker ParentType
Definition: XercesDocumentWrapper.hpp:375
XalanNode * mapNode(const DOMNodeType *theXercesNode) const
XERCES_CPP_NAMESPACE_QUALIFIER DOMCDATASection DOMCDATASectionType
Definition: XercesWrapperTypes.hpp:54
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...
XERCES_CPP_NAMESPACE_QUALIFIER DOMElement DOMElementType
Definition: XercesWrapperTypes.hpp:60
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.