Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


XSLTProcessorEnvSupport.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(XSLTPROCESSORENVSUPPORT_HEADER_GUARD_1357924680)
19 #define XSLTPROCESSORENVSUPPORT_HEADER_GUARD_1357924680
20 
21 
22 
23 // Base include file. Must be first.
25 
26 
27 
28 // Base class header file...
30 
31 
32 
33 XALAN_CPP_NAMESPACE_BEGIN
34 
35 
36 
38 class XSLTProcessor;
39 
40 
41 
43 {
44 public:
45 
47 
48  virtual
50 
51 
52  // These interfaces are inherited from XPathEnvSupport...
53 
54  virtual void
56  eSource source,
57  eClassification classification,
58  const XalanDOMString& msg,
59  const Locator* locator,
60  const XalanNode* sourceNode) = 0;
61 
62  virtual void
64  eSource source,
65  eClassification classification,
66  const XalanDOMString& msg,
67  const XalanNode* sourceNode) = 0;
68 
69  virtual XalanDocument*
71  MemoryManager& theManager,
72  const XalanDOMString& urlString,
73  const XalanDOMString& base,
74  ErrorHandler* theErrorHandler = 0) = 0;
75 
76  virtual XalanDocument*
77  getSourceDocument(const XalanDOMString& theURI) const = 0;
78 
79  virtual void
81  const XalanDOMString& theURI,
82  XalanDocument* theDocument) = 0;
83 
84  virtual const XalanDOMString&
85  findURIFromDoc(const XalanDocument* owner) const = 0;
86 
87  virtual bool
89  const XalanDOMString& theNamespace,
90  const XalanDOMString& elementName) const = 0;
91 
92  virtual bool
94  const XalanDOMString& theNamespace,
95  const XalanDOMString& functionName) const = 0;
96 
97  virtual XObjectPtr
99  XPathExecutionContext& executionContext,
100  const XalanDOMString& theNamespace,
101  const XalanDOMString& functionName,
102  XalanNode* context,
103  const XObjectArgVectorType& argVec,
104  const Locator* locator) const = 0;
105 
106  virtual void
107  reset() = 0;
108 
109 private:
110 
111  // These are not implemented...
113 
115  operator=(const XSLTProcessorEnvSupport&);
116 
117  bool
118  operator==(const XSLTProcessorEnvSupport&) const;
119 };
120 
121 
122 
123 XALAN_CPP_NAMESPACE_END
124 
125 
126 
127 #endif // XSLTPROCESSORENVSUPPORT_HEADER_GUARD_1357924680
XSLTProcessorEnvSupport::findURIFromDoc
virtual const XalanDOMString & findURIFromDoc(const XalanDocument *owner) const =0
Given a DOM Document, tell what URI was used to parse it.
XSLTProcessorEnvSupport::extFunction
virtual XObjectPtr extFunction(XPathExecutionContext &executionContext, const XalanDOMString &theNamespace, const XalanDOMString &functionName, XalanNode *context, const XObjectArgVectorType &argVec, const Locator *locator) const =0
Handle an extension function.
XSLTProcessorEnvSupport::parseXML
virtual XalanDocument * parseXML(MemoryManager &theManager, const XalanDOMString &urlString, const XalanDOMString &base, ErrorHandler *theErrorHandler=0)=0
Provides support for XML parsing service.
XSLTProcessorEnvSupport::problem
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.
XSLTProcessorEnvSupport::elementAvailable
virtual bool elementAvailable(const XalanDOMString &theNamespace, const XalanDOMString &elementName) const =0
Determine if an external element is available.
ProblemListenerBase::eClassification
eClassification
Definition: ProblemListenerBase.hpp:72
operator==
bool operator==(const ElemAttributeSet &theLHS, const ElemAttributeSet &theRHS)
Definition: ElemAttributeSet.hpp:111
XalanDocument
Definition: XalanDocument.hpp:37
XPathEnvSupport.hpp
XSLTProcessorEnvSupport::setSourceDocument
virtual void setSourceDocument(const XalanDOMString &theURI, XalanDocument *theDocument)=0
Associate a document with a given URI.
XALAN_XSLT_EXPORT
#define XALAN_XSLT_EXPORT
Definition: XSLTDefinitions.hpp:27
ProblemListenerBase::eSource
eSource
Definition: ProblemListenerBase.hpp:59
XPathExecutionContext
Definition: XPathExecutionContext.hpp:80
XSLTProcessorEnvSupport
Definition: XSLTProcessorEnvSupport.hpp:43
XSLTProcessorEnvSupport::getSourceDocument
virtual XalanDocument * getSourceDocument(const XalanDOMString &theURI) const =0
Get the source document for the given URI.
XSLTProcessorEnvSupport::functionAvailable
virtual bool functionAvailable(const XalanDOMString &theNamespace, const XalanDOMString &functionName) const =0
Determine if a function is available.
XSLTProcessorEnvSupport::problem
virtual void problem(eSource source, eClassification classification, const XalanDOMString &msg, const XalanNode *sourceNode)=0
Function that is called when a problem event occurs.
XPathEnvSupport
Definition: XPathEnvSupport.hpp:58
XalanVector< XObjectPtr >
XalanDOMString
Definition: XalanDOMString.hpp:46
ElemTemplateElement
Definition: ElemTemplateElement.hpp:77
XObjectPtr
Class to hold XObjectPtr return types.
Definition: XObject.hpp:884
XSLTProcessorEnvSupport::reset
virtual void reset()=0
Reset the instance.
XSLTProcessor
This is an interface for an XSLT Processor engine.
Definition: XSLTProcessor.hpp:86
XSLTDefinitions.hpp
XSLTProcessorEnvSupport::~XSLTProcessorEnvSupport
virtual ~XSLTProcessorEnvSupport()
XalanNode
Definition: XalanNode.hpp:39
XSLTProcessorEnvSupport::XSLTProcessorEnvSupport
XSLTProcessorEnvSupport()

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