Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


XPathConstructionContextDefault.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(XPATHCONSTRUCTIONCONTEXTDEFAULT_HEADER_GUARD_1357924680)
19 #define XPATHCONSTRUCTIONCONTEXTDEFAULT_HEADER_GUARD_1357924680
20 
21 
22 
23 // Base include file. Must be first.
25 
26 
27 
30 
31 
32 
33 // Base class header file...
35 
36 
37 
38 XALAN_CPP_NAMESPACE_BEGIN
39 
40 
41 
42 /**
43  *
44  * An default implementation of an abtract class which provides support for
45  * constructing the internal representation of an XPath.
46  *
47  */
49 {
50 public:
51 
52  /*
53  * Construct an instance.
54  */
55  XPathConstructionContextDefault(MemoryManager& theManager XALAN_DEFAULT_MEMMGR);
56 
58  create(MemoryManager& theManager);
59 
60  virtual
62 
63 
64  // These interfaces are inherited from XPathConstructionContext...
65  virtual void
66  problem(
67  eSource source,
68  eClassification classification,
69  const XalanDOMString& msg,
70  const Locator* locator,
71  const XalanNode* sourceNode);
72 
73  virtual void
74  problem(
75  eSource source,
76  eClassification classification,
77  const XalanDOMString& msg,
78  const XalanNode* sourceNode);
79 
80  virtual void
81  reset();
82 
83  virtual const XalanDOMString&
84  getPooledString(const XalanDOMString& theString);
85 
86  virtual const XalanDOMString&
88  const XalanDOMChar* theString,
90 
91  virtual XalanDOMString&
93 
94  virtual bool
96 
97 private:
98 
99  XalanDOMStringPool m_stringPool;
100 
101  XalanDOMStringCache m_stringCache;
102 };
103 
104 
105 
106 XALAN_CPP_NAMESPACE_END
107 
108 
109 
110 #endif // XPATHCONSTRUCTIONCONTEXTDEFAULT_HEADER_GUARD_1357924680
virtual bool releaseCachedString(XalanDOMString &theString)=0
Return a cached string.
virtual const XalanDOMString & getPooledString(const XalanDOMString &theString)=0
Get a pooled string given the source string.
virtual void reset()=0
Reset the instance.
#define XALAN_DEFAULT_MEMMGR
XalanSize_t size_type
virtual void problem(eSource source, eClassification classification, const XalanDOMString &msg, const Locator *locator, const XalanNode *sourceNode)=0
Function that is called when a problem event occurs.
virtual XalanDOMString & getCachedString()=0
Get a cached string for temporary use.
An default implementation of an abtract class which provides support for constructing the internal re...
#define XALAN_XPATH_EXPORT

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