162 lines
13 KiB
HTML
162 lines
13 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
|
<title>XQilla DOM3 API Documentation</title>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
|
<link href="tabs.css" rel="stylesheet" type="text/css">
|
|
</head><body>
|
|
<a style="float:right;" href="http://sourceforge.net/projects/xqilla"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=152021&type=2" border="0" alt="SourceForge.net Logo" /></a>
|
|
<!-- Generated by Doxygen 1.3.9.1 -->
|
|
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="examples.html">Examples</a></div>
|
|
<div class="nav">
|
|
<a class="el" href="dir_000000.html">xerces-c-3.0.1</a> / <a class="el" href="dir_000001.html">src</a> / <a class="el" href="dir_000002.html">xercesc</a> / <a class="el" href="dir_000003.html">dom</a></div>
|
|
<h1>DOMLSParser.hpp</h1><a href="DOMLSParser_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001 <span class="comment">/*</span>
|
|
00002 <span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</span>
|
|
00003 <span class="comment"> * contributor license agreements. See the NOTICE file distributed with</span>
|
|
00004 <span class="comment"> * this work for additional information regarding copyright ownership.</span>
|
|
00005 <span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span>
|
|
00006 <span class="comment"> * (the "License"); you may not use this file except in compliance with</span>
|
|
00007 <span class="comment"> * the License. You may obtain a copy of the License at</span>
|
|
00008 <span class="comment"> *</span>
|
|
00009 <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span>
|
|
00010 <span class="comment"> *</span>
|
|
00011 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span>
|
|
00012 <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span>
|
|
00013 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
|
|
00014 <span class="comment"> * See the License for the specific language governing permissions and</span>
|
|
00015 <span class="comment"> * limitations under the License.</span>
|
|
00016 <span class="comment"> */</span>
|
|
00017
|
|
00018 <span class="comment">/*</span>
|
|
00019 <span class="comment"> * $Id: DOMLSParser.hpp 671894 2008-06-26 13:29:21Z borisk $</span>
|
|
00020 <span class="comment"> *</span>
|
|
00021 <span class="comment"> */</span>
|
|
00022
|
|
00023 <span class="preprocessor">#if !defined(XERCESC_INCLUDE_GUARD_DOMLSPARSER_HPP)</span>
|
|
<a name="l00024"></a><a class="code" href="DOMLSParser_8hpp.html#a0">00024</a> <span class="preprocessor"></span><span class="preprocessor">#define XERCESC_INCLUDE_GUARD_DOMLSPARSER_HPP</span>
|
|
00025 <span class="preprocessor"></span>
|
|
00026 <span class="preprocessor">#include <<a class="code" href="DOMConfiguration_8hpp.html">xercesc/dom/DOMConfiguration.hpp</a>></span>
|
|
00027 <span class="preprocessor">#include <xercesc/util/XercesDefs.hpp></span>
|
|
00028 <span class="preprocessor">#include <xercesc/validators/common/Grammar.hpp></span>
|
|
00029
|
|
00030 XERCES_CPP_NAMESPACE_BEGIN
|
|
00031
|
|
00032
|
|
00033 <span class="keyword">class </span>DOMErrorHandler;
|
|
00034 <span class="keyword">class </span>DOMLSInput;
|
|
00035 <span class="keyword">class </span>DOMLSParserFilter;
|
|
00036 <span class="keyword">class </span>DOMNode;
|
|
00037 <span class="keyword">class </span>DOMDocument;
|
|
00038
|
|
<a name="l00047"></a><a class="code" href="classxercesc_1_1DOMLSParser.html">00047</a> <span class="keyword">class </span>CDOM_EXPORT DOMLSParser
|
|
00048 {
|
|
00049 <span class="keyword">protected</span> :
|
|
00050 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
00051 <span class="comment">// Hidden constructors</span>
|
|
00052 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00055"></a><a class="code" href="classxercesc_1_1DOMLSParser.html#z265_0">00055</a> <span class="comment"></span> DOMLSParser() {};
|
|
00057
|
|
00058 <span class="keyword">private</span>:
|
|
00059 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
00060 <span class="comment">// Unimplemented constructors and operators</span>
|
|
00061 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
00064 <span class="comment"></span> DOMLSParser(<span class="keyword">const</span> DOMLSParser &);
|
|
00065 DOMLSParser & operator = (<span class="keyword">const</span> DOMLSParser &);
|
|
00067
|
|
00068 <span class="keyword">public</span>:
|
|
00069 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
00070 <span class="comment">// All constructors are hidden, just the destructor is available</span>
|
|
00071 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00078"></a><a class="code" href="classxercesc_1_1DOMLSParser.html#z269_0">00078</a> <span class="comment"></span> <span class="keyword">virtual</span> ~DOMLSParser() {};
|
|
00080
|
|
00081 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
00082 <span class="comment">// Class types</span>
|
|
00083 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
<a name="l00117"></a><a class="code" href="classxercesc_1_1DOMLSParser.html#z271_0">00117</a> <span class="comment"></span> <span class="keyword">enum</span> ActionType
|
|
00118 {
|
|
00119 ACTION_APPEND_AS_CHILDREN = 1,
|
|
00120 ACTION_REPLACE_CHILDREN = 2,
|
|
00121 ACTION_INSERT_BEFORE = 3,
|
|
00122 ACTION_INSERT_AFTER = 4,
|
|
00123 ACTION_REPLACE = 5
|
|
00124 };
|
|
00126
|
|
00127 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
00128 <span class="comment">// Virtual DOMLSParser interface</span>
|
|
00129 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
00132 <span class="comment"></span>
|
|
00133 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
00134 <span class="comment">// Getter methods</span>
|
|
00135 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
00136
|
|
00377 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMConfiguration.html">DOMConfiguration</a>* getDomConfig() = 0;
|
|
00378
|
|
00388 <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classxercesc_1_1DOMLSParserFilter.html">DOMLSParserFilter</a>* getFilter() <span class="keyword">const </span>= 0;
|
|
00389
|
|
00397 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> getAsync() <span class="keyword">const </span>= 0;
|
|
00398
|
|
00406 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> getBusy() <span class="keyword">const </span>= 0;
|
|
00407
|
|
00408 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
00409 <span class="comment">// Setter methods</span>
|
|
00410 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
00431 <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> setFilter(<a class="code" href="classxercesc_1_1DOMLSParserFilter.html">DOMLSParserFilter</a>* <span class="keyword">const</span> filter) = 0;
|
|
00432
|
|
00433 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
00434 <span class="comment">// Parsing methods</span>
|
|
00435 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
00462 <span class="comment"></span> <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMDocument.html">DOMDocument</a>* parse(<span class="keyword">const</span> <a class="code" href="classxercesc_1_1DOMLSInput.html">DOMLSInput</a>* source) = 0;
|
|
00463
|
|
00490 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMDocument.html">DOMDocument</a>* parseURI(<span class="keyword">const</span> XMLCh* <span class="keyword">const</span> uri) = 0;
|
|
00491
|
|
00518 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMDocument.html">DOMDocument</a>* parseURI(<span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> uri) = 0;
|
|
00519
|
|
00587 <span class="keyword">virtual</span> <span class="keywordtype">void</span> parseWithContext
|
|
00588 (
|
|
00589 <span class="keyword">const</span> <a class="code" href="classxercesc_1_1DOMLSInput.html">DOMLSInput</a>* source
|
|
00590 , <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a>* contextNode
|
|
00591 , <span class="keyword">const</span> ActionType action
|
|
00592 ) = 0;
|
|
00593
|
|
00602 <span class="keyword">virtual</span> <span class="keywordtype">void</span> abort() = 0;
|
|
00604
|
|
00605 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
00606 <span class="comment">// Non-standard Extension</span>
|
|
00607 <span class="comment">// -----------------------------------------------------------------------</span>
|
|
00616 <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> release() = 0;
|
|
00617
|
|
00641 <span class="keyword">virtual</span> <span class="keywordtype">void</span> resetDocumentPool() = 0;
|
|
00642
|
|
00668 <span class="keyword">virtual</span> Grammar* loadGrammar(<span class="keyword">const</span> <a class="code" href="classxercesc_1_1DOMLSInput.html">DOMLSInput</a>* source,
|
|
00669 <span class="keyword">const</span> Grammar::GrammarType grammarType,
|
|
00670 <span class="keyword">const</span> <span class="keywordtype">bool</span> toCache = <span class="keyword">false</span>) = 0;
|
|
00671
|
|
00695 <span class="keyword">virtual</span> Grammar* loadGrammar(<span class="keyword">const</span> XMLCh* <span class="keyword">const</span> systemId,
|
|
00696 <span class="keyword">const</span> Grammar::GrammarType grammarType,
|
|
00697 <span class="keyword">const</span> <span class="keywordtype">bool</span> toCache = <span class="keyword">false</span>) = 0;
|
|
00698
|
|
00722 <span class="keyword">virtual</span> Grammar* loadGrammar(<span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> systemId,
|
|
00723 <span class="keyword">const</span> Grammar::GrammarType grammarType,
|
|
00724 <span class="keyword">const</span> <span class="keywordtype">bool</span> toCache = <span class="keyword">false</span>) = 0;
|
|
00725
|
|
00732 <span class="keyword">virtual</span> Grammar* getGrammar(<span class="keyword">const</span> XMLCh* <span class="keyword">const</span> nameSpaceKey) <span class="keyword">const </span>= 0;
|
|
00733
|
|
00739 <span class="keyword">virtual</span> Grammar* getRootGrammar() <span class="keyword">const </span>= 0;
|
|
00740
|
|
00747 <span class="keyword">virtual</span> <span class="keyword">const</span> XMLCh* getURIText(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> uriId) <span class="keyword">const </span>= 0;
|
|
00748
|
|
00752 <span class="keyword">virtual</span> <span class="keywordtype">void</span> resetCachedGrammarPool() = 0;
|
|
00753
|
|
00759 <span class="keyword">virtual</span> XMLFilePos getSrcOffset() <span class="keyword">const </span>= 0;
|
|
00760
|
|
00762
|
|
00763 };
|
|
00764
|
|
00765
|
|
00766 XERCES_CPP_NAMESPACE_END
|
|
00767
|
|
00768 <span class="preprocessor">#endif</span>
|
|
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Sep 25 06:55:48 2009 for XQilla DOM Level 3 API by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address>
|
|
</body>
|
|
</html>
|