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