| Package | Description |
|---|---|
| org.trancecode.xml.saxon |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractSaxonProcessorDelegate
Base class for
SaxonProcessorDelegate implementations that just throw
UnsupportedOperationException for any event. |
class |
CopyingSaxonProcessorDelegate
A processor delegate that merely copies the processed nodes to the result
tree.
|
class |
DeleteSaxonProcessorDelegate
A
SaxonProcessorDelegate implementation that deletes all the nodes. |
class |
MatchSaxonProcessorDelegate
A processor delegate that dispatches to internal sub-delegates depending on
the evaluation of a predicate on the node.
|
| Modifier and Type | Method and Description |
|---|---|
static SaxonProcessorDelegate |
SaxonProcessorDelegates.countMatchingNodes(AtomicInteger count) |
static SaxonProcessorDelegate |
SaxonProcessorDelegates.error(com.google.common.base.Function<net.sf.saxon.s9api.XdmNode,? extends RuntimeException> exceptionFactory)
Creates a new
SaxonProcessorDelegate that throws a
RuntimeException for any event. |
static SaxonProcessorDelegate |
SaxonProcessorDelegates.forNodeKinds(Set<net.sf.saxon.s9api.XdmNodeKind> nodeKinds,
SaxonProcessorDelegate matchDelegate,
SaxonProcessorDelegate nomatchDelegate)
Creates a new
MatchSaxonProcessorDelegate that dispatches events
to the two given delegates based on the kind of the node (e.g. |
static SaxonProcessorDelegate |
SaxonProcessorDelegates.forXsltMatchPattern(net.sf.saxon.s9api.Processor processor,
String pattern,
net.sf.saxon.s9api.XdmNode namespaceContext,
SaxonProcessorDelegate matchDelegate,
SaxonProcessorDelegate nomatchDelegate)
Creates a new
MatchSaxonProcessorDelegate that uses the given
XSLT match pattern to dispatch events to the two given delegates. |
| Modifier and Type | Method and Description |
|---|---|
static SaxonProcessorDelegate |
SaxonProcessorDelegates.forNodeKinds(Set<net.sf.saxon.s9api.XdmNodeKind> nodeKinds,
SaxonProcessorDelegate matchDelegate,
SaxonProcessorDelegate nomatchDelegate)
Creates a new
MatchSaxonProcessorDelegate that dispatches events
to the two given delegates based on the kind of the node (e.g. |
static SaxonProcessorDelegate |
SaxonProcessorDelegates.forXsltMatchPattern(net.sf.saxon.s9api.Processor processor,
String pattern,
net.sf.saxon.s9api.XdmNode namespaceContext,
SaxonProcessorDelegate matchDelegate,
SaxonProcessorDelegate nomatchDelegate)
Creates a new
MatchSaxonProcessorDelegate that uses the given
XSLT match pattern to dispatch events to the two given delegates. |
| Constructor and Description |
|---|
MatchSaxonProcessorDelegate(com.google.common.base.Predicate<net.sf.saxon.s9api.XdmNode> predicate,
SaxonProcessorDelegate matchDelegate,
SaxonProcessorDelegate nomatchDelegate)
Creates a new instance that uses the given predicate to dispatch events
to the two given delegates.
|
SaxonProcessor(net.sf.saxon.s9api.Processor processor,
SaxonProcessorDelegate delegate)
Creates a new document processor using the given delegate.
|
Copyright © 2009-2012 TranceCode. All Rights Reserved.