Xalan-C++ API Reference  1.12.0
XalanSourceTreeDOMSupport.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(XALANSOURCETREEDOMSUPPORT_HEADER_GUARD_1357924680)
19 #define XALANSOURCETREEDOMSUPPORT_HEADER_GUARD_1357924680
20 
21 
22 
23 // Base include file. Must be first.
25 
26 
27 
29 
30 
31 
32 namespace XALAN_CPP_NAMESPACE {
33 
34 
35 
36 class XalanSourceTreeParserLiaison;
37 
38 
39 
41 {
42 public:
43 
45 
47 
48  virtual
50 
51  virtual void
52  reset();
53 
54  // These interfaces are inherited from DOMSupport...
55 
56  virtual const XalanDOMString&
57  getUnparsedEntityURI(
58  const XalanDOMString& theName,
59  const XalanDocument& theDocument) const;
60 
61  virtual bool
62  isNodeAfter(
63  const XalanNode& node1,
64  const XalanNode& node2) const;
65 
68  {
69  return m_parserLiaison;
70  }
71 
72  void
74  {
75  m_parserLiaison = theParserLiaison;
76  }
77 
78 private:
79 
80  const XalanSourceTreeParserLiaison* m_parserLiaison;
81 };
82 
83 
84 
85 }
86 
87 
88 
89 #endif // XALANSOURCETREEDOMSUPPORT_HEADER_GUARD_1357924680
XALAN_CPP_NAMESPACE
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
Definition: XalanVersion.hpp:76
xalanc::XalanSourceTreeParserLiaison
Definition: XalanSourceTreeParserLiaison.hpp:68
DOMSupport.hpp
xalanc::XalanNode
Definition: XalanNode.hpp:38
xalanc::XalanSourceTreeDOMSupport
Definition: XalanSourceTreeDOMSupport.hpp:40
xalanc::XalanDocument
Definition: XalanDocument.hpp:36
xalanc::XalanSourceTreeDOMSupport::getParserLiaison
const XalanSourceTreeParserLiaison * getParserLiaison() const
Definition: XalanSourceTreeDOMSupport.hpp:67
xalanc::XalanSourceTreeDOMSupport::setParserLiaison
void setParserLiaison(const XalanSourceTreeParserLiaison *theParserLiaison)
Definition: XalanSourceTreeDOMSupport.hpp:73
XalanSourceTreeDefinitions.hpp
xalanc::DOMSupport
Definition: DOMSupport.hpp:41
XALAN_XALANSOURCETREE_EXPORT
#define XALAN_XALANSOURCETREE_EXPORT
Definition: XalanSourceTreeDefinitions.hpp:35
xalanc::XalanDOMString
Definition: XalanDOMString.hpp:45