## Xalan-C++ API Documentation

### The Xalan C++ XSLT Processor Version 1.10

Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members

# ExecutionContext.hpp

Go to the documentation of this file.

    00001 /*
    00002  * Copyright 1999-2004 The Apache Software Foundation.
    00003  *
    00004  * Licensed under the Apache License, Version 2.0 (the "License");
    00005  * you may not use this file except in compliance with the License.
    00006  * You may obtain a copy of the License at
    00007  *
    00008  *     http://www.apache.org/licenses/LICENSE-2.0
    00009  *
    00010  * Unless required by applicable law or agreed to in writing, software
    00011  * distributed under the License is distributed on an "AS IS" BASIS,
    00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    00013  * See the License for the specific language governing permissions and
    00014  * limitations under the License.
    00015  */
    00016 #if !defined(EXECUTIONCONTEXT_HEADER_GUARD_1357924680)
    00017 #define EXECUTIONCONTEXT_HEADER_GUARD_1357924680
    00018
    00019
    00020
    00021 // Base include file.  Must be first.
    00022 #include <xalanc/PlatformSupport/PlatformSupportDefinitions.hpp>
    00023
    00024 #include <xalanc/Include/XalanMemoryManagement.hpp>
    00025
    00026 XALAN_DECLARE_XERCES_CLASS(Locator)
    00027
    00028
    00029
    00030 XALAN_CPP_NAMESPACE_BEGIN
    00031
    00032
    00033
    00034 typedef XERCES_CPP_NAMESPACE_QUALIFIER Locator  LocatorType;
    00035
    00036
    00037
    00038 class XalanNode;
    00039 class XalanDOMString;
    00040
    00041
    00042 //
    00043 // An abstract class which provides support for execution.
    00044 //
    00045 class XALAN_PLATFORMSUPPORT_EXPORT ExecutionContext
    00046 {
    00047 public:
    00048
    00049     explicit
    00050     ExecutionContext( MemoryManagerType& m_memoryManager);
    00051
    00052     virtual
    00053     ~ExecutionContext();
    00054
    00062     virtual void
    00063     error(
    00064             const XalanDOMString&   msg,
    00065             const XalanNode*        sourceNode = 0,
    00066             const LocatorType*      locator = 0) const = 0;
    00067
    00075     virtual void
    00076     warn(
    00077             const XalanDOMString&   msg,
    00078             const XalanNode*        sourceNode = 0,
    00079             const LocatorType*      locator = 0) const = 0;
    00080
    00088     virtual void
    00089     message(
    00090             const XalanDOMString&   msg,
    00091             const XalanNode*        sourceNode = 0,
    00092             const LocatorType*      locator = 0) const = 0;
    00093
    00094     MemoryManagerType&
    00095     getMemoryManager()
    00096     {
    00097         return m_memoryManager;
    00098     }
    00099 protected:
    00100     MemoryManagerType&              m_memoryManager;
    00101 };
    00102
    00103
    00104
    00105 XALAN_CPP_NAMESPACE_END
    00106
    00107
    00108
    00109 #endif  // EXECUTIONCONTEXT_HEADER_GUARD_1357924680

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.10 Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.