public class URIQueryParameters
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
URIQueryParameters.RegexFilter
A FilenameFilter that tests file names against a regular expression
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ON_ERROR_FAIL |
static int |
ON_ERROR_IGNORE |
static int |
ON_ERROR_WARNING |
| Constructor and Description |
|---|
URIQueryParameters(java.lang.String query,
Configuration config)
Create an object representing the query part of a URI
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<java.lang.String> |
getContentType()
Get the value of media-type, or absent if absent
|
java.util.Optional<java.io.FilenameFilter> |
getFilenameFilter()
Get the file name filter (select=pattern), or absent if unspecified
|
java.util.Optional<java.lang.Boolean> |
getMetaData()
Get the value of metadata=yes|no, or absent if unspecified
|
java.util.Optional<java.lang.Integer> |
getOnError()
Get the value of the on-error=fail|warning|ignore parameter, or absent if unspecified
|
java.util.Optional<java.lang.Boolean> |
getRecurse()
Get the value of the recurse=yes|no parameter, or absent if unspecified
|
java.util.Optional<SpaceStrippingRule> |
getSpaceStrippingRule()
Get the value of the strip-space=yes|no parameter.
|
java.util.Optional<java.lang.Boolean> |
getStable()
Get the value of stable=yes|no, or absent if unspecified
|
java.util.Optional<java.lang.Integer> |
getValidationMode()
Get the value of the validation=strict|lax|preserve|strip parameter, or absent if unspecified
|
java.util.Optional<java.lang.Boolean> |
getXInclude()
Get the value of xinclude=yes|no, or absent if unspecified
|
java.util.Optional<Maker<org.xml.sax.XMLReader>> |
getXMLReaderMaker()
Get a factory for the selected XML parser class, or absent if unspecified
|
static java.io.FilenameFilter |
makeGlobFilter(java.lang.String value) |
ParseOptions |
makeParseOptions(Configuration config)
Create ParseOptions based on these query parameters
|
public static final int ON_ERROR_FAIL
public static final int ON_ERROR_WARNING
public static final int ON_ERROR_IGNORE
public URIQueryParameters(java.lang.String query,
Configuration config)
throws XPathException
query - the part of the URI after the "?" symbolconfig - the Saxon configurationXPathExceptionpublic static java.io.FilenameFilter makeGlobFilter(java.lang.String value)
throws XPathException
XPathExceptionpublic java.util.Optional<SpaceStrippingRule> getSpaceStrippingRule()
AllElementsSpaceStrippingRule, IgnorableSpaceStrippingRule,
or NoElementsSpaceStrippingRule, or absent.public java.util.Optional<java.lang.Integer> getValidationMode()
public java.util.Optional<java.io.FilenameFilter> getFilenameFilter()
public java.util.Optional<java.lang.Boolean> getRecurse()
public java.util.Optional<java.lang.Integer> getOnError()
public java.util.Optional<java.lang.Boolean> getXInclude()
public java.util.Optional<java.lang.Boolean> getMetaData()
public java.util.Optional<java.lang.String> getContentType()
public java.util.Optional<java.lang.Boolean> getStable()
public java.util.Optional<Maker<org.xml.sax.XMLReader>> getXMLReaderMaker()
public ParseOptions makeParseOptions(Configuration config) throws XPathException
XPathExceptionCopyright (c) 2004-2022 Saxonica Limited. All rights reserved.