## 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

# FunctionNormalizeSpace.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(FUNCTIONNORMALIZE_HEADER_GUARD_1357924680)
    00017 #define FUNCTIONNORMALIZE_HEADER_GUARD_1357924680
    00018
    00019
    00020
    00021 // Base header file.  Must be first.
    00022 #include <xalanc/XPath/XPathDefinitions.hpp>
    00023
    00024
    00025
    00026 // Base class header file...
    00027 #include <xalanc/XPath/Function.hpp>
    00028
    00029
    00030
    00031 #include <xalanc/XPath/NodeRefListBase.hpp>
    00032
    00033
    00034
    00035 XALAN_CPP_NAMESPACE_BEGIN
    00036
    00037
    00038
    00042 class XALAN_XPATH_EXPORT FunctionNormalizeSpace : public Function
    00043 {
    00044 public:
    00045
    00046     typedef Function    ParentType;
    00047
    00048     FunctionNormalizeSpace();
    00049
    00050     virtual
    00051     ~FunctionNormalizeSpace();
    00052
    00053     // These methods are inherited from Function ...
    00054
    00055     virtual XObjectPtr
    00056     execute(
    00057             XPathExecutionContext&  executionContext,
    00058             XalanNode*              context,
    00059             const LocatorType*      locator) const;
    00060
    00061     virtual XObjectPtr
    00062     execute(
    00063             XPathExecutionContext&  executionContext,
    00064             XalanNode*              context,
    00065             const XObjectPtr        arg1,
    00066             const LocatorType*      locator) const;
    00067
    00068 #if !defined(XALAN_NO_USING_DECLARATION)
    00069     using ParentType::execute;
    00070 #endif
    00071
    00072 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE)
    00073     virtual Function*
    00074 #else
    00075     virtual FunctionNormalizeSpace*
    00076 #endif
    00077     clone(MemoryManagerType& theManager) const;
    00078
    00079 protected:
    00080
    00081     virtual const XalanDOMString&
    00082     getError(XalanDOMString& theResult) const;
    00083
    00084 private:
    00085
    00086     bool
    00087     needsNormalization(const XalanDOMString&    theString) const;
    00088
    00089     XObjectPtr
    00090     normalize(
    00091         XPathExecutionContext&  executionContext,
    00092         const XalanDOMString&   theString) const;
    00093
    00094     XObjectPtr
    00095     normalize(
    00096         XPathExecutionContext&  executionContext,
    00097         const XObjectPtr&       theArg) const;
    00098
    00099     // Not implemented...
    00100     FunctionNormalizeSpace&
    00101     operator=(const FunctionNormalizeSpace&);
    00102
    00103     bool
    00104     operator==(const FunctionNormalizeSpace&) const;
    00105 };
    00106
    00107
    00108
    00109 XALAN_CPP_NAMESPACE_END
    00110
    00111
    00112
    00113 #endif  // FUNCTIONNORMALIZE_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.