public class URIQueryParameters extends 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(String query,
Configuration config)
Create an object representing the query part of a URI
|
Modifier and Type | Method and Description |
---|---|
FilenameFilter |
getFilenameFilter()
Get the file name filter (select=pattern), or null if unspecified
|
Boolean |
getMetaData()
Get the value of metadata=yes|no, or null if unspecified
|
Integer |
getOnError()
Get the value of the on-error=fail|warning|ignore parameter, or null if unspecified
|
Boolean |
getRecurse()
Get the value of the recurse=yes|no parameter, or null if unspecified
|
SpaceStrippingRule |
getSpaceStrippingRule()
Get the value of the strip-space=yes|no parameter.
|
Boolean |
getStable()
Get the value of stable=yes|no, or null if unspecified
|
Integer |
getValidationMode()
Get the value of the validation=strict|lax|preserve|strip parameter, or null if unspecified
|
Boolean |
getXInclude()
Get the value of xinclude=yes|no, or null if unspecified
|
Maker<XMLReader> |
getXMLReaderMaker()
Get a factory for the selected XML parser class, or null if unspecified
|
boolean |
isUnparsed()
Get the value of unparsed=yes|no, or false if unspecified
|
static FilenameFilter |
makeGlobFilter(String value) |
public static final int ON_ERROR_FAIL
public static final int ON_ERROR_WARNING
public static final int ON_ERROR_IGNORE
public URIQueryParameters(String query, Configuration config) throws XPathException
query
- the part of the URI after the "?" symbolconfig
- the Saxon configurationXPathException
public static FilenameFilter makeGlobFilter(String value) throws XPathException
XPathException
public SpaceStrippingRule getSpaceStrippingRule()
AllElementsSpaceStrippingRule
, IgnorableSpaceStrippingRule
,
or NoElementsSpaceStrippingRule
, or nullpublic Integer getValidationMode()
public FilenameFilter getFilenameFilter()
public Boolean getRecurse()
public Integer getOnError()
public Boolean getXInclude()
public Boolean getMetaData()
public boolean isUnparsed()
public Boolean getStable()
Copyright (c) 2004-2017 Saxonica Limited. All rights reserved.