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  

XalanSpaceNodeTester.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(XALAN_SPACENODETESTER_HEADER_GUARD_1357924680)
00017 #define XALAN_SPACENODETESTER_HEADER_GUARD_1357924680
00018 
00025 
00026 // Base include file.  Must be first.
00027 #include "XSLTDefinitions.hpp"
00028 
00029 
00030 
00031 #include "xalanc/XPath/XPath.hpp"
00032 
00033 
00034 
00035 XALAN_CPP_NAMESPACE_BEGIN
00036 
00037 
00038 
00039 class PrefixResolver;
00040 class StylesheetConstructionContext;
00041 
00042 
00043 
00044 class XalanSpaceNodeTester : public XPath::NodeTester
00045 {
00046 public:
00047 
00048     typedef XPath::NodeTester   ParentType;
00049 
00050     enum eType
00051     {
00052         eStrip,
00053         ePreserve
00054     };
00055 
00056     XalanSpaceNodeTester();
00057 
00058     XalanSpaceNodeTester(const XalanSpaceNodeTester&    theSource);
00059 
00060     XalanSpaceNodeTester(
00061             eType                           theType,
00062             StylesheetConstructionContext&  theContext,
00063             const XalanDOMString&           theNameTest,
00064             const PrefixResolver&           thePrefixResolver,
00065             const LocatorType*              theLocator);
00066 
00067     ~XalanSpaceNodeTester();
00068 
00069     XPath::eMatchScore
00070     getMatchScore() const
00071     {
00072         return m_matchScore;
00073     }
00074 
00075     eType
00076     getType() const
00077     {
00078         return m_type;
00079     }
00080 
00081     XalanSpaceNodeTester&
00082     operator=(const XalanSpaceNodeTester&   theRHS)
00083     {
00084         m_matchScore = theRHS.m_matchScore;
00085         m_type = theRHS.m_type;
00086 
00087         ParentType::operator=(theRHS);
00088 
00089         return *this;
00090     }
00091 
00092 private:
00093 
00094     XPath::eMatchScore  m_matchScore;
00095 
00096     eType               m_type;
00097 };
00098 
00099 
00100 
00101 XALAN_CPP_NAMESPACE_END
00102 
00103 
00104 
00105 #endif  // !defined(XALAN_SPACENODETESTER_HEADER_GUARD_1357924680)

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