00001 /* 00002 ** ClanLib SDK 00003 ** Copyright (c) 1997-2005 The ClanLib Team 00004 ** 00005 ** This software is provided 'as-is', without any express or implied 00006 ** warranty. In no event will the authors be held liable for any damages 00007 ** arising from the use of this software. 00008 ** 00009 ** Permission is granted to anyone to use this software for any purpose, 00010 ** including commercial applications, and to alter it and redistribute it 00011 ** freely, subject to the following restrictions: 00012 ** 00013 ** 1. The origin of this software must not be misrepresented; you must not 00014 ** claim that you wrote the original software. If you use this software 00015 ** in a product, an acknowledgment in the product documentation would be 00016 ** appreciated but is not required. 00017 ** 2. Altered source versions must be plainly marked as such, and must not be 00018 ** misrepresented as being the original software. 00019 ** 3. This notice may not be removed or altered from any source distribution. 00020 ** 00021 ** Note: Some of the libraries ClanLib link to may have additional 00022 ** requirements or restrictions. 00023 ** 00024 ** File Author(s): 00025 ** 00026 ** Magnus Norddahl 00027 */ 00028 00031 00032 #ifndef header_dom_notation 00033 #define header_dom_notation 00034 00035 #if _MSC_VER > 1000 00036 #pragma once 00037 #endif 00038 00039 #include "dom_node.h" 00040 00041 //: DOM Notation class. 00042 //- !group=Core/XML! 00043 //- !header=core.h! 00044 //- <p>This interface represents a notation declared in the DTD. A notation either declares, 00045 //- by name, the format of an unparsed entity (see section 4.7 of the XML 1.0 specification), 00046 //- or is used for formal declaration of Processing Instruction targets (see section 2.6 of 00047 //- the XML 1.0 specification). The node name attribute inherited from Node is set to the 00048 //- declared name of the notation.</p> 00049 //- <p>The DOM Level 1 does not support editing Notation nodes; they are therefore readonly.</p> 00050 //- <p>A Notation node does not have any parent.</p> 00051 class CL_DomNotation : public CL_DomNode 00052 { 00054 public: 00055 //: Constructs a DOM Notation handle. 00056 CL_DomNotation(); 00057 00058 CL_DomNotation(const CL_SharedPtr<CL_DomNode_Generic> &impl); 00059 00060 ~CL_DomNotation(); 00061 00063 public: 00064 //: The public identifier of this notation. 00065 //- <p>If the public identifier was not specified, this is null.</p> 00066 std::string get_public_id() const; 00067 00068 //: The system identifier of this notation. 00069 //- <p>If the system identifier was not specified, this is null.</p> 00070 std::string get_system_id() const; 00071 00073 public: 00074 }; 00075 00076 #endif
1.4.1