public class PullPushTee extends PullFilter
This class can be used to insert a schema validator into a pull pipeline, since Saxon's schema validation is push-based. It could also be used to insert a serializer into the pipeline, allowing the XML document being "pulled" to be displayed for diagnostic purposes.
|Constructor and Description|
Create a PullPushTee
|Modifier and Type||Method and Description|
Get the Receiver to which events are being tee'd.
Get the next event.
close, current, getAtomicValue, getAttributes, getFingerprint, getNameCode, getNamePool, getNamespaceDeclarations, getPipelineConfiguration, getSchemaType, getSourceLocator, getStringValue, getUnderlyingProvider, getUnparsedEntities, setPipelineConfiguration, skipToMatchingEnd
public PullPushTee(PullProvider base, Receiver branch) throws XPathException
base- the PullProvider to which requests are to be passed
branch- the Receiver to which all events are to be copied, as "push" events. This Receiver must already be open before use
public Receiver getReceiver()
public int next() throws XPathException
Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.