public interface SaxonProcessorDelegate
SaxonProcessor facility.
The methods in this delegate are called during when processing a document.
Each method is given the XdmNode to process and the shared
SaxonBuilder that can be used to create the result document.
| Modifier and Type | Interface and Description |
|---|---|
static class |
SaxonProcessorDelegate.NextSteps
An enumeration used to indicate what to do after a delegate
startElement(XdmNode, SaxonBuilder) method
has been called. |
| Modifier and Type | Method and Description |
|---|---|
void |
attribute(net.sf.saxon.s9api.XdmNode node,
SaxonBuilder builder)
Called when starting the processing of an attribute node.
|
void |
comment(net.sf.saxon.s9api.XdmNode node,
SaxonBuilder builder)
Called when starting the processing of a comment node.
|
void |
endDocument(net.sf.saxon.s9api.XdmNode node,
SaxonBuilder builder)
Called after having processed a document.
|
void |
endElement(net.sf.saxon.s9api.XdmNode node,
SaxonBuilder builder)
Called after having processed an element.
|
void |
processingInstruction(net.sf.saxon.s9api.XdmNode node,
SaxonBuilder builder)
Called when starting the processing of a processing instruction node
|
boolean |
startDocument(net.sf.saxon.s9api.XdmNode node,
SaxonBuilder builder)
Called when starting the processing of a document.
|
EnumSet<SaxonProcessorDelegate.NextSteps> |
startElement(net.sf.saxon.s9api.XdmNode node,
SaxonBuilder builder)
Called when starting the processing of an element.
|
void |
text(net.sf.saxon.s9api.XdmNode node,
SaxonBuilder builder)
Called when starting the processing of a text node.
|
boolean startDocument(net.sf.saxon.s9api.XdmNode node,
SaxonBuilder builder)
node - the document nodebuilder - the shared builder used to create the result documenttrue iff the processor should keep on processing the
children nodesvoid endDocument(net.sf.saxon.s9api.XdmNode node,
SaxonBuilder builder)
node - the document nodebuilder - the shared builder used to create the result documentEnumSet<SaxonProcessorDelegate.NextSteps> startElement(net.sf.saxon.s9api.XdmNode node, SaxonBuilder builder)
node - the element nodebuilder - the shared builder used to create the result documentvoid endElement(net.sf.saxon.s9api.XdmNode node,
SaxonBuilder builder)
node - the element nodebuilder - the shared builder used to create the result documentvoid text(net.sf.saxon.s9api.XdmNode node,
SaxonBuilder builder)
node - the text nodebuilder - the shared builder used to create the result documentvoid comment(net.sf.saxon.s9api.XdmNode node,
SaxonBuilder builder)
node - the comment nodebuilder - the shared builder used to create the result documentvoid processingInstruction(net.sf.saxon.s9api.XdmNode node,
SaxonBuilder builder)
node - the processing instruction node.builder - the shared builder used to create the result documentvoid attribute(net.sf.saxon.s9api.XdmNode node,
SaxonBuilder builder)
node - the attribute nodebuilder - the shared builder used to create the result documentCopyright © 2009-2012 TranceCode. All Rights Reserved.