Xalan-C++ API Reference 1.12.0
AVTPart.hpp
Go to the documentation of this file.
1/*
2 * Licensed to the Apache Software Foundation (ASF) under one
3 * or more contributor license agreements. See the NOTICE file
4 * distributed with this work for additional information
5 * regarding copyright ownership. The ASF licenses this file
6 * to you under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18#if !defined(XALAN_AVTPART_HEADER_GUARD)
19#define XALAN_AVTPART_HEADER_GUARD
20
21
22
23// Base include file. Must be first.
24#include "XSLTDefinitions.hpp"
25
26
27
28namespace XALAN_CPP_NAMESPACE {
29
30
31
32class XalanDOMString;
33class XalanNode;
34class PrefixResolver;
35class XPathExecutionContext;
36
37
38
39/**
40 * Class to hold a part, either a string or XPath,
41 * of an Attribute Value Template.
42 */
44{
45public:
46
48
49 virtual
51
52 /**
53 * Append the value to the buffer.
54 *
55 * @param buf buffer to write into
56 * @param contextNode current context node
57 * @param prefixResolver prefix resolver to use
58 * @param executionContext execution context
59 */
60 virtual void
66
67 /**
68 * Append the value to the buffer.
69 *
70 * @param buf buffer to write into
71 * @param prefixResolver prefix resolver to use
72 * @param executionContext execution context
73 */
74 virtual void
79};
80
81
82
83}
84
85
86
87#endif //XALAN_AVTPART_HEADER_GUARD
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
Class to hold a part, either a string or XPath, of an Attribute Value Template.
Definition AVTPart.hpp:44
virtual ~AVTPart()
virtual void evaluate(XalanDOMString &buf, XalanNode *contextNode, const PrefixResolver &prefixResolver, XPathExecutionContext &executionContext) const =0
Append the value to the buffer.
virtual void evaluate(XalanDOMString &buf, const PrefixResolver &prefixResolver, XPathExecutionContext &executionContext) const =0
Append the value to the buffer.
This class defines an interface for classes that resolve namespace prefixes to their URIs.