public class StreamingPatternMaker extends Object
PatternMaker
which handles the special rules for the streaming case.Constructor and Description |
---|
StreamingPatternMaker() |
Modifier and Type | Method and Description |
---|---|
static Pattern |
makeStreamingPattern(Expression expression,
Configuration config,
List<String> reasonForFailure)
Convert an expression that is capable of being evaluated as a filter on an XML event stream
into a Pattern object which is able to act as the filter
|
public static Pattern makeStreamingPattern(Expression expression, Configuration config, List<String> reasonForFailure)
expression
- the expression to be converted, which must already have been simplified
and type-checkedconfig
- the Saxon configurtaionreasonForFailure
- a list which will be populated with messages giving reasons why the
expression cannot be convertedCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.