public interface ResourceCollection
Modifier and Type | Method and Description |
---|---|
String |
getCollectionURI()
Get the URI of the collection
|
Iterator<? extends Resource> |
getResources(XPathContext context)
Get the resources in the collection.
|
Iterator<String> |
getResourceURIs(XPathContext context)
Get the URIs of the resources in the collection.
|
boolean |
isStable(XPathContext context)
Ask whether the collection is stable: in this case Saxon will retain the contents of the
collection in memory, and will not make a second request on the CollectionFinder for the
same collection URI.
|
String getCollectionURI()
Iterator<String> getResourceURIs(XPathContext context) throws XPathException
context
- the XPath evaluation contextXPathException
- in the event of any error (for example, if the collection URI
is not recognized)Iterator<? extends Resource> getResources(XPathContext context) throws XPathException
context
- the XPath evaluation contextXPathException
- in the event of any error (for example, if the collection URI
is not recognized)boolean isStable(XPathContext context)
context
- the XPath dynamic evaluation context (in case the decision is context dependent)Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.