public class TinyBuilderCondensed extends TinyBuilder
Modifier and Type | Field and Description |
---|---|
IntHashMap<int[]> |
textValues |
PARENT_POINTER_INTERVAL
AXIOM_TREE, baseURI, config, currentRoot, JDOM_TREE, JDOM2_TREE, lineNumbering, LINKED_TREE, namePool, open, pipe, STANDARD_TREE, started, systemId, timing, TINY_TREE, TINY_TREE_CONDENSED, UNSPECIFIED_TREE_MODEL
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
Constructor and Description |
---|
TinyBuilderCondensed(PipelineConfiguration pipe) |
Modifier and Type | Method and Description |
---|---|
void |
attribute(NodeName nameCode,
SimpleType typeCode,
CharSequence value,
int locationId,
int properties)
For attribute nodes, the commoning-up of stored values is achieved simply by calling intern() on the
string value of the attribute.
|
void |
endElement()
Callback interface for SAX: not for application use
|
characters, close, comment, endDocument, getBuilderMonitor, getCurrentDepth, getLastCompletedElement, getSizeParameters, getTree, makeTextNode, namespace, open, processingInstruction, reset, setSizeParameters, setUnparsedEntity, startContent, startDocument, startElement
getBaseURI, getConfiguration, getCurrentRoot, getPipelineConfiguration, getSystemId, isTiming, setBaseURI, setLineNumbering, setPipelineConfiguration, setSystemId, setTiming, usesTypeAnnotations
public IntHashMap<int[]> textValues
public TinyBuilderCondensed(PipelineConfiguration pipe)
public void endElement() throws XPathException
TinyBuilder
endElement
in interface Receiver
endElement
in class TinyBuilder
XPathException
- if an error occurspublic void attribute(NodeName nameCode, SimpleType typeCode, CharSequence value, int locationId, int properties) throws XPathException
attribute
in interface Receiver
attribute
in class TinyBuilder
nameCode
- The name of the attributetypeCode
- The type of the attribute, as held in the name pool. The additional bit
NodeInfo.IS_DTD_TYPE may be set to indicate a DTD-derived type.value
- the string value of the attributelocationId
- an integer which can be interpreted using a LocationProvider
to return
information such as line number and system ID. If no location information is available,
the value zero is supplied.properties
- Bit significant value. The following bits are defined:
XPathException
- if an error occursCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.