2
* This library is free software; you can redistribute it and/or
3
* modify it under the terms of the GNU Lesser General Public
4
* License as published by the Free Software Foundation; either
5
* version 2.1 of the License, or (at your option) any later version.
7
* As a special exception, you may use this file as part of a free
8
* software library without restriction. Specifically, if other files
9
* instantiate templates or use macros or inline functions from this
10
* file, or you compile this file and link it with other files to
11
* produce an executable, this file does not by itself cause the
12
* resulting executable to be covered by the GNU General Public
13
* License. This exception does not however invalidate any other
14
* reasons why the executable file might be covered by the GNU Library
15
* General Public License.
17
* This library is distributed in the hope that it will be useful,
18
* but WITHOUT ANY WARRANTY; without even the implied warranty of
19
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20
* Lesser General Public License for more details.
22
* You should have received a copy of the GNU Lesser General Public
23
* License along with this library; if not, write to the Free Software
24
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
26
#include "cxxtools/xml/processinginstruction.h"
27
#include "cxxtools/string.h"
33
ProcessingInstruction::ProcessingInstruction()
34
: Node(Node::ProcessingInstruction)
39
ProcessingInstruction::~ProcessingInstruction()
44
const String& ProcessingInstruction::target() const
50
void ProcessingInstruction::setTarget(const String& target)
56
const String& ProcessingInstruction::data() const
62
void ProcessingInstruction::setData(const String& data)
69
} // namespace cxxtools