18#if !defined(XERCESDOCUMENTWRAPPER_HEADER_GUARD_1357924680)
19#define XERCESDOCUMENTWRAPPER_HEADER_GUARD_1357924680
35#if defined(XALAN_AUTO_PTR_REQUIRES_DEFINITION)
65class XalanDOMStringPool;
66class XercesCommentWrapper;
67class XercesCDATASectionWrapper;
68class XercesDocumentFragmentWrapper;
69class XercesDocumentTypeWrapper;
70class XercesEntityWrapper;
71class XercesEntityReferenceWrapper;
72class XercesProcessingInstructionWrapper;
73class XercesNotationWrapper;
117 return m_nodeMap.getMemoryManager();
263 return m_xercesDocument;
317 using ParentType::startNode;
318 using ParentType::endNode;
330 const bool m_buildMaps;
360 return m_mappingMode;
463 createNavigator()
const;
490 const bool m_buildMaps;
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
#define XALAN_XERCESPARSERLIAISON_EXPORT
XercesDOMWalker ParentType
virtual bool endNode(const DOMNodeType *node)
Called when leaving a node.
XalanVector< NavigatorStackEntryType > NavigatorStackType
virtual bool startNode(const DOMNodeType *node)
Called when first walking a node.
BuildWrapperTreeWalker(XercesDocumentWrapper *theDocument, XercesWrapperNavigator *theDocumentNavigator, IndexType theStartIndex, bool theBuildMapsFlag)
virtual ~BuildWrapperTreeWalker()
const DOMNodeType * mapNode(XalanNode *theXalanNode) const
Map a XalanNode to the corresponding Xerces node.
virtual const XalanDOMString & getNamespaceURI() const
Get the namespace URI of this node, or null if it is unspecified.
static XercesDocumentWrapper * create(MemoryManager &theManager, const DOMDocument_Type *theXercesDocument, bool threadSafe, bool buildWrapper, bool buildMaps)
virtual XalanElement * getDocumentElement() const
Return a reference to the root element of the document.
virtual XalanNode * getParentNode() const
Gets the parent of this node.
virtual NodeType getNodeType() const
An enum value representing the type of the underlying object.
virtual XalanNode * getFirstChild() const
Gets the first child of this node.
virtual ~XercesDocumentWrapper()
const XalanDOMString & getPooledString(const XalanDOMString &theString) const
Get a pooled string.
virtual const XalanDOMString & getLocalName() const
Returns the local part of the qualified name of this node.
virtual const XalanNodeList * getChildNodes() const
Gets a NodeList that contains all children of this node.
virtual const XalanDOMString & getPrefix() const
Get the namespace prefix of this node, or null if it is unspecified.
const XalanDOMString & getPooledString(const XalanDOMChar *theString, XalanDOMString::size_type theLength=XalanDOMString::npos) const
Get a pooled string.
virtual XalanElement * getElementById(const XalanDOMString &elementId) const
Returns the Element whose ID is given by elementId.
virtual const XalanNamedNodeMap * getAttributes() const
Gets a NamedNodeMap containing the attributes of this node (if it is an Element) or null otherwise.
virtual const XalanDOMString & getNodeValue() const
Gets the value of this node, depending on its type.
virtual bool isIndexed() const
Determine if the document is node-order indexed.
XalanAttr * mapNode(const DOMAttrType *theXercesNode) const
Map a Xerces node to the corresponding wrapper node.
virtual const XalanDOMString & getNodeName() const
Gets the name of this node, depending on its type.
virtual XalanNode * getPreviousSibling() const
Gets the node immediately preceding this node.
virtual XalanNode * getNextSibling() const
Gets the node immediately following this node.
XalanElement * mapNode(const DOMElementType *theXercesNode) const
Map a Xerces node to the corresponding wrapper node.
virtual XalanDocument * getOwnerDocument() const
Gets the Document object associated with this node.
MemoryManager & getMemoryManager() const
void destroyWrapper()
Destroy the entire bridge structure that connects the Xerces document to this XercesDocumentWrapper i...
virtual XalanNode * getLastChild() const
Gets the last child of this node.
XalanVector< XalanNode * > NodeVectorType
void buildWrapperNodes()
Build the entire bridge structure.
XalanNode * mapNode(const DOMNodeType *theXercesNode) const
Map a Xerces node to the corresponding wrapper node.
void rebuildWrapper()
Rebuild the entire bridge structure that connects the Xerces document to this XercesDocumentWrapper i...
bool getMappingMode() const
virtual IndexType getIndex() const
Get the node's index.
const DOMDocument_Type * getXercesDocument() const
Get the Xerces DOMDocument that this XercesDocument represents.
XercesDocumentWrapper(MemoryManager &theManager, const DOMDocument_Type *theXercesDocument, bool threadSafe=true, bool buildWrapper=true, bool buildMaps=false)
Constructor for XercesDocumentWrapper.
xercesc::DOMDocument DOMDocument_Type
xercesc::DOMElement DOMElementType
xercesc::DOMEntityReference DOMEntityReferenceType
xercesc::DOMDocumentType DOMDocumentType_Type
xercesc::DOMProcessingInstruction DOMProcessingInstructionType
xercesc::DOMAttr DOMAttrType
xercesc::DOMNode DOMNodeType
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)
xercesc::DOMNotation DOMNotationType
xercesc::DOMText DOMTextType
xercesc::DOMComment DOMCommentType
xercesc::DOMCDATASection DOMCDATASectionType
xercesc::DOMEntity DOMEntityType
XercesWrapperNavigator * m_navigator
NavigatorStackEntryType(XercesWrapperNavigator *theNavigator=0, XalanNode *theNode=0)