| com.nwalsh.saxon.CopyEmitter
All known Subclasses: com.nwalsh.saxon.UnwrapLinksEmitter, com.nwalsh.saxon.NumberLinesEmitter, com.nwalsh.saxon.CalloutEmitter, com.nwalsh.saxon.ColumnUpdateEmitter,
CopyEmitter | public class CopyEmitter extends com.icl.saxon.output.Emitter (Code) | | A Saxon 6.0 Emitter that clones its input.
$Id: CopyEmitter.java,v 1.4 2005-08-30 08:14:58 draganr Exp $
Copyright (C) 2000 Norman Walsh.
This class provides a
Saxon 6.*
implementation of an emitter that manufactures a cloned result
tree fragment.
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.
Change Log:
- 1.0
Initial release.
See Also: CalloutEmitter See Also: NumberLinesEmitter author: Norman Walsh author: ndw@nwalsh.com version: $Id: CopyEmitter.java,v 1.4 2005-08-30 08:14:58 draganr Exp $ |
Field Summary | |
protected NamePool | namePool | protected FragmentValue | rtf The result tree fragment containing the copied fragment. | protected Emitter | rtfEmitter |
Constructor Summary | |
public | CopyEmitter(Controller controller, NamePool namePool) |
namePool | protected NamePool namePool(Code) | | The namePool.
Copied from the caller, it should be the runtime name pool.
|
rtf | protected FragmentValue rtf(Code) | | The result tree fragment containing the copied fragment.
|
rtfEmitter | protected Emitter rtfEmitter(Code) | | |
CopyEmitter | public CopyEmitter(Controller controller, NamePool namePool)(Code) | | Constructor for the CopyEmitter.
Parameters: namePool - The name pool to use for constructing elements and attributes. |
getResultTreeFragment | public FragmentValue getResultTreeFragment()(Code) | | Return the result tree fragment constructed by replaying events
through this emitter.
|
setNamePool | public void setNamePool(NamePool namePool)(Code) | | Copy set name pool events.
|
|
|