| API Docs for SAX and DOM |
| Main Page Classes Files Related Pages # DOMXPathEvaluator.hpp Go to the documentation of this file.
    00001 #ifndef DOMXPathEvaluator_HEADER_GUARD_
    00002 #define DOMXPathEvaluator_HEADER_GUARD_
    00003
    00004 /*
    00005  * Licensed to the Apache Software Foundation (ASF) under one or more
    00006  * contributor license agreements.  See the NOTICE file distributed with
    00007  * this work for additional information regarding copyright ownership.
    00008  * The ASF licenses this file to You under the Apache License, Version 2.0
    00009  * (the "License"); you may not use this file except in compliance with
    00010  * the License.  You may obtain a copy of the License at
    00011  *
    00012  *      http://www.apache.org/licenses/LICENSE-2.0
    00013  *
    00014  * Unless required by applicable law or agreed to in writing, software
    00015  * distributed under the License is distributed on an "AS IS" BASIS,
    00016  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    00017  * See the License for the specific language governing permissions and
    00018  * limitations under the License.
    00019  */
    00020
    00021 #include <xercesc/util/XercesDefs.hpp>
    00022
    00023 XERCES_CPP_NAMESPACE_BEGIN
    00024
    00025 class DOMXPathNSResolver;
    00026 class DOMXPathExpression;
    00027 class DOMNode;
    00028
    00042 class  DOMXPathEvaluator
    00043 {
    00044
    00045 protected:
    00046     // -----------------------------------------------------------------------
    00047     //  Hidden constructors
    00048     // -----------------------------------------------------------------------
    00051     DOMXPathEvaluator() {};
    00053
    00054 private:
    00055     // -----------------------------------------------------------------------
    00056     // Unimplemented constructors and operators
    00057     // -----------------------------------------------------------------------
    00060     DOMXPathEvaluator(const DOMXPathEvaluator &);
    00061     DOMXPathEvaluator& operator = (const  DOMXPathEvaluator&);
    00063
    00064 public:
    00065     // -----------------------------------------------------------------------
    00066     //  All constructors are hidden, just the destructor is available
    00067     // -----------------------------------------------------------------------
    00074     virtual ~DOMXPathEvaluator() {};
    00076
    00077     // -----------------------------------------------------------------------
    00078     // Virtual DOMDocument interface
    00079     // -----------------------------------------------------------------------
    00082
    00103     virtual const DOMXPathExpression*    createExpression(const XMLCh *expression, const DOMXPathNSResolver *resolver) = 0;
    00104
    00105
    00117     virtual const DOMXPathNSResolver*    createNSResolver(DOMNode *nodeResolver) = 0;
    00118
    00119
    00164     virtual void* evaluate(const XMLCh *expression, DOMNode *contextNode, const DOMXPathNSResolver *resolver,
    00165                            unsigned short type, void* result) = 0;
    00166
    00168 };
    00169
    00170 XERCES_CPP_NAMESPACE_END
    00171
    00172 #endif

Copyright © 1994-2004 The Apache Software Foundation. All Rights Reserved.