|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectBuilder
HackedTinyBuilder
public class HackedTinyBuilder
Field Summary | |
---|---|
private int |
currentDepth
|
private boolean |
ended
|
private boolean |
isIDElement
|
private int |
nodeNr
|
static int |
PARENT_POINTER_INTERVAL
|
private int[] |
prevAtDepth
|
private int[] |
siblingsAtDepth
|
private int[] |
sizeParameters
|
private PackedByteBuf |
textBuf
|
private SubStoreWriter |
textStore
|
private TinyTree |
tree
|
private StructuredStore |
treeStore
|
Fields inherited from class Builder |
---|
baseURI, config, currentRoot, lineNumbering, LINKED_TREE, namePool, pipe, STANDARD_TREE, started, systemId, timing, TINY_TREE, UNSPECIFIED_TREE_MODEL |
Fields inherited from interface Result |
---|
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING |
Constructor Summary | |
---|---|
HackedTinyBuilder()
|
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()
|
SubStoreWriter |
getTextStore()
|
TinyTree |
getTree()
|
StructuredStore |
getTreeStore()
|
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 |
setTextStore(SubStoreWriter textStore)
|
void |
setTreeStore(StructuredStore treeStore)
|
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 |
Methods inherited from class Builder |
---|
build, build, getBaseURI, getConfiguration, getCurrentRoot, getPipelineConfiguration, getSystemId, isTiming, setBaseURI, setLineNumbering, setPipelineConfiguration, setSystemId, setTiming |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private PackedByteBuf textBuf
private StructuredStore treeStore
private SubStoreWriter textStore
public static final int PARENT_POINTER_INTERVAL
private TinyTree tree
private int currentDepth
private int nodeNr
private boolean ended
private int[] sizeParameters
private int[] prevAtDepth
private int[] siblingsAtDepth
private boolean isIDElement
Constructor Detail |
---|
public HackedTinyBuilder()
Method Detail |
---|
public void setTreeStore(StructuredStore treeStore)
public StructuredStore getTreeStore()
public void setTextStore(SubStoreWriter textStore)
public SubStoreWriter getTextStore()
public void setSizeParameters(int[] params)
public int[] getSizeParameters()
public TinyTree getTree()
public void open() throws XPathException
open
in interface Receiver
open
in class Builder
XPathException
public void startDocument(int properties) throws XPathException
startDocument
in interface Receiver
startDocument
in class Builder
XPathException
public void endDocument() throws XPathException
endDocument
in interface Receiver
endDocument
in class Builder
XPathException
public void close() throws XPathException
close
in interface Receiver
close
in class Builder
XPathException
public void startElement(int nameCode, int typeCode, int locationId, int properties) throws XPathException
XPathException
public void namespace(int namespaceCode, int properties) throws XPathException
XPathException
public void attribute(int nameCode, int typeCode, CharSequence value, int locationId, int properties) throws XPathException
XPathException
public void startContent()
public void endElement() throws XPathException
XPathException
public void characters(CharSequence chars, int locationId, int properties) throws XPathException
XPathException
public void processingInstruction(String piname, CharSequence remainder, int locationId, int properties) throws XPathException
XPathException
public void comment(CharSequence chars, int locationId, int properties) throws XPathException
XPathException
public void setUnparsedEntity(String name, String uri, String publicId)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |