net.sf.saxon.tinytree
Class TinyBuilder
public
class
TinyBuilder
extends Builder
The TinyBuilder class is responsible for taking a stream of SAX events and constructing
a Document tree, using the "TinyTree" implementation.
Author: Michael H. Kay
Method Summary |
void | attribute(int nameCode, int typeCode, CharSequence value, int locationId, int properties) |
void | characters(CharSequence chars, int locationId, int properties)
Callback interface for SAX: not for application use |
void | close() |
void | comment(CharSequence chars, int locationId, int properties)
Callback interface for SAX: not for application use |
void | endDocument()
Callback interface for SAX: not for application use |
void | endElement()
Callback interface for SAX: not for application use |
int[] | getSizeParameters() |
TinyTree | getTree() |
void | namespace(int namespaceCode, int properties) |
void | open()
Open the event stream |
void | processingInstruction(String piname, CharSequence remainder, int locationId, int properties)
Callback interface for SAX: not for application use
|
void | setSizeParameters(int[] params) |
void | setUnparsedEntity(String name, String uri, String publicId)
Set an unparsed entity in the document |
void | startContent() |
void | startDocument(int properties)
Write a document node to the tree |
void | startElement(int nameCode, int typeCode, int locationId, int properties)
Notify the start tag of an element |
public static final int PARENT_POINTER_INTERVAL
public void attribute(int nameCode, int typeCode, CharSequence value, int locationId, int properties)
public void characters(CharSequence chars, int locationId, int properties)
Callback interface for SAX: not for application use
public void close()
public void comment(CharSequence chars, int locationId, int properties)
Callback interface for SAX: not for application use
public void endDocument()
Callback interface for SAX: not for application use
public void endElement()
Callback interface for SAX: not for application use
public int[] getSizeParameters()
public void namespace(int namespaceCode, int properties)
public void open()
Open the event stream
public void processingInstruction(String piname, CharSequence remainder, int locationId, int properties)
Callback interface for SAX: not for application use
public void setSizeParameters(int[] params)
public void setUnparsedEntity(String name, String uri, String publicId)
Set an unparsed entity in the document
public void startContent()
public void startDocument(int properties)
Write a document node to the tree
public void startElement(int nameCode, int typeCode, int locationId, int properties)
Notify the start tag of an element