public class TinyBuilder extends Builder
columnNumber, controller, currentDocument, discardComments, errorHandler, errorListener, errorOutput, estimatedLength, failed, inDTD, lineNumber, lineNumbering, previewManager, STANDARD_TREE, started, stripper, timing, TINY_TREElocator, namePool, outputProperties, outputStream, systemId, writerPI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING| Constructor and Description |
|---|
TinyBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int len)
Callback interface for SAX: not for application use
|
void |
comment(char[] ch,
int start,
int length)
Callback interface for SAX: not for application use
|
void |
createDocument() |
void |
endDocument()
Callback interface for SAX: not for application use
|
void |
endElement(int nameCode)
Callback interface for SAX: not for application use
|
void |
processingInstruction(String piname,
String remainder)
Callback interface for SAX: not for application use
Note: because SAX1 does not deliver comment nodes, we get these in the form of a processing instruction with a null name. |
void |
setUnparsedEntity(String name,
String uri)
Set an unparsed entity in the document
|
void |
startDocument()
Callback interface for SAX: not for application use
|
void |
startElement(int nameCode,
Attributes attributes,
int[] namespaces,
int namespacesUsed)
Callback interface for SAX: not for application use
|
build, error, fatalError, getColumnNumber, getCurrentDocument, getLineNumber, getPublicId, getStripper, isTiming, reportError, setController, setDiscardCommentsAndPIs, setErrorHandler, setErrorListener, setErrorOutput, setLineNumbering, setPreviewManager, setRootNode, setStripper, setTiming, warninggetNamePool, getOutputProperties, getOutputStream, getSystemId, getWriter, makeEmitter, setDocumentLocator, setEscaping, setNamePool, setOutputProperties, setOutputStream, setSystemId, setWriter, usesWriterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSystemIdgetSystemIdpublic void createDocument()
public void startDocument()
throws TransformerException
startDocument in class EmitterTransformerExceptionpublic void endDocument()
throws TransformerException
endDocument in class EmitterTransformerExceptionpublic void startElement(int nameCode,
Attributes attributes,
int[] namespaces,
int namespacesUsed)
throws TransformerException
startElement in class Emitternamespaces - Array of namespace codes identifying the namespace prefix/uri
pairs associated with this elementnamespacesUsed - Number of significant entries within namespaces arrayTransformerExceptionpublic void endElement(int nameCode)
throws TransformerException
endElement in class EmitterTransformerExceptionpublic void characters(char[] ch,
int start,
int len)
throws TransformerException
characters in class EmitterTransformerExceptionpublic void processingInstruction(String piname, String remainder) throws TransformerException
processingInstruction in class EmitterTransformerExceptionpublic void comment(char[] ch,
int start,
int length)
throws TransformerException
comment in class EmitterTransformerExceptionpublic void setUnparsedEntity(String name, String uri)
setUnparsedEntity in class Builder