Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

XSLTProcessorEnvSupport.hpp
Go to the documentation of this file.
1 /*
2  * Copyright 1999-2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 #if !defined(XSLTPROCESSORENVSUPPORT_HEADER_GUARD_1357924680)
17 #define XSLTPROCESSORENVSUPPORT_HEADER_GUARD_1357924680
18 
19 
20 
21 // Base include file. Must be first.
23 
24 
25 
26 // Base class header file...
28 
29 
30 
31 XALAN_CPP_NAMESPACE_BEGIN
32 
33 
34 
36 class XSLTProcessor;
37 
38 
39 
41 {
42 public:
43 
45 
46  virtual
48 
49 
50  // These interfaces are new...
51 
70  virtual bool
71  problem(
72  eSource where,
73  eClassification classification,
74  const XalanNode* sourceNode,
75  const ElemTemplateElement* styleNode,
76  const XalanDOMString& msg,
77  const XalanDOMChar* uri,
78  int lineNo,
79  int charOffset) const = 0;
80 
81  // These interfaces are inherited from XPathEnvSupport...
82 
83  virtual XalanDocument*
84  parseXML(
85  MemoryManagerType& theManager,
86  const XalanDOMString& urlString,
87  const XalanDOMString& base) = 0;
88 
89  virtual XalanDocument*
90  getSourceDocument(const XalanDOMString& theURI) const = 0;
91 
92  virtual void
94  const XalanDOMString& theURI,
95  XalanDocument* theDocument) = 0;
96 
97  virtual const XalanDOMString&
98  findURIFromDoc(const XalanDocument* owner) const = 0;
99 
100  virtual bool
102  const XalanDOMString& theNamespace,
103  const XalanDOMString& elementName) const = 0;
104 
105  virtual bool
107  const XalanDOMString& theNamespace,
108  const XalanDOMString& functionName) const = 0;
109 
110  virtual XObjectPtr
111  extFunction(
112  XPathExecutionContext& executionContext,
113  const XalanDOMString& theNamespace,
114  const XalanDOMString& functionName,
115  XalanNode* context,
116  const XObjectArgVectorType& argVec,
117  const LocatorType* locator) const = 0;
118 
119  virtual bool
120  problem(
121  eSource where,
122  eClassification classification,
123  const PrefixResolver* resolver,
124  const XalanNode* sourceNode,
125  const XalanDOMString& msg,
126  const XalanDOMChar* uri,
127  int lineNo,
128  int charOffset) const = 0;
129 
130  // These interfaces are inherited from Resettable...
131 
132  virtual void
133  reset() = 0;
134 
135 private:
136 
137  // These are not implemented...
139 
141  operator=(const XSLTProcessorEnvSupport&);
142 
143  bool
144  operator==(const XSLTProcessorEnvSupport&) const;
145 };
146 
147 
148 
149 XALAN_CPP_NAMESPACE_END
150 
151 
152 
153 #endif // XSLTPROCESSORENVSUPPORT_HEADER_GUARD_1357924680
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)
Definition: XalanVector.hpp:1111
Definition: XalanNode.hpp:44
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager MemoryManagerType
Definition: XalanMemoryManagement.hpp:39
Definition: ElemTemplateElement.hpp:74
virtual XalanDocument * getSourceDocument(const XalanDOMString &theURI) const =0
Get the source document for the given URI.
virtual bool problem(eSource where, eClassification classification, const PrefixResolver *resolver, const XalanNode *sourceNode, const XalanDOMString &msg, const XalanDOMChar *uri, int lineNo, int charOffset) const =0
Function that is called when a problem event occurs.
Definition: XSLTProcessorEnvSupport.hpp:40
Class to hold XObjectPtr return types.
Definition: XObject.hpp:584
Definition: XPathExecutionContext.hpp:72
eClassification
Definition: XPathEnvSupport.hpp:169
virtual const XalanDOMString & findURIFromDoc(const XalanDocument *owner) const =0
Given a DOM Document, tell what URI was used to parse it.
virtual XalanDocument * parseXML(MemoryManagerType &theManager, const XalanDOMString &urlString, const XalanDOMString &base)=0
Provides support for XML parsing service.
virtual void setSourceDocument(const XalanDOMString &theURI, XalanDocument *theDocument)=0
Associate a document with a given URI.
Definition: XPathEnvSupport.hpp:62
XERCES_CPP_NAMESPACE_QUALIFIER Locator LocatorType
Definition: XPathEnvSupport.hpp:66
This class defines an interface for classes that resolve namespace prefixes to their URIs...
Definition: PrefixResolver.hpp:37
virtual XObjectPtr extFunction(XPathExecutionContext &executionContext, const XalanDOMString &theNamespace, const XalanDOMString &functionName, XalanNode *context, const XObjectArgVectorType &argVec, const LocatorType *locator) const =0
Handle an extension function.
Definition: XalanDocument.hpp:51
#define XALAN_XSLT_EXPORT
Definition: XSLTDefinitions.hpp:25
Definition: XalanDOMString.hpp:42
virtual void reset()=0
Reset the instance.
virtual bool functionAvailable(const XalanDOMString &theNamespace, const XalanDOMString &functionName) const =0
Determine if a function is available.
This is an interface for an XSLT Processor engine.
Definition: XSLTProcessor.hpp:79
eSource
Definition: XPathEnvSupport.hpp:163
virtual bool elementAvailable(const XalanDOMString &theNamespace, const XalanDOMString &elementName) const =0
Determine if an external element is available.

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

dot

Xalan-C++ XSLT Processor Version 1.10
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.

Apache Logo