Package net.sf.saxon.lib
Class StandardCollectionURIResolver.FileExpander
java.lang.Object
net.sf.saxon.lib.StandardCollectionURIResolver.FileExpander
- All Implemented Interfaces:
MappingFunction<ExternalObject<File>,Item<?>>
- Enclosing class:
- StandardCollectionURIResolver
protected static class StandardCollectionURIResolver.FileExpander
extends Object
implements MappingFunction<ExternalObject<File>,Item<?>>
Mapping function to process the files in a directory. This maps a sequence of external
objects representing files to a sequence of DocumentInfo nodes representing the parsed
contents of those files.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) FilenameFilter(package private) int(package private) PipelineConfiguration(package private) boolean(package private) SpaceStrippingRule(package private) boolean(package private) int(package private) Boolean -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
recurse
boolean recurse -
strippingRule
SpaceStrippingRule strippingRule -
validation
int validation -
xinclude
Boolean xinclude -
unparsed
boolean unparsed -
parserMaker
-
onError
int onError -
filter
FilenameFilter filter -
pipe
-
-
Constructor Details
-
FileExpander
-
-
Method Details
-
map
Map one item to a sequence.- Specified by:
mapin interfaceMappingFunction<ExternalObject<File>,Item<?>> - Parameters:
item- The item to be mapped. If context is supplied, this must be the same as context.currentItem().- Returns:
- either (a) a SequenceIterator over the sequence of items that the supplied input item maps to, or (b) an Item if it maps to a single item, or (c) null if it maps to an empty sequence.
- Throws:
XPathException- if a dynamic error occurs
-