/usr/share/doc/docbook-xsl-saxon/api/com/nwalsh/saxon/CopyEmitter.html is in docbook-xsl-saxon 1.00.dfsg.1-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | <?xml version="1.0" encoding="US-ASCII"?>
<!DOCTYPE html PUBLIC "-//gnu.org///DTD XHTML 1.1 plus Target 1.0//EN" "../../../resources/xhtml11-target10.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><title>CopyEmitter</title><script src="../../../resources/gjdoc.js" type="text/javascript"><!-- this comment required for konqueror 3.2.2 --></script><meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"/><meta name="generator" content="GNU Gjdoc Standard Doclet"/><meta name="keywords" content="com.nwalsh.saxon.CopyEmitter class"/><meta name="keywords" content="rtf"/><meta name="keywords" content="rtfEmitter"/><meta name="keywords" content="namePool"/><meta name="keywords" content="getResultTreeFragment()"/><meta name="keywords" content="characters()"/><meta name="keywords" content="comment()"/><meta name="keywords" content="endDocument()"/><meta name="keywords" content="endElement()"/><meta name="keywords" content="processingInstruction()"/><meta name="keywords" content="setDocumentLocator()"/><meta name="keywords" content="setEscaping()"/><meta name="keywords" content="setNamePool()"/><meta name="keywords" content="setUnparsedEntity()"/><meta name="keywords" content="setWriter()"/><meta name="keywords" content="startDocument()"/><meta name="keywords" content="startElement()"/><link rel="stylesheet" type="text/css" href="../../../resources/gjdochtml-clean-layout.css" title="GNU Clean"/><link rel="stylesheet" type="text/css" href="../../../resources/gjdochtml-clean-color1.css" title="GNU Clean"/></head><body class="content class" onload="if(parent.contentPageLoaded)parent.contentPageLoaded(document.title)"><table class="navbar div top"><tr><td class="navbar div top"><div class="navbar div top"><span class="navbar item enabled"><a href="../../../com/nwalsh/saxon/package-summary.html">Package</a></span> <span class="navbar item active">Class</span> <span class="navbar item enabled"><a href="CopyEmitter-uses.html">Use</a></span> <span class="navbar item enabled"><a href="tree.html">Tree</a></span> <span class="navbar item enabled"><a href="../../../alphaindex-1.html">Index</a></span> <span class="navbar item enabled"><a href="../../../deprecated.html">Deprecated</a></span> <span class="navbar item enabled"><a href="../../../about.html">About</a></span></div></td></tr><tr><td class="navi"><a href="../../../com/nwalsh/saxon/ColumnUpdateEmitter.html">Prev Class</a> | <a href="../../../com/nwalsh/saxon/CVS.html">Next Class</a></td><td class="navi"><a href="../../../index.html" title="Show in a frameset" target="_top">Frames</a> | <a href="CopyEmitter.html" title="Show without frames" target="_top">No Frames</a> </td></tr><tr><td class="navi">Summary: Nested | <a href="#summary-fields">Field</a> | <a href="#summary-methods">Method</a> | <a href="#summary-constructors">Constr</a></td><td class="navi">Detail: Nested | <a href="#detail-fields">Field</a> | <a href="#detail-methods">Method</a> | <a href="#detail-constructors">Constr</a></td></tr></table><div class="class title outer"><h3 class="class title-package">com.nwalsh.saxon</h3><h1 class="class title-class">Class CopyEmitter</h1></div><div class="class inheritance-tree"><ul class="inheritance 0"><li class="inheritance 0"><code>com.icl.saxon.output.Emitter</code></li><li><ul class="inheritance 1"><li class="inheritance 1"><code>com.nwalsh.saxon.CopyEmitter</code></li><li></li></ul></li></ul></div><dl class="class subclasses"><dt class="class subclasses header"><b>Known Direct Subclasses:</b></dt><dd class="class subclasses header"><a href="../../../com/nwalsh/saxon/CalloutEmitter.html" title="Class in com.nwalsh.saxon">CalloutEmitter</a>, <a href="../../../com/nwalsh/saxon/ColumnUpdateEmitter.html" title="Class in com.nwalsh.saxon">ColumnUpdateEmitter</a>, <a href="../../../com/nwalsh/saxon/NumberLinesEmitter.html" title="Class in com.nwalsh.saxon">NumberLinesEmitter</a>, <a href="../../../com/nwalsh/saxon/UnwrapLinksEmitter.html" title="Class in com.nwalsh.saxon">UnwrapLinksEmitter</a></dd></b></dt></dl><hr/><div class="class synopsis outer"><div class="class synopsis declaration"><code>public class <b class="class synopsis name">CopyEmitter</b></code></div><div class="class synopsis superclass"><code>extends com.icl.saxon.output.Emitter</code></div></div><hr/><div class="class description"> A Saxon 6.0 Emitter that clones its input.
<p/>$Id: CopyEmitter.java 5907 2006-04-27 08:26:47Z xmldoc $
<p/>Copyright (C) 2000 Norman Walsh.
<p/>This class provides a
<a href="http://saxon.sourceforge.net/">Saxon 6.*</a>
implementation of an emitter that manufactures a cloned result
tree fragment.
<p/>The purpose of this emitter is to provide something for
CalloutEmitter and NumberLinesEmitter to extend.
This emitter simply copies all input to a new result tree fragment.
<p/><b>Change Log:</b>
<dl>
<dt></dt>
<dd><p/></dd>
</dl>
</div><div class="taglet"></div><div class="taglet"></div><div class="taglet"><dl class="tag list"><dt class="tag section header"><b>See Also:</b></dt><dd><a href="../../../com/nwalsh/saxon/CalloutEmitter.html"><code>CalloutEmitter</code></a>, <a href="../../../com/nwalsh/saxon/NumberLinesEmitter.html"><code>NumberLinesEmitter</code></a></dd></dl></div><div class="taglet"></div><div class="taglet"></div><a name="summary-fields" id="summary-fields"/><dl class="table container"><dd><table class="class summary" border="1" width="100%"><tr class="table header"><td colspan="2"><h2 class="table header">Field Summary</h2></td></tr><tr><td class="left" valign="top"><code class="synopsis">protected NamePool</code></td><td class="right"><dl class="list"><dt class="synopsis"><code><a href="#namePool">namePool</a></code></dt><dd class="description">The namePool.</dd></dl></td></tr><tr><td class="left" valign="top"><code class="synopsis">protected FragmentValue</code></td><td class="right"><dl class="list"><dt class="synopsis"><code><a href="#rtf">rtf</a></code></dt><dd class="description">The result tree fragment containing the copied fragment.</dd></dl></td></tr><tr><td class="left" valign="top"><code class="synopsis">protected Emitter</code></td><td class="right"><dl class="list"><dt class="synopsis"><code><a href="#rtfEmitter">rtfEmitter</a></code></dt></dl></td></tr></table></dd></dl><a name="summary-constructors" id="summary-constructors"/><dl class="table container"><dd><table class="class summary" border="1" width="100%"><tr class="table header"><td colspan="2"><h2 class="table header">Constructor Summary</h2></td></tr><tr><td class="right"><dl class="list"><dt class="synopsis"><code><a href="#CopyEmitter(Controller,NamePool)">CopyEmitter</a>(Controller controller, NamePool namePool)</code></dt><dd class="description">Constructor for the CopyEmitter.</dd></dl></td></tr></table></dd></dl><a name="summary-methods" id="summary-methods"/><dl class="table container"><dd><table class="class summary" border="1" width="100%"><tr class="table header"><td colspan="2"><h2 class="table header">Method Summary</h2></td></tr><tr><td class="left" valign="top"><code class="synopsis"> void</code></td><td class="right"><dl class="list"><dt class="synopsis"><code><a href="#characters(char[],int,int)">characters</a>(char[] chars, int start, int len)</code></dt><dd class="description">Copy characters.</dd></dl></td></tr><tr><td class="left" valign="top"><code class="synopsis"> void</code></td><td class="right"><dl class="list"><dt class="synopsis"><code><a href="#comment(char[],int,int)">comment</a>(char[] chars, int start, int length)</code></dt><dd class="description">Copy comments.</dd></dl></td></tr><tr><td class="left" valign="top"><code class="synopsis"> void</code></td><td class="right"><dl class="list"><dt class="synopsis"><code><a href="#endDocument()">endDocument</a>()</code></dt><dd class="description">Copy end document events.</dd></dl></td></tr><tr><td class="left" valign="top"><code class="synopsis"> void</code></td><td class="right"><dl class="list"><dt class="synopsis"><code><a href="#endElement(int)">endElement</a>(int nameCode)</code></dt><dd class="description">Copy end element events.</dd></dl></td></tr><tr><td class="left" valign="top"><code class="synopsis"> FragmentValue</code></td><td class="right"><dl class="list"><dt class="synopsis"><code><a href="#getResultTreeFragment()">getResultTreeFragment</a>()</code></dt><dd class="description"> Return the result tree fragment constructed by replaying events
through this emitter.</dd></dl></td></tr><tr><td class="left" valign="top"><code class="synopsis"> void</code></td><td class="right"><dl class="list"><dt class="synopsis"><code><a href="#processingInstruction(java.lang.String,java.lang.String)">processingInstruction</a>(java.lang.String name, java.lang.String data)</code></dt><dd class="description">Copy processing instructions.</dd></dl></td></tr><tr><td class="left" valign="top"><code class="synopsis"> void</code></td><td class="right"><dl class="list"><dt class="synopsis"><code><a href="#setDocumentLocator(org.xml.sax.Locator)">setDocumentLocator</a>(org.xml.sax.Locator locator)</code></dt><dd class="description">Copy set document locator events.</dd></dl></td></tr><tr><td class="left" valign="top"><code class="synopsis"> void</code></td><td class="right"><dl class="list"><dt class="synopsis"><code><a href="#setEscaping(boolean)">setEscaping</a>(boolean escaping)</code></dt><dd class="description">Copy set escaping events.</dd></dl></td></tr><tr><td class="left" valign="top"><code class="synopsis"> void</code></td><td class="right"><dl class="list"><dt class="synopsis"><code><a href="#setNamePool(NamePool)">setNamePool</a>(NamePool namePool)</code></dt><dd class="description">Copy set name pool events.</dd></dl></td></tr><tr><td class="left" valign="top"><code class="synopsis"> void</code></td><td class="right"><dl class="list"><dt class="synopsis"><code><a href="#setUnparsedEntity(java.lang.String,java.lang.String)">setUnparsedEntity</a>(java.lang.String name, java.lang.String uri)</code></dt><dd class="description">Copy set unparsed entity events.</dd></dl></td></tr><tr><td class="left" valign="top"><code class="synopsis"> void</code></td><td class="right"><dl class="list"><dt class="synopsis"><code><a href="#setWriter(java.io.Writer)">setWriter</a>(java.io.Writer writer)</code></dt><dd class="description">Copy set writer events.</dd></dl></td></tr><tr><td class="left" valign="top"><code class="synopsis"> void</code></td><td class="right"><dl class="list"><dt class="synopsis"><code><a href="#startDocument()">startDocument</a>()</code></dt><dd class="description">Copy start document events.</dd></dl></td></tr><tr><td class="left" valign="top"><code class="synopsis"> void</code></td><td class="right"><dl class="list"><dt class="synopsis"><code><a href="#startElement(int,org.xml.sax.Attributes,int[],int)">startElement</a>(int nameCode, org.xml.sax.Attributes attributes, int[] namespaces, int nscount)</code></dt><dd class="description">Copy start element events.</dd></dl></td></tr></table></dd></dl><a name="detail-fields" id="detail-fields"/><h2 class="section header">Field Details</h2><div class="section"><a name="namePool" id="namePool"/><div class="member detail outer"><h3 class="member detail name">namePool</h3><pre class="member detail synopsis">protected NamePool namePool</pre><blockquote class="member detail name"><div class="member detail description">The namePool.
<p/>Copied from the caller, it should be the runtime name pool.
</div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div></blockquote></div><hr/><a name="rtf" id="rtf"/><div class="member detail outer"><h3 class="member detail name">rtf</h3><pre class="member detail synopsis">protected FragmentValue rtf</pre><blockquote class="member detail name"><div class="member detail description">The result tree fragment containing the copied fragment. </div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div></blockquote></div><hr/><a name="rtfEmitter" id="rtfEmitter"/><div class="member detail outer"><h3 class="member detail name">rtfEmitter</h3><pre class="member detail synopsis">protected Emitter rtfEmitter</pre><blockquote class="member detail name"><div class="member detail description"></div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div></blockquote></div></div><a name="detail-constructors" id="detail-constructors"/><h2 class="section header">Constructor Details</h2><div class="section"><a name="CopyEmitter(Controller,NamePool)" id="CopyEmitter(Controller,NamePool)"/><div class="member detail outer"><h3 class="member detail name">CopyEmitter</h3><pre class="member detail synopsis">public CopyEmitter(Controller controller,
NamePool namePool)</pre><blockquote class="member detail name"><div class="member detail description">Constructor for the CopyEmitter.
</div><div class="parameter"><dl><dt class="header"><b>Parameters:</b></dt><dd class="item"><code class="name">namePool</code><span class="separator"> - </span><span class="description">The name pool to use for constructing elements and attributes.</span></dd></dl></div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div></blockquote></div></div><a name="detail-methods" id="detail-methods"/><h2 class="section header">Method Details</h2><div class="section"><a name="characters(char[],int,int)" id="characters(char[],int,int)"/><div class="member detail outer"><h3 class="member detail name">characters</h3><pre class="member detail synopsis">public void characters(char[] chars,
int start,
int len)
throws TransformerException</pre><blockquote class="member detail name"><div class="member detail description">Copy characters. </div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div></blockquote></div><hr/><a name="comment(char[],int,int)" id="comment(char[],int,int)"/><div class="member detail outer"><h3 class="member detail name">comment</h3><pre class="member detail synopsis">public void comment(char[] chars,
int start,
int length)
throws TransformerException</pre><blockquote class="member detail name"><div class="member detail description">Copy comments. </div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div></blockquote></div><hr/><a name="endDocument()" id="endDocument()"/><div class="member detail outer"><h3 class="member detail name">endDocument</h3><pre class="member detail synopsis">public void endDocument()
throws TransformerException</pre><blockquote class="member detail name"><div class="member detail description">Copy end document events. </div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div></blockquote></div><hr/><a name="endElement(int)" id="endElement(int)"/><div class="member detail outer"><h3 class="member detail name">endElement</h3><pre class="member detail synopsis">public void endElement(int nameCode)
throws TransformerException</pre><blockquote class="member detail name"><div class="member detail description">Copy end element events. </div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div></blockquote></div><hr/><a name="getResultTreeFragment()" id="getResultTreeFragment()"/><div class="member detail outer"><h3 class="member detail name">getResultTreeFragment</h3><pre class="member detail synopsis">public FragmentValue getResultTreeFragment()</pre><blockquote class="member detail name"><div class="member detail description"> Return the result tree fragment constructed by replaying events
through this emitter.
</div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div></blockquote></div><hr/><a name="processingInstruction(java.lang.String,java.lang.String)" id="processingInstruction(java.lang.String,java.lang.String)"/><div class="member detail outer"><h3 class="member detail name">processingInstruction</h3><pre class="member detail synopsis">public void processingInstruction(java.lang.String name,
java.lang.String data)
throws TransformerException</pre><blockquote class="member detail name"><div class="member detail description">Copy processing instructions. </div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div></blockquote></div><hr/><a name="setDocumentLocator(org.xml.sax.Locator)" id="setDocumentLocator(org.xml.sax.Locator)"/><div class="member detail outer"><h3 class="member detail name">setDocumentLocator</h3><pre class="member detail synopsis">public void setDocumentLocator(org.xml.sax.Locator locator)</pre><blockquote class="member detail name"><div class="member detail description">Copy set document locator events. </div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div></blockquote></div><hr/><a name="setEscaping(boolean)" id="setEscaping(boolean)"/><div class="member detail outer"><h3 class="member detail name">setEscaping</h3><pre class="member detail synopsis">public void setEscaping(boolean escaping)
throws TransformerException</pre><blockquote class="member detail name"><div class="member detail description">Copy set escaping events. </div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div></blockquote></div><hr/><a name="setNamePool(NamePool)" id="setNamePool(NamePool)"/><div class="member detail outer"><h3 class="member detail name">setNamePool</h3><pre class="member detail synopsis">public void setNamePool(NamePool namePool)</pre><blockquote class="member detail name"><div class="member detail description">Copy set name pool events. </div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div></blockquote></div><hr/><a name="setUnparsedEntity(java.lang.String,java.lang.String)" id="setUnparsedEntity(java.lang.String,java.lang.String)"/><div class="member detail outer"><h3 class="member detail name">setUnparsedEntity</h3><pre class="member detail synopsis">public void setUnparsedEntity(java.lang.String name,
java.lang.String uri)
throws TransformerException</pre><blockquote class="member detail name"><div class="member detail description">Copy set unparsed entity events. </div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div></blockquote></div><hr/><a name="setWriter(java.io.Writer)" id="setWriter(java.io.Writer)"/><div class="member detail outer"><h3 class="member detail name">setWriter</h3><pre class="member detail synopsis">public void setWriter(java.io.Writer writer)</pre><blockquote class="member detail name"><div class="member detail description">Copy set writer events. </div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div></blockquote></div><hr/><a name="startDocument()" id="startDocument()"/><div class="member detail outer"><h3 class="member detail name">startDocument</h3><pre class="member detail synopsis">public void startDocument()
throws TransformerException</pre><blockquote class="member detail name"><div class="member detail description">Copy start document events. </div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div></blockquote></div><hr/><a name="startElement(int,org.xml.sax.Attributes,int[],int)" id="startElement(int,org.xml.sax.Attributes,int[],int)"/><div class="member detail outer"><h3 class="member detail name">startElement</h3><pre class="member detail synopsis">public void startElement(int nameCode,
org.xml.sax.Attributes attributes,
int[] namespaces,
int nscount)
throws TransformerException</pre><blockquote class="member detail name"><div class="member detail description">Copy start element events. </div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div><div class="taglet"></div></blockquote></div></div><p class="navbar bottom spacer"> </p><table class="navbar div bottom"><tr><td><div class="navbar div top"><span class="navbar item enabled"><a href="../../../com/nwalsh/saxon/package-summary.html">Package</a></span> <span class="navbar item active">Class</span> <span class="navbar item enabled"><a href="CopyEmitter-uses.html">Use</a></span> <span class="navbar item enabled"><a href="tree.html">Tree</a></span> <span class="navbar item enabled"><a href="../../../alphaindex-1.html">Index</a></span> <span class="navbar item enabled"><a href="../../../deprecated.html">Deprecated</a></span> <span class="navbar item enabled"><a href="../../../about.html">About</a></span></div></td></tr></table></body></html>
|