Xalan-C++ API Documentation
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)
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;
330 const bool m_buildMaps;
354 const XalanDOMChar* theString,
360 return m_mappingMode;
463 createNavigator()
const;
490 const bool m_buildMaps;
503 XALAN_CPP_NAMESPACE_END
507 #endif // !defined(XERCESDOCUMENTWRAPPER_HEADER_GUARD_1357924680)
XERCES_CPP_NAMESPACE_QUALIFIER DOMEntityReference DOMEntityReferenceType
XERCES_CPP_NAMESPACE_QUALIFIER DOMProcessingInstruction DOMProcessingInstructionType
XercesDOMWalker ParentType
XERCES_CPP_NAMESPACE_QUALIFIER DOMCDATASection DOMCDATASectionType
XERCES_CPP_NAMESPACE_QUALIFIER DOMNotation DOMNotationType
virtual bool isIndexed() const
Determine if the document is node-order indexed.
void rebuildWrapper()
Rebuild the entire bridge structure that connects the Xerces document to this XercesDocumentWrapper i...
XERCES_CPP_NAMESPACE_QUALIFIER DOMElement DOMElementType
bool getMappingMode() const
XERCES_CPP_NAMESPACE_QUALIFIER DOMComment DOMCommentType
virtual const XalanNamedNodeMap * getAttributes() const
Gets a NamedNodeMap containing the attributes of this node (if it is an Element) or null otherwise.
const XalanDOMString & getPooledString(const XalanDOMChar *theString, XalanDOMString::size_type theLength=XalanDOMString::npos) const
Get a pooled string.
XercesDocumentWrapper(MemoryManager &theManager, const DOMDocument_Type *theXercesDocument, bool threadSafe=true, bool buildWrapper=true, bool buildMaps=false)
Constructor for XercesDocumentWrapper.
static XercesDocumentWrapper * create(MemoryManager &theManager, const DOMDocument_Type *theXercesDocument, bool threadSafe, bool buildWrapper, bool buildMaps)
virtual const XalanDOMString & getPrefix() const
Get the namespace prefix of this node, or null if it is unspecified.
XercesWrapperNavigator * m_navigator
XERCES_CPP_NAMESPACE_QUALIFIER DOMDocumentType DOMDocumentType_Type
void destroyWrapper()
Destroy the entire bridge structure that connects the Xerces document to this XercesDocumentWrapper i...
virtual ~BuildWrapperTreeWalker()
BuildWrapperTreeWalker(XercesDocumentWrapper *theDocument, XercesWrapperNavigator *theDocumentNavigator, IndexType theStartIndex, bool theBuildMapsFlag)
XERCES_CPP_NAMESPACE_QUALIFIER DOMText DOMTextType
XalanDocument & operator=(const XalanDocument &theSource)
XalanAttr * mapNode(const DOMAttrType *theXercesNode) const
Map a Xerces node to the corresponding wrapper node.
XalanElement * mapNode(const DOMElementType *theXercesNode) const
Map a Xerces node to the corresponding wrapper node.
const DOMNodeType * mapNode(XalanNode *theXalanNode) const
Map a XalanNode to the corresponding Xerces node.
virtual const XalanDOMString & getNodeValue() const
Gets the value of this node, depending on its type.
virtual XalanNode * getParentNode() const
Gets the parent of this node.
virtual const XalanNodeList * getChildNodes() const
Gets a NodeList that contains all children of this node.
NavigatorStackEntryType(XercesWrapperNavigator *theNavigator=0, XalanNode *theNode=0)
virtual XalanNode * getNextSibling() const
Gets the node immediately following this node.
XERCES_CPP_NAMESPACE_QUALIFIER DOMNode DOMNodeType
virtual ~XercesDocumentWrapper()
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER DOMAttr DOMAttrType
virtual XalanNode * getPreviousSibling() const
Gets the node immediately preceding this node.
virtual const XalanDOMString & getNodeName() const
Gets the name of this node, depending on its type.
virtual bool endNode(const DOMNodeType *node)
Called when leaving a node.
XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument DOMDocument_Type
XalanVector< NavigatorStackEntryType > NavigatorStackType
#define XALAN_XERCESPARSERLIAISON_EXPORT
const DOMDocument_Type * getXercesDocument() const
Get the Xerces DOMDocument that this XercesDocument represents.
virtual XalanNode * getLastChild() const
Gets the last child of this node.
XalanVector< XalanNode * > NodeVectorType
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.
XalanNode * mapNode(const DOMNodeType *theXercesNode) const
Map a Xerces node to the corresponding wrapper node.
virtual XalanDocument * getOwnerDocument() const
Gets the Document object associated with this node.
virtual XalanElement * getElementById(const XalanDOMString &elementId) const
Returns the Element whose ID is given by elementId.
virtual NodeType getNodeType() const
An enum value representing the type of the underlying object.
XERCES_CPP_NAMESPACE_QUALIFIER DOMEntity DOMEntityType
virtual XalanElement * getDocumentElement() const
Return a reference to the root element of the document.
MemoryManager & getMemoryManager() const
bool operator==(const XalanDocument &theRHS) const
virtual bool startNode(const DOMNodeType *node)
Called when first walking a node.
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.
void buildWrapperNodes()
Build the entire bridge structure.
virtual XalanNode * getFirstChild() const
Gets the first child of this node.
Interpreting class diagrams
Doxygen and
GraphViz are
used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.
|
|