public class DataURIScheme
extends java.lang.Object
Constructor and Description |
---|
DataURIScheme() |
Modifier and Type | Method and Description |
---|---|
static Resource |
decode(java.net.URI uri)
Parse the content of a URI that uses the data: URI scheme defined in RFC 2397, and
return a Resource representing the content of the URI
|
public static Resource decode(java.net.URI uri) throws XPathException
uri
- a valid URI using the data: URI schemeXPathException
- if the URI is invalid, or uses an unknown encoding, or cannot be decodedCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.