|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.icl.saxon.Builder | +--com.icl.saxon.tinytree.TinyBuilder
The TinyBuilder class is responsible for taking a stream of SAX events and constructing a Document tree, using the "TinyTree" implementation.
Fields inherited from class com.icl.saxon.Builder |
baseURI, currentDocument, discardComments, documentNumber, errorHandler, errorOutput, estimatedLength, failed, inDTD, lineNumbering, locator, namePool, nodeSequencer, parser, previewManager, STANDARD_TREE, started, stripper, timing, TINY_TREE |
Constructor Summary | |
TinyBuilder()
|
Method Summary | |
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 |
endDocument()
Callback interface for SAX: not for application use |
void |
endElement(int nameCode)
Callback interface for SAX: not for application use |
void |
processingInstruction(java.lang.String piname,
java.lang.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(java.lang.String name,
java.lang.String uri)
Set an unparsed entity in the document |
void |
startDocument()
Callback interface for SAX: not for application use |
void |
startElement(int nameCode,
org.xml.sax.Attributes attributes,
int[] namespaces,
int namespacesUsed)
Callback interface for SAX: not for application use |
Methods inherited from class com.icl.saxon.Builder |
build, error, fatalError, getColumnNumber, getCurrentDocument, getDocumentNumber, getLineNumber, getNamePool, getNodeSequencer, getPublicId, getSystemId, getXMLReader, isTiming, reportError, setCharacterSet, setDiscardCommentsAndPIs, setDocumentLocator, setDocumentNumber, setErrorHandler, setErrorOutput, setEscaping, setLineNumbering, setNamePool, setNodeSequencer, setOutputDetails, setParser, setPreviewManager, setStripAll, setStripper, setSystemId, setTiming, setWriter, setXMLReader, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TinyBuilder()
Method Detail |
public void startDocument() throws org.xml.sax.SAXException
startDocument
in class Builder
public void endDocument() throws org.xml.sax.SAXException
endDocument
in class Builder
public void startElement(int nameCode, org.xml.sax.Attributes attributes, int[] namespaces, int namespacesUsed) throws org.xml.sax.SAXException
startElement
in class Builder
com.icl.saxon.output.Emitter
namespaces
- Array of namespace codes identifying the namespace prefix/uri
pairs associated with this elementnscount
- Number of significant entries within namespaces arraypublic void endElement(int nameCode) throws org.xml.sax.SAXException
endElement
in class Builder
public void characters(char[] ch, int start, int len) throws org.xml.sax.SAXException
characters
in class Builder
public void processingInstruction(java.lang.String piname, java.lang.String remainder) throws org.xml.sax.SAXException
processingInstruction
in class Builder
public void comment(char[] ch, int start, int length) throws org.xml.sax.SAXException
comment
in class Builder
public void setUnparsedEntity(java.lang.String name, java.lang.String uri)
setUnparsedEntity
in class Builder
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |