public abstract class BuilderMonitor extends ProxyReceiver
nextReceiver
pipelineConfiguration, previousAtomic, systemId
Constructor and Description |
---|
BuilderMonitor(Receiver next) |
Modifier and Type | Method and Description |
---|---|
abstract NodeInfo |
getMarkedNode()
On completion of tree building, get the node that was marked using markNextNode().
|
abstract void |
markAttributeNode(NodeInfo origin)
Indicate that the most recently written attribute whose name matches that of the supplied node
is to act as the marked node
|
abstract void |
markNamespaceNode(NodeInfo origin)
Indicate that the most recently written attribute whose name matches that of the supplied node
is to act as the marked node
|
abstract void |
markNextNode(int nodeKind)
Indicate that the next node to be created will be of a given type, and request the monitor to remember
the identity of this node.
|
append, attribute, characters, close, comment, endDocument, endElement, getNamePool, getUnderlyingReceiver, namespace, open, processingInstruction, setPipelineConfiguration, setSystemId, setUnderlyingReceiver, setUnparsedEntity, startContent, startDocument, startElement, usesTypeAnnotations
append, getConfiguration, getPipelineConfiguration, getSystemId, isTrueSequenceReceiver
public BuilderMonitor(Receiver next)
public abstract void markNextNode(int nodeKind)
nodeKind
- the kind of node that will be created next. This will always be an element, text, comment,
or processing-instruction nodepublic abstract void markAttributeNode(NodeInfo origin)
origin
- the attribute in the input corresponding to the marked node in the outputpublic abstract void markNamespaceNode(NodeInfo origin)
origin
- the attribute in the input corresponding to the marked node in the outputpublic abstract NodeInfo getMarkedNode()
Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.