18 #if !defined(XERCESDOCUMENTWRAPPER_HEADER_GUARD_1357924680) 19 #define XERCESDOCUMENTWRAPPER_HEADER_GUARD_1357924680 35 #if defined(XALAN_AUTO_PTR_REQUIRES_DEFINITION) 61 XALAN_CPP_NAMESPACE_BEGIN
68 class XercesDocumentFragmentWrapper;
100 MemoryManager& theManager,
102 bool threadSafe =
true,
103 bool buildWrapper =
true,
104 bool buildMaps =
false);
108 MemoryManager& theManager,
117 return m_nodeMap.getMemoryManager();
263 return m_xercesDocument;
287 bool theBuildMapsFlag);
297 m_navigator(theNavigator),
317 using ParentType::startNode;
318 using ParentType::endNode;
326 NavigatorStackType m_parentNavigatorStack;
328 NavigatorStackType m_siblingNavigatorStack;
330 const bool m_buildMaps;
354 const XalanDOMChar* theString,
360 return m_mappingMode;
463 createNavigator()
const;
482 mutable NodeVectorType m_nodes;
490 const bool m_buildMaps;
503 XALAN_CPP_NAMESPACE_END
507 #endif // !defined(XERCESDOCUMENTWRAPPER_HEADER_GUARD_1357924680)
virtual XalanElement * getDocumentElement() const =0
Return a reference to the root element of the document.
virtual IndexType getIndex() const =0
Get the node's index.
XERCES_CPP_NAMESPACE_QUALIFIER DOMDocumentType DOMDocumentType_Type
virtual const XalanNodeList * getChildNodes() const =0
Gets a NodeList that contains all children of this node.
virtual XalanNode * getParentNode() const =0
Gets the parent of this node.
bool getMappingMode() const
NavigatorStackEntryType(XercesWrapperNavigator *theNavigator=0, XalanNode *theNode=0)
virtual XalanElement * getElementById(const XalanDOMString &elementId) const =0
Returns the Element whose ID is given by elementId.
#define XALAN_XERCESPARSERLIAISON_EXPORT
XERCES_CPP_NAMESPACE_QUALIFIER DOMText DOMTextType
virtual XalanDocument * getOwnerDocument() const =0
Gets the Document object associated with this node.
virtual const XalanDOMString & getLocalName() const =0
Returns the local part of the qualified name of this node.
XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument DOMDocument_Type
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER DOMAttr DOMAttrType
XalanNode * mapNode(const DOMNodeType *theXercesNode) const
virtual const XalanDOMString & getNamespaceURI() const =0
Get the namespace URI of this node, or null if it is unspecified.
virtual XalanNode * getLastChild() const =0
Gets the last child of this node.
virtual const XalanDOMString & getNodeValue() const =0
Gets the value of this node, depending on its type.
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.
XERCES_CPP_NAMESPACE_QUALIFIER DOMEntity DOMEntityType
XERCES_CPP_NAMESPACE_QUALIFIER DOMNode DOMNodeType
virtual const XalanDOMString & getPrefix() const =0
Get the namespace prefix of this node, or null if it is unspecified.
virtual XalanNode * getNextSibling() const =0
Gets the node immediately following this node.
virtual const XalanNamedNodeMap * getAttributes() const =0
Gets a NamedNodeMap containing the attributes of this node (if it is an Element) or null otherwise...
XalanVector< NavigatorStackEntryType > NavigatorStackType
bool operator==(const ElemAttributeSet &theLHS, const ElemAttributeSet &theRHS)
XalanVector< XalanNode * > NodeVectorType
virtual XalanNode * getPreviousSibling() const =0
Gets the node immediately preceding this node.
MemoryManager & getMemoryManager() const
const DOMDocument_Type * getXercesDocument() const
Get the Xerces DOMDocument that this XercesDocument represents.
virtual const XalanDOMString & getNodeName() const =0
Gets the name of this node, depending on its type.
XercesWrapperNavigator * m_navigator
XERCES_CPP_NAMESPACE_QUALIFIER DOMNotation DOMNotationType
XERCES_CPP_NAMESPACE_QUALIFIER DOMEntityReference DOMEntityReferenceType
XERCES_CPP_NAMESPACE_QUALIFIER DOMProcessingInstruction DOMProcessingInstructionType
XERCES_CPP_NAMESPACE_QUALIFIER DOMComment DOMCommentType
XercesDOMWalker ParentType
XERCES_CPP_NAMESPACE_QUALIFIER DOMCDATASection DOMCDATASectionType
virtual NodeType getNodeType() const =0
An enum value representing the type of the underlying object.
XERCES_CPP_NAMESPACE_QUALIFIER DOMElement DOMElementType