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  */
56 
58  create(MemoryManager& theManager);
59 
60  virtual
62 
63 
64  // These interfaces are inherited from XPathConstructionContext...
65  virtual void
67  eSource source,
68  eClassification classification,
69  const XalanDOMString& msg,
70  const Locator* locator,
71  const XalanNode* sourceNode);
72 
73  virtual void
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
ProblemListenerBase::eClassification
eClassification
Definition: ProblemListenerBase.hpp:72
XalanDOMStringPool
Definition: XalanDOMStringPool.hpp:40
XalanDOMString::size_type
XalanSize_t size_type
Definition: XalanDOMString.hpp:57
XalanDOMStringCache
Definition: XalanDOMStringCache.hpp:45
XPathConstructionContextDefault::problem
virtual void problem(eSource source, eClassification classification, const XalanDOMString &msg, const XalanNode *sourceNode)
Function that is called when a problem event occurs.
XALAN_DEFAULT_MEMMGR
#define XALAN_DEFAULT_MEMMGR
Definition: XalanMemoryManagement.hpp:524
XPathConstructionContext.hpp
XPathConstructionContextDefault::getPooledString
virtual const XalanDOMString & getPooledString(const XalanDOMChar *theString, XalanDOMString::size_type theLength=XalanDOMString::npos)
Get a pooled string given the source character array.
XALAN_XPATH_EXPORT
#define XALAN_XPATH_EXPORT
Definition: XPathDefinitions.hpp:35
ProblemListenerBase::eSource
eSource
Definition: ProblemListenerBase.hpp:59
XPathConstructionContextDefault
An default implementation of an abtract class which provides support for constructing the internal re...
Definition: XPathConstructionContextDefault.hpp:49
XPathConstructionContext
Definition: XPathConstructionContext.hpp:58
XPathConstructionContextDefault::getPooledString
virtual const XalanDOMString & getPooledString(const XalanDOMString &theString)
Get a pooled string given the source string.
XalanDOMString::npos
@ npos
Definition: XalanDOMString.hpp:67
XPathConstructionContextDefault::reset
virtual void reset()
Reset the instance.
XalanDOMString
Definition: XalanDOMString.hpp:46
XPathConstructionContextDefault::problem
virtual void problem(eSource source, eClassification classification, const XalanDOMString &msg, const Locator *locator, const XalanNode *sourceNode)
Function that is called when a problem event occurs.
XalanDOMStringPool.hpp
XPathConstructionContextDefault::~XPathConstructionContextDefault
virtual ~XPathConstructionContextDefault()
XPathConstructionContextDefault::releaseCachedString
virtual bool releaseCachedString(XalanDOMString &theString)
Return a cached string.
XPathConstructionContextDefault::create
static XPathConstructionContextDefault * create(MemoryManager &theManager)
XPathConstructionContextDefault::XPathConstructionContextDefault
XPathConstructionContextDefault(MemoryManager &theManager XALAN_DEFAULT_MEMMGR)
XalanNode
Definition: XalanNode.hpp:39
XPathConstructionContextDefault::getCachedString
virtual XalanDOMString & getCachedString()
Get a cached string for temporary use.
XPathDefinitions.hpp
XalanDOMStringCache.hpp

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