Sophie

Sophie

distrib > Mageia > 3 > x86_64 > by-pkgid > 334c73eb2cbee096307b926bf8d6e67a > files > 147

ocaml-pxp-devel-1.2.3-5.mga3.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link rel="next" href="Pxp_reader.resolve_to_any_obj_channel-c.html">
<link rel="Up" href="Pxp_reader.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of exceptions" rel=Appendix href="index_exceptions.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of class methods" rel=Appendix href="index_methods.html">
<link title="Index of classes" rel=Appendix href="index_classes.html">
<link title="Index of class types" rel=Appendix href="index_class_types.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Index of module types" rel=Appendix href="index_module_types.html">
<link title="Pxp_types" rel="Chapter" href="Pxp_types.html">
<link title="Pxp_document" rel="Chapter" href="Pxp_document.html">
<link title="Pxp_dtd" rel="Chapter" href="Pxp_dtd.html">
<link title="Pxp_tree_parser" rel="Chapter" href="Pxp_tree_parser.html">
<link title="Pxp_core_types" rel="Chapter" href="Pxp_core_types.html">
<link title="Pxp_ev_parser" rel="Chapter" href="Pxp_ev_parser.html">
<link title="Pxp_event" rel="Chapter" href="Pxp_event.html">
<link title="Pxp_dtd_parser" rel="Chapter" href="Pxp_dtd_parser.html">
<link title="Pxp_codewriter" rel="Chapter" href="Pxp_codewriter.html">
<link title="Pxp_marshal" rel="Chapter" href="Pxp_marshal.html">
<link title="Pxp_yacc" rel="Chapter" href="Pxp_yacc.html">
<link title="Pxp_reader" rel="Chapter" href="Pxp_reader.html">
<link title="Intro_trees" rel="Chapter" href="Intro_trees.html">
<link title="Intro_extensions" rel="Chapter" href="Intro_extensions.html">
<link title="Intro_namespaces" rel="Chapter" href="Intro_namespaces.html">
<link title="Intro_events" rel="Chapter" href="Intro_events.html">
<link title="Intro_resolution" rel="Chapter" href="Intro_resolution.html">
<link title="Intro_getting_started" rel="Chapter" href="Intro_getting_started.html">
<link title="Intro_advanced" rel="Chapter" href="Intro_advanced.html">
<link title="Intro_preprocessor" rel="Chapter" href="Intro_preprocessor.html">
<link title="Example_readme" rel="Chapter" href="Example_readme.html"><title>PXP Reference : Pxp_reader.resolve_to_this_obj_channel</title>
</head>
<body>
<div class="navbar">&nbsp;<a class="up" href="Pxp_reader.html" title="Pxp_reader">Up</a>
&nbsp;<a class="post" href="Pxp_reader.resolve_to_any_obj_channel-c.html" title="Pxp_reader.resolve_to_any_obj_channel">Next</a>
</div>
<h1>Class <a href="type_Pxp_reader.resolve_to_this_obj_channel.html">Pxp_reader.resolve_to_this_obj_channel</a></h1>
<pre><span name="TYPEresolve_to_this_obj_channel"><span class="keyword">class</span> resolve_to_this_obj_channel</span> : <code class="type">?id:<a href="Pxp_types.html#TYPEext_id">Pxp_types.ext_id</a> -> ?rid:<a href="Pxp_types.html#TYPEresolver_id">Pxp_types.resolver_id</a> -> ?fixenc:<a href="Pxp_types.html#TYPEencoding">Pxp_types.encoding</a> -> ?close:Netchannels.in_obj_channel -> unit -> Netchannels.in_obj_channel -> </code><code class="type"><a href="Pxp_reader.resolver-c.html">resolver</a></code></pre>Reads from the passed <code class="code">in_obj_channel</code>. If the <code class="code">id</code> or <code class="code">rid</code> arguments
 are passed to the object, the created resolver accepts only
 these IDs (all mentioned private, system, or public IDs). Otherwise,
 i.e. no such argument is passed, all IDs are accepted, even <code class="code"><span class="constructor">Anonymous</span></code>.
<p>

 This resolver can only be used once (because the <code class="code">in_obj_channel</code>
 can only be used once). If it is opened a second time (either
 in the base object or a clone), it will raise <code class="code"><span class="constructor">Not_competent</span></code>.
<p>

 If you pass the <code class="code">fixenc</code> argument, the encoding of the channel is
 set to the passed value, regardless of any auto-recognition or
 any XML declaration.
<p>

 When the resolver is closed, the function passed by the <code class="code">close</code>
 argument is called. By default, the channel is closed
 (i.e. the default is: <code class="code">close:(<span class="keyword">fun</span> ch <span class="keywordsign">-&gt;</span> ch <span class="keywordsign">#</span> close_in)</code>).<br>
<hr width="100%">
</body></html>