Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


XercesEntityReferenceWrapper.hpp
Go to the documentation of this file.
1 /*
2  * Licensed to the Apache Software Foundation (ASF) under one
3  * or more contributor license agreements. See the NOTICE file
4  * distributed with this work for additional information
5  * regarding copyright ownership. The ASF licenses this file
6  * to you under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  */
18 #if !defined(XERCESENTITYREFERENCEWRAPPER_HEADER_GUARD_1357924680)
19 #define XERCESENTITYREFERENCEWRAPPER_HEADER_GUARD_1357924680
20 
21 
22 
24 
25 
27 
28 
30 
31 
32 
35 
36 
37 
38 XALAN_CPP_NAMESPACE_BEGIN
39 
40 
41 
43 
44 
45 
47 {
48 public:
49 
51  const DOMEntityReferenceType* theXercesDOMEntityReference,
52  const XercesWrapperNavigator& theNavigator);
53 
55  create( MemoryManager& theManager,
56  const DOMEntityReferenceType* theXercesDOMEntityReference,
57  const XercesWrapperNavigator& theNavigator);
58 
59  virtual
61 
62 
63  // These interfaces are inherited from XalanEntityReference...
64 
65  virtual const XalanDOMString&
66  getNodeName() const;
67 
68  virtual const XalanDOMString&
69  getNodeValue() const;
70 
71  virtual NodeType
72  getNodeType() const;
73 
74  virtual XalanNode*
75  getParentNode() const;
76 
77  virtual const XalanNodeList*
78  getChildNodes() const;
79 
80  virtual XalanNode*
81  getFirstChild() const;
82 
83  virtual XalanNode*
84  getLastChild() const;
85 
86  virtual XalanNode*
87  getPreviousSibling() const;
88 
89  virtual XalanNode*
90  getNextSibling() const;
91 
92  virtual const XalanNamedNodeMap*
93  getAttributes() const;
94 
95  virtual XalanDocument*
96  getOwnerDocument() const;
97 
98  virtual const XalanDOMString&
99  getNamespaceURI() const;
100 
101  virtual const XalanDOMString&
102  getPrefix() const;
103 
104  virtual const XalanDOMString&
105  getLocalName() const;
106 
107  virtual bool
108  isIndexed() const;
109 
110  virtual IndexType
111  getIndex() const;
112 
113  /**
114  * Get the Xerces node this instance represent.
115  *
116  * @return The Xerces node
117  */
120  {
121  return m_xercesNode;
122  }
123 
124  //@}
125 
126 private:
127 
128  // Not implemented...
130 
132  operator=(const XercesEntityReferenceWrapper& theSource);
133 
134  bool
135  operator==(const XercesEntityReferenceWrapper& theRHS) const;
136 
137  // Data members...
138  const DOMEntityReferenceType* const m_xercesNode;
139 
140  const XercesWrapperNavigator& m_navigator;
141 
142  XercesNodeListWrapper m_children;
143 };
144 
145 
146 
147 XALAN_CPP_NAMESPACE_END
148 
149 
150 
151 #endif // !defined(XERCESENTITYREFERENCEWRAPPER_HEADER_GUARD_1357924680)
virtual NodeType getNodeType() const =0
An enum value representing the type of the underlying object.
virtual const XalanNodeList * getChildNodes() const =0
Gets a NodeList that contains all children of this node.
const DOMEntityReferenceType * getXercesNode() const
Get the Xerces node this instance represent.
virtual const XalanDOMString & getNodeValue() const =0
Gets the value of this node, depending on its type.
virtual const XalanDOMString & getLocalName() const =0
Returns the local part of the qualified name of this node.
#define XALAN_XERCESPARSERLIAISON_EXPORT
virtual const XalanNamedNodeMap * getAttributes() const =0
Gets a NamedNodeMap containing the attributes of this node (if it is an Element) or null otherwise...
virtual XalanNode * getLastChild() const =0
Gets the last child of this node.
virtual XalanNode * getFirstChild() const =0
Gets the first child of this node.
virtual XalanNode * getParentNode() const =0
Gets the parent of this node.
virtual XalanNode * getPreviousSibling() const =0
Gets the node immediately preceding this node.
virtual XalanDocument * getOwnerDocument() const =0
Gets the Document object associated with this node.
XalanEntityReference & operator=(const XalanEntityReference &theSource)
virtual const XalanDOMString & getNodeName() const =0
Gets the name of this node, depending on its type.
virtual const XalanDOMString & getNamespaceURI() const =0
Get the namespace URI of this node, or null if it is unspecified.
virtual XalanNode * getNextSibling() const =0
Gets the node immediately following this node.
bool operator==(const XalanEntityReference &theRHS) const
virtual const XalanDOMString & getPrefix() const =0
Get the namespace prefix of this node, or null if it is unspecified.
unsigned long IndexType
Definition: XalanNode.hpp:64
virtual bool isIndexed() const =0
Determine if the document is node-order indexed.
XERCES_CPP_NAMESPACE_QUALIFIER DOMEntityReference DOMEntityReferenceType
virtual IndexType getIndex() const =0
Get the node's index.

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.

Apache Logo