|
|||||||||
| Home >> All >> com >> nwalsh >> [ saxon overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.nwalsh.saxon
Class ColumnUpdateEmitter

java.lang.Objectcom.icl.saxon.output.Emitter
com.nwalsh.saxon.CopyEmitter
com.nwalsh.saxon.ColumnUpdateEmitter
- public class ColumnUpdateEmitter
- extends CopyEmitter
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.
| Field Summary | |
protected static java.lang.String |
foURI
The FO namespace name. |
protected NamePool |
namePool
|
protected int |
numColumns
The number of columns seen. |
protected java.lang.String[] |
width
|
| Fields inherited from class com.nwalsh.saxon.CopyEmitter |
rtf, rtfEmitter |
| Constructor Summary | |
ColumnUpdateEmitter(Controller controller,
NamePool namePool,
java.lang.String[] width)
Construct a new ColumnUpdateEmitter. |
|
| Method Summary | |
void |
startElement(int nameCode,
org.xml.sax.Attributes attributes,
int[] namespaces,
int nscount)
Examine for column info. |
| Methods inherited from class com.nwalsh.saxon.CopyEmitter |
characters, comment, endDocument, endElement, getResultTreeFragment, processingInstruction, setDocumentLocator, setEscaping, setNamePool, setUnparsedEntity, setWriter, startDocument |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
numColumns
protected int numColumns
- The number of columns seen.
width
protected java.lang.String[] width
namePool
protected NamePool namePool
foURI
protected static java.lang.String foURI
- The FO namespace name.
| Constructor Detail |
ColumnUpdateEmitter
public ColumnUpdateEmitter(Controller controller,
NamePool namePool,
java.lang.String[] width)
- Construct a new ColumnUpdateEmitter.
| Method Detail |
startElement
public void startElement(int nameCode,
org.xml.sax.Attributes attributes,
int[] namespaces,
int nscount)
throws javax.xml.transform.TransformerException
- Examine for column info.
- Overrides:
startElementin classCopyEmitter
|
|||||||||
| Home >> All >> com >> nwalsh >> [ saxon overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.icl.saxon.output.Emitter