public class ExplicitCollection extends AbstractResourceCollection
AbstractResourceCollection.InputDetailscollectionURI, config, noExceptions, params| Constructor and Description |
|---|
ExplicitCollection(Configuration config,
java.lang.String collectionURI,
java.util.List<Resource> resources)
Create an explicit collection
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<? extends Resource> |
getResources(XPathContext context)
Get the resources in the collection.
|
java.util.Iterator<java.lang.String> |
getResourceURIs(XPathContext context)
Get the URIs of the resources in the collection.
|
boolean |
stripWhitespace(SpaceStrippingRule rules)
Supply information about the whitespace stripping rules that apply to this collection.
|
checkNotNull, getCollectionURI, getInputDetails, guessContentTypeFromContent, guessContentTypeFromName, isStable, makeResource, makeResource, makeTypedResource, optionsFromQueryParameters, registerContentType, setupErrorHandlingForCollectionpublic ExplicitCollection(Configuration config, java.lang.String collectionURI, java.util.List<Resource> resources)
config - the Saxon ConfigurationcollectionURI - the collection URIresources - the resources in the collectionpublic boolean stripWhitespace(SpaceStrippingRule rules)
stripWhitespace in class AbstractResourceCollectionrules - the space-stripping rules that apply to this collection, derived from
the xsl:strip-space and xsl:preserve-space declarations in the stylesheet
package containing the call to the collection() function.public java.util.Iterator<java.lang.String> getResourceURIs(XPathContext context)
ResourceCollectionUnparsedTextURIResolver (in the case of unparsed text and JSON resources), etc.context - the XPath evaluation contextpublic java.util.Iterator<? extends Resource> getResources(XPathContext context)
ResourceCollectioncontext - the XPath evaluation contextResource.Copyright (c) 2004-2022 Saxonica Limited. All rights reserved.