| Constructor and Description |
|---|
MetadataResource(java.lang.String resourceURI,
Resource content,
java.util.Map<java.lang.String,GroundedValue> properties,
XPathContext context) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getContentType()
Get the media type (MIME type) of the resource if known
|
Item |
getItem()
Get an XDM Item holding the contents of this resource.
|
java.lang.String |
getResourceURI()
Get a URI that identifies this resource
|
public MetadataResource(java.lang.String resourceURI,
Resource content,
java.util.Map<java.lang.String,GroundedValue> properties,
XPathContext context)
public java.lang.String getContentType()
ResourcegetContentType in interface Resourcepublic java.lang.String getResourceURI()
ResourcegetResourceURI in interface Resourcepublic Item getItem()
ResourcegetItem in interface ResourceCopyright (c) 2004-2022 Saxonica Limited. All rights reserved.