Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > 3c90d4f0807cc46df5c0517e9fe40564 > files > 479

xalan-c-doc-1.4-2mdk.ppc.rpm

<HTML><HEAD><TITLE>Xalan-C++ API Documentation</TITLE></HEAD>
<BODY>
<h2 align="center">Xalan-C++ API Documentation</h2>
<h3 align="center">The Xalan C++ XSLT Processor Version 1.4</h3>
</BODY>
<!-- Generated by Doxygen 1.1.2 on Mon Sep 16 08:25:33 2002 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>StylesheetConstructionContext.hpp</h1><a href="StylesheetConstructionContext.hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 /*
00002  * The Apache Software License, Version 1.1
00003  *
00004  *
00005  * Copyright (c) 1999 The Apache Software Foundation.  All rights 
00006  * reserved.
00007  *
00008  * Redistribution and use in source and binary forms, with or without
00009  * modification, are permitted provided that the following conditions
00010  * are met:
00011  *
00012  * 1. Redistributions of source code must retain the above copyright
00013  *    notice, this list of conditions and the following disclaimer. 
00014  *
00015  * 2. Redistributions in binary form must reproduce the above copyright
00016  *    notice, this list of conditions and the following disclaimer in
00017  *    the documentation and/or other materials provided with the
00018  *    distribution.
00019  *
00020  * 3. The end-user documentation included with the redistribution,
00021  *    if any, must include the following acknowledgment:  
00022  *       "This product includes software developed by the
00023  *        Apache Software Foundation (http://www.apache.org/)."
00024  *    Alternately, this acknowledgment may appear in the software itself,
00025  *    if and wherever such third-party acknowledgments normally appear.
00026  *
00027  * 4. The names "Xalan" and "Apache Software Foundation" must
00028  *    not be used to endorse or promote products derived from this
00029  *    software without prior written permission. For written 
00030  *    permission, please contact apache@apache.org.
00031  *
00032  * 5. Products derived from this software may not be called "Apache",
00033  *    nor may "Apache" appear in their name, without prior written
00034  *    permission of the Apache Software Foundation.
00035  *
00036  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
00037  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
00038  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
00039  * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
00040  * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
00041  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
00042  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
00043  * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
00044  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
00045  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
00046  * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
00047  * SUCH DAMAGE.
00048  * ====================================================================
00049  *
00050  * This software consists of voluntary contributions made by many
00051  * individuals on behalf of the Apache Software Foundation and was
00052  * originally based on software copyright (c) 1999, International
00053  * Business Machines, Inc., http://www.ibm.com.  For more
00054  * information on the Apache Software Foundation, please see
00055  * &lt;http://www.apache.org/&gt;.
00056  *
00057  * @author &lt;a href="mailto:david_n_bertoni@lotus.com"&gt;David N. Bertoni&lt;/a&gt;
00058  */
00059 #if !defined(STYLESHEETCONSTRUCTIONCONTEXT_HEADER_GUARD_1357924680)
<a name="l00060"><a class="code" href="StylesheetConstructionContext.hpp.html#a0">00060</a></a> #define STYLESHEETCONSTRUCTIONCONTEXT_HEADER_GUARD_1357924680
00061 
00062 
00063 
00064 // Base include file.  Must be first.
00065 #include &lt;XSLT/XSLTDefinitions.hpp&gt;
00066 
00067 
00068 
00069 #include &lt;PlatformSupport/URISupport.hpp&gt;
00070 
00071 
00072 
00073 #include &lt;XalanDOM/XalanDOMString.hpp&gt;
00074 
00075 
00076 
00077 class <a class="code" href="class_documenthandler.html">DocumentHandler</a>;
00078 class <a class="code" href="class_elemtemplateelement.html">ElemTemplateElement</a>;
00079 class <a class="code" href="class_locator.html">Locator</a>;
00080 class <a class="code" href="class_prefixresolver.html">PrefixResolver</a>;
00081 class <a class="code" href="class_stylesheet.html">Stylesheet</a>;
00082 class <a class="code" href="class_stylesheetroot.html">StylesheetRoot</a>;
00083 class <a class="code" href="class_xalandocument.html">XalanDocument</a>;
00084 class <a class="code" href="class_xalannode.html">XalanNode</a>;
00085 class <a class="code" href="class_xpath.html">XPath</a>;
00086 class XMLURL;
00087 class <a class="code" href="class_xsltinputsource.html">XSLTInputSource</a>;
00088 
00089 
00090 
00091 //
00092 // An abstract class which provides support for constructing the internal
00093 // representation  of a stylesheet.
00094 //
<a name="l00095"><a class="code" href="class_stylesheetconstructioncontext.html">00095</a></a> class XALAN_XSLT_EXPORT <a class="code" href="class_stylesheetconstructioncontext.html">StylesheetConstructionContext</a>
00096 {
00097 public:
00098 
<a name="l00099"><a class="code" href="class_stylesheetconstructioncontext.html#s0">00099</a></a>     typedef URISupport::URLAutoPtrType  URLAutoPtrType;
00100 
00101     explicit
00102     <a class="code" href="class_stylesheetconstructioncontext.html#a0">StylesheetConstructionContext</a>();
00103 
00104     virtual
00105     <a class="code" href="class_stylesheetconstructioncontext.html#a1">~StylesheetConstructionContext</a>();
00106 
00107 
00112     virtual void
00113     <a class="code" href="class_stylesheetconstructioncontext.html#a2">reset</a>() = 0;
00114 
00123     virtual <a class="code" href="class_stylesheetroot.html">StylesheetRoot</a>*
00124     <a class="code" href="class_stylesheetconstructioncontext.html#a3">create</a>(const <a class="code" href="class_xalandomstring.html">XalanDOMString</a>&amp;    theBaseIdentifier) = 0;
00125 
00134     virtual <a class="code" href="class_stylesheetroot.html">StylesheetRoot</a>*
00135     <a class="code" href="class_stylesheetconstructioncontext.html#a3">create</a>(const <a class="code" href="class_xsltinputsource.html">XSLTInputSource</a>&amp;   theInputSource) = 0;
00136 
00146     virtual <a class="code" href="class_stylesheet.html">Stylesheet</a>*
00147     <a class="code" href="class_stylesheetconstructioncontext.html#a3">create</a>(
00148             <a class="code" href="class_stylesheetroot.html">StylesheetRoot</a>&amp;         theStylesheetRoot,
00149             const <a class="code" href="class_xalandomstring.html">XalanDOMString</a>&amp;   theBaseIdentifier) = 0;
00150 
00157     virtual void
00158     <a class="code" href="class_stylesheetconstructioncontext.html#a6">destroy</a>(<a class="code" href="class_stylesheetroot.html">StylesheetRoot</a>*     theStylesheetRoot) = 0;
00159 
00166     virtual URLAutoPtrType
00167     <a class="code" href="class_stylesheetconstructioncontext.html#a7">getURLFromString</a>(const <a class="code" href="class_xalandomstring.html">XalanDOMString</a>&amp;  urlString) = 0;
00168 
00175     virtual <a class="code" href="class_xalandomstring.html">XalanDOMString</a>
00176     <a class="code" href="class_stylesheetconstructioncontext.html#a8">getURLStringFromString</a>(const <a class="code" href="class_xalandomstring.html">XalanDOMString</a>&amp;    urlString) = 0;
00177 
00185     virtual URLAutoPtrType
00186     <a class="code" href="class_stylesheetconstructioncontext.html#a7">getURLFromString</a>(
00187             const <a class="code" href="class_xalandomstring.html">XalanDOMString</a>&amp;   urlString,
00188             const <a class="code" href="class_xalandomstring.html">XalanDOMString</a>&amp;   base) = 0;
00189 
00197     virtual <a class="code" href="class_xalandomstring.html">XalanDOMString</a>
00198     <a class="code" href="class_stylesheetconstructioncontext.html#a8">getURLStringFromString</a>(
00199             const <a class="code" href="class_xalandomstring.html">XalanDOMString</a>&amp;   urlString,
00200             const <a class="code" href="class_xalandomstring.html">XalanDOMString</a>&amp;   base) = 0;
00201 
00208     virtual const <a class="code" href="class_xalandomstring.html">XalanDOMString</a>&amp;
00209     <a class="code" href="class_stylesheetconstructioncontext.html#a11">getXSLTNamespaceURI</a>() const = 0;
00210 
00221     virtual <a class="code" href="class_xpath.html">XPath</a>*
00222     <a class="code" href="class_stylesheetconstructioncontext.html#a12">createMatchPattern</a>(
00223             const <a class="code" href="class_locator.html">Locator</a>*          locator,
00224             const <a class="code" href="class_xalandomstring.html">XalanDOMString</a>&amp;   str,
00225             const <a class="code" href="class_prefixresolver.html">PrefixResolver</a>&amp;   resolver) = 0;
00226 
00237     virtual <a class="code" href="class_xpath.html">XPath</a>*
00238     <a class="code" href="class_stylesheetconstructioncontext.html#a12">createMatchPattern</a>(
00239             const <a class="code" href="class_locator.html">Locator</a>*          locator,
00240             const XalanDOMChar*     str,
00241             const <a class="code" href="class_prefixresolver.html">PrefixResolver</a>&amp;   resolver) = 0;
00242 
00253     virtual <a class="code" href="class_xpath.html">XPath</a>*
00254     <a class="code" href="class_stylesheetconstructioncontext.html#a14">createXPath</a>(
00255             const <a class="code" href="class_locator.html">Locator</a>*          locator,
00256             const <a class="code" href="class_xalandomstring.html">XalanDOMString</a>&amp;   str,
00257             const <a class="code" href="class_prefixresolver.html">PrefixResolver</a>&amp;   resolver) = 0;
00258 
00269     virtual <a class="code" href="class_xpath.html">XPath</a>*
00270     <a class="code" href="class_stylesheetconstructioncontext.html#a14">createXPath</a>(
00271             const <a class="code" href="class_locator.html">Locator</a>*          locator,
00272             const XalanDOMChar*     str,
00273             const <a class="code" href="class_prefixresolver.html">PrefixResolver</a>&amp;   resolver) = 0;
00274 
00280     virtual const <a class="code" href="class_locator.html">Locator</a>*
00281     <a class="code" href="class_stylesheetconstructioncontext.html#a16">getLocatorFromStack</a>() const = 0;
00282 
00288     virtual void
00289     <a class="code" href="class_stylesheetconstructioncontext.html#a17">pushLocatorOnStack</a>(const <a class="code" href="class_locator.html">Locator</a>*   locator) = 0;
00290 
00294     virtual void
00295     <a class="code" href="class_stylesheetconstructioncontext.html#a18">popLocatorStack</a>() = 0;
00296 
00302     virtual const <a class="code" href="class_xalandomstring.html">XalanDOMString</a>&amp;
00303     <a class="code" href="class_stylesheetconstructioncontext.html#a19">getXalanXSLNameSpaceURL</a>() const = 0;
00304 
00316     virtual <a class="code" href="class_xalandocument.html">XalanDocument</a>*
00317     <a class="code" href="class_stylesheetconstructioncontext.html#a20">parseXML</a>(
00318             const <a class="code" href="class_xalandomstring.html">XalanDOMString</a>&amp;   urlString,
00319             <a class="code" href="class_documenthandler.html">DocumentHandler</a>*        docHandler, 
00320             <a class="code" href="class_xalandocument.html">XalanDocument</a>*          docToRegister) = 0;
00321 
00330     virtual int
00331     <a class="code" href="class_stylesheetconstructioncontext.html#a21">getElementToken</a>(const <a class="code" href="class_xalandomstring.html">XalanDOMString</a>&amp;   name) const = 0;
00332 
00338     virtual double
00339     <a class="code" href="class_stylesheetconstructioncontext.html#a22">getXSLTVersionSupported</a>() const = 0;
00340 
00341 
00342     // These interfaces are inherited from ExecutionContext...
00343 
00344     virtual void
00345     <a class="code" href="class_stylesheetconstructioncontext.html#a23">error</a>(
00346             const <a class="code" href="class_xalandomstring.html">XalanDOMString</a>&amp;       msg,
00347             const <a class="code" href="class_xalannode.html">XalanNode</a>*            sourceNode = 0,
00348             const <a class="code" href="class_elemtemplateelement.html">ElemTemplateElement</a>*  styleNode = 0) const = 0;
00349 
00350     virtual void
00351     <a class="code" href="class_stylesheetconstructioncontext.html#a23">error</a>(
00352             const <a class="code" href="class_xalandomstring.html">XalanDOMString</a>&amp;   msg,
00353             const <a class="code" href="class_xalannode.html">XalanNode</a>*        sourceNode,
00354             const <a class="code" href="class_locator.html">Locator</a>*          locator) const = 0;
00355 
00356     virtual void
00357     <a class="code" href="class_stylesheetconstructioncontext.html#a23">error</a>(
00358             const char*                 msg,
00359             const <a class="code" href="class_xalannode.html">XalanNode</a>*            sourceNode = 0,
00360             const <a class="code" href="class_elemtemplateelement.html">ElemTemplateElement</a>*  styleNode = 0) const = 0;
00361 
00362     virtual void
00363     <a class="code" href="class_stylesheetconstructioncontext.html#a23">error</a>(
00364             const char*         msg,
00365             const <a class="code" href="class_xalannode.html">XalanNode</a>*    sourceNode,
00366             const <a class="code" href="class_locator.html">Locator</a>*      locator) const = 0;
00367 
00368     virtual void
00369     <a class="code" href="class_stylesheetconstructioncontext.html#a27">warn</a>(
00370             const <a class="code" href="class_xalandomstring.html">XalanDOMString</a>&amp;       msg,
00371             const <a class="code" href="class_xalannode.html">XalanNode</a>*            sourceNode = 0,
00372             const <a class="code" href="class_elemtemplateelement.html">ElemTemplateElement</a>*  styleNode = 0) const = 0;
00373 
00374     virtual void
00375     <a class="code" href="class_stylesheetconstructioncontext.html#a27">warn</a>(
00376             const <a class="code" href="class_xalandomstring.html">XalanDOMString</a>&amp;   msg,
00377             const <a class="code" href="class_xalannode.html">XalanNode</a>*        sourceNode,
00378             const <a class="code" href="class_locator.html">Locator</a>*          locator) const = 0;
00379 
00380     virtual void
00381     <a class="code" href="class_stylesheetconstructioncontext.html#a27">warn</a>(
00382             const char*                 msg,
00383             const <a class="code" href="class_xalannode.html">XalanNode</a>*            sourceNode = 0,
00384             const <a class="code" href="class_elemtemplateelement.html">ElemTemplateElement</a>*  styleNode = 0) const = 0;
00385 
00386     virtual void
00387     <a class="code" href="class_stylesheetconstructioncontext.html#a27">warn</a>(
00388             const char*         msg,
00389             const <a class="code" href="class_xalannode.html">XalanNode</a>*    sourceNode,
00390             const <a class="code" href="class_locator.html">Locator</a>*      locator) const = 0;
00391 
00392     virtual void
00393     <a class="code" href="class_stylesheetconstructioncontext.html#a31">message</a>(
00394             const <a class="code" href="class_xalandomstring.html">XalanDOMString</a>&amp;       msg,
00395             const <a class="code" href="class_xalannode.html">XalanNode</a>*            sourceNode = 0,
00396             const <a class="code" href="class_elemtemplateelement.html">ElemTemplateElement</a>*  styleNode = 0) const = 0;
00397 
00398     virtual void
00399     <a class="code" href="class_stylesheetconstructioncontext.html#a31">message</a>(
00400             const <a class="code" href="class_xalandomstring.html">XalanDOMString</a>&amp;   msg,
00401             const <a class="code" href="class_xalannode.html">XalanNode</a>*        sourceNode,
00402             const <a class="code" href="class_locator.html">Locator</a>*          locator) const = 0;
00403 
00404     virtual void
00405     <a class="code" href="class_stylesheetconstructioncontext.html#a31">message</a>(
00406             const char*                 msg,
00407             const <a class="code" href="class_xalannode.html">XalanNode</a>*            sourceNode = 0,
00408             const <a class="code" href="class_elemtemplateelement.html">ElemTemplateElement</a>*  styleNode = 0) const = 0;
00409 
00410     virtual void
00411     <a class="code" href="class_stylesheetconstructioncontext.html#a31">message</a>(
00412             const char*         msg,
00413             const <a class="code" href="class_xalannode.html">XalanNode</a>*    sourceNode,
00414             const <a class="code" href="class_locator.html">Locator</a>*      locator) const = 0;
00415 };
00416 
00417 
00418 
00419 #endif  // STYLESHEETCONSTRUCTIONCONTEXT_HEADER_GUARD_1357924680
</div></pre><p align="center"><a href="diagramnotes.html">Interpreting class diagrams</a></p>
<p><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">
<i><A href="http://www.stack.nl/~dimitri/doxygen/">Doxygen</A> and 
<A href="http://www.research.att.com/sw/tools/graphviz/">GraphViz</A> are used to generate this API documentation from the Xalan-C header files.</I></FONT></p>

<TABLE border="0" cellpadding="0" cellspacing="0" width="820"><TR><TD bgcolor="#0086b2"><IMG height="1" src="images/dot.gif" width="1"></TD></TR></TABLE>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="80%">
	<TR>
		<TD WIDTH="80%" VALIGN="TOP">
			<P ALIGN="CENTER"><B>Xalan-C++ XSLT Processor Version 1.4</B><BR>
			Copyright &copy; 2000, 2001, 2002 The Apache Software Foundation. All Rights Reserved.</i></p>
		</TD>
	</TR>
	<TR>
		<TD WIDTH="100%">
			<P ALIGN="CENTER"><IMG SRC="ApacheLogo.jpg" WIDTH="387" HEIGHT="100" ALIGN="BOTTOM" BORDER="0">
		</TD>
	</TR>
</TABLE>