| Home >> All >> com >> nwalsh >> [ saxon Javadoc ] |
com.nwalsh.saxon: Javadoc index of package com.nwalsh.saxon.
Package Samples:
com.nwalsh.saxon
Classes:
Verbatim: Saxon extensions supporting DocBook verbatim environments Copyright (C) 2000 Norman Walsh. This class provides a Saxon implementation of two features that would be impractical to implement directly in XSLT: line numbering and callouts. Line Numbering The numberLines method takes a result tree fragment (assumed to contain the contents of a formatted verbatim element in DocBook: programlisting, screen, address, literallayout, or synopsis) and returns a result tree fragment decorated with line numbers. Callouts The insertCallouts method takes an areaspec and a result tree fragment (assumed to contain ...
Table: Saxon extensions supporting Tables Copyright (C) 2000 Norman Walsh. This class provides a Saxon implementation of some code to adjust CALS Tables to HTML Tables. Column Widths The adjustColumnWidths method takes a result tree fragment (assumed to contain the colgroup of an HTML Table) and returns the result tree fragment with the column widths adjusted to HTML terms. Convert Lengths The convertLength method takes a length specification of the form 9999.99xx (where "xx" is a unit) and returns that length as an integral number of pixels. For convenience, percentage lengths are returned unchanged. ...
CalloutEmitter: Saxon extension to decorate a result tree fragment with callouts. Copyright (C) 2000 Norman Walsh. This class provides the guts of a Saxon 6.* implementation of callouts for verbatim environments. (It is used by the Verbatim class.) The general design is this: the stylesheets construct a result tree fragment for some verbatim environment. The Verbatim class initializes a CalloutEmitter with information about the callouts that should be applied to the verbatim environment in question. Then the result tree fragment is "replayed" through the CalloutEmitter; the CalloutEmitter builds a new result tree ...
NumberLinesEmitter: Saxon extension to decorate a result tree fragment with line numbers. Copyright (C) 2000 Norman Walsh. This class provides the guts of a Saxon 6.* implementation of line numbering for verbatim environments. (It is used by the Verbatim class.) The general design is this: the stylesheets construct a result tree fragment for some verbatim environment. The Verbatim class initializes a NumberLinesEmitter with information about what lines should be numbered and how. Then the result tree fragment is "replayed" through the NumberLinesEmitter; the NumberLinesEmitter builds a new result tree fragment from ...
UnwrapLinksEmitter: Saxon extension to unwrap links in a result tree fragment. $Id: UnwrapLinksEmitter.java,v 1.1 2002/06/26 11:02:05 nwalsh Exp $ Copyright (C) 2000, 2002 Norman Walsh. This class provides the guts of a Saxon 6.* implementation of a link unwrapper. The general design is this: the stylesheets construct a result tree fragment for some environment. Then the result tree fragment is "replayed" through the UnwrapLinksEmitter; the UnwrapLinksEmitter builds a new result tree fragment from this event stream with top-level links unwrapped. That RTF is returned. Note that only a single level of unwrapping is ...
ColumnUpdateEmitter: Saxon extension to scan the column widthsin a result tree fragment. Copyright (C) 2000 Norman Walsh. This class provides a Saxon 6.* implementation to scan the column widths in a result tree fragment. The general design is this: the stylesheets construct a result tree fragment for some colgroup environment. That result tree fragment is "replayed" through the ColumnUpdateEmitter; the ColumnUpdateEmitter watches the cols go by and extracts the column widths that it sees. These widths are then made available. Change Log: 1.0 Initial release.
ColumnScanEmitter: Saxon extension to scan the column widthsin a result tree fragment. Copyright (C) 2000 Norman Walsh. This class provides a Saxon 6.* implementation to scan the column widths in a result tree fragment. The general design is this: the stylesheets construct a result tree fragment for some colgroup environment. That result tree fragment is "replayed" through the ColumnScanEmitter; the ColumnScanEmitter watches the cols go by and extracts the column widths that it sees. These widths are then made available. Change Log: 1.0 Initial release.
LineCountEmitter: Saxon extension to count the lines in a result tree fragment. Copyright (C) 2000 Norman Walsh. This class provides a Saxon 6.* implementation to count the number of lines in a result tree fragment. The general design is this: the stylesheets construct a result tree fragment for some verbatim environment. That result tree fragment is "replayed" through the LineCountEmitter; the LineCountEmitter watches characters go by and counts the number of line feeds that it sees. That number is then returned. Change Log: 1.0 Initial release.
CVS: Saxon extension to convert CVS date strings into local time Copyright (C) 2000 Norman Walsh. This class provides a Saxon extension to turn the CVS date strings, which are UTC: $Date: 2000/11/09 02:34:20 $ into legibly formatted local time: Wed Nov 08 18:34:20 PST 2000 (I happened to be in California when I wrote this documentation.) Change Log: 1.0 Initial release.
CopyEmitter: A Saxon 6.0 Emitter that clones its input. 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.
ImageIntrinsics: Saxon extension to examine intrinsic size of images $Id: ImageIntrinsics.java,v 1.1 2002/05/08 02:12:29 nwalsh Exp $ Copyright (C) 2002 Norman Walsh. This class provides a Saxon extension to find the intrinsic size of images. Change Log: 1.0 Initial release.
UnwrapLinks: Saxon extension for unwrapping nested links $Id: UnwrapLinks.java,v 1.1 2002/06/26 11:02:05 nwalsh Exp $ Copyright (C) 2000, 2002 Norman Walsh. This class provides a Saxon 6.* implementation of a link unwrapper. Change Log: 1.0 Initial release.
Callout: A class for maintaining information about callouts. To make processing callouts easier, they are parsed out of the input structure and stored in a sorted array. (The array is sorted according to the order in which the callouts occur.) This class is just the little record that we store in the array for each callout.
Text: Saxon extension element for inserting text Copyright (C) 2000 Norman Walsh. This class provides a Saxon extension element for inserting text into a result tree. Change Log: 1.0 Initial release.
TextFactory: Saxon extension element factory Copyright (C) 2000 Norman Walsh. This class provides a Saxon extension element factory for the Text extension element family. Change Log: 1.0 Initial release.
FormatCallout: Utility class for the Verbatim extension (ignore this). Copyright (C) 2000, 2001 Norman Walsh. Change Log: 1.0 Initial release.
FormatGraphicCallout: Utility class for the Verbatim extension (ignore this). Copyright (C) 2000, 2001 Norman Walsh. Change Log: 1.0 Initial release.
FormatTextCallout: Utility class for the Verbatim extension (ignore this). Copyright (C) 2000, 2001 Norman Walsh. Change Log: 1.0 Initial release.
FormatUnicodeCallout: Utility class for the Verbatim extension (ignore this). Copyright (C) 2000, 2001 Norman Walsh. Change Log: 1.0 Initial release.
| Home | Contact Us | Privacy Policy | Terms of Service |