public interface Resource
Modifier and Type | Method and Description |
---|---|
String |
getContentType()
Get the media type (MIME type) of the resource if known
|
Item |
getItem(XPathContext context)
Get an XDM Item holding the contents of this resource.
|
String |
getResourceURI()
Get a URI that identifies this resource
|
String getResourceURI()
Item getItem(XPathContext context) throws XPathException
context
- the XPath evaluation contextXPathException
- if a failure occurs materializing the resourceString getContentType()
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.