00001 /* 00002 * Licensed to the Apache Software Foundation (ASF) under one 00003 * or more contributor license agreements. See the NOTICE file 00004 * distributed with this work for additional information 00005 * regarding copyright ownership. The ASF licenses this file 00006 * to you under the Apache License, Version 2.0 (the "License"); 00007 * you may not use this file except in compliance with the License. 00008 * You may obtain a copy of the License at 00009 * 00010 * http://www.apache.org/licenses/LICENSE-2.0 00011 * 00012 * Unless required by applicable law or agreed to in writing, software 00013 * distributed under the License is distributed on an "AS IS" BASIS, 00014 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00015 * See the License for the specific language governing permissions and 00016 * limitations under the License. 00017 */ 00018 #if !defined(DOMSUPPORT_HEADER_GUARD_1357924680) 00019 #define DOMSUPPORT_HEADER_GUARD_1357924680 00020 00021 00022 00023 // Base include file. Must be first. 00024 #include <xalanc/DOMSupport/DOMSupportDefinitions.hpp> 00025 00026 00027 00028 XALAN_CPP_NAMESPACE_BEGIN 00029 00030 00031 00032 class XalanAttr; 00033 class XalanDocument; 00034 class XalanDOMString; 00035 class XalanElement; 00036 class XalanNode; 00037 class XalanText; 00038 00039 00040 00041 class XALAN_DOMSUPPORT_EXPORT DOMSupport 00042 { 00043 public: 00044 00045 DOMSupport(); 00046 00047 virtual 00048 ~DOMSupport(); 00049 00050 // These interfaces are inherited from Resettable... 00051 00052 virtual void 00053 reset() = 0; 00054 00055 // These interfaces are new to DOMSupport... 00056 00057 /** 00058 * Retrieves the URI of the named unparsed entity 00059 * from the supplied document. 00060 * 00061 * @param theName The name of the entity 00062 * @param theDocument The document that contains the entity 00063 * @return The URI of the entity 00064 */ 00065 virtual const XalanDOMString& 00066 getUnparsedEntityURI( 00067 const XalanDOMString& theName, 00068 const XalanDocument& theDocument) const = 0; 00069 00070 /** 00071 * Determine if a node is after another node, in document order. 00072 * 00073 * @param node1 The first node 00074 * @param node2 The second node 00075 * @return true if node1 one is after node2, or false if it is not. 00076 */ 00077 virtual bool 00078 isNodeAfter( 00079 const XalanNode& node1, 00080 const XalanNode& node2) const = 0; 00081 }; 00082 00083 00084 00085 XALAN_CPP_NAMESPACE_END 00086 00087 00088 00089 #endif // DOMSUPPORT_HEADER_GUARD_1357924680
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.11 |
|