Package net.sf.saxon.functions
Class URIQueryParameters
java.lang.Object
net.sf.saxon.functions.URIQueryParameters
A set of query parameters on a URI passed to the collection() or document() function
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A FilenameFilter that tests file names against a regular expression -
Field Summary
FieldsModifier and TypeFieldDescription(package private) Optional
<FilenameFilter> static final int
static final int
static final int
(package private) Optional
<SpaceStrippingRule> -
Constructor Summary
ConstructorsConstructorDescriptionURIQueryParameters
(String query, Configuration config) Create an object representing the query part of a URI -
Method Summary
Modifier and TypeMethodDescriptionGet the value of media-type, or absent if absentGet the file name filter (select=pattern), or absent if unspecifiedGet the value of metadata=yes|no, or absent if unspecifiedGet the value of the on-error=fail|warning|ignore parameter, or absent if unspecifiedGet the value of the recurse=yes|no parameter, or absent if unspecifiedGet the value of the strip-space=yes|no parameter.Get the value of stable=yes|no, or absent if unspecifiedGet the value of the validation=strict|lax|preserve|strip parameter, or absent if unspecifiedGet the value of xinclude=yes|no, or absent if unspecifiedGet a factory for the selected XML parser class, or absent if unspecifiedstatic FilenameFilter
makeGlobFilter
(String value) makeParseOptions
(Configuration config) Create ParseOptions based on these query parameters
-
Field Details
-
filter
Optional<FilenameFilter> filter -
recurse
-
validation
-
strippingRule
Optional<SpaceStrippingRule> strippingRule -
onError
-
xinclude
-
stable
-
metadata
-
contentType
-
parserMaker
-
ON_ERROR_FAIL
public static final int ON_ERROR_FAIL- See Also:
-
ON_ERROR_WARNING
public static final int ON_ERROR_WARNING- See Also:
-
ON_ERROR_IGNORE
public static final int ON_ERROR_IGNORE- See Also:
-
-
Constructor Details
-
URIQueryParameters
Create an object representing the query part of a URI- Parameters:
query
- the part of the URI after the "?" symbolconfig
- the Saxon configuration- Throws:
XPathException
-
-
Method Details
-
makeGlobFilter
- Throws:
XPathException
-
getSpaceStrippingRule
Get the value of the strip-space=yes|no parameter.- Returns:
- an instance of
AllElementsSpaceStrippingRule
,IgnorableSpaceStrippingRule
, orNoElementsSpaceStrippingRule
, or absent.
-
getValidationMode
Get the value of the validation=strict|lax|preserve|strip parameter, or absent if unspecified -
getFilenameFilter
Get the file name filter (select=pattern), or absent if unspecified -
getRecurse
Get the value of the recurse=yes|no parameter, or absent if unspecified -
getOnError
Get the value of the on-error=fail|warning|ignore parameter, or absent if unspecified -
getXInclude
Get the value of xinclude=yes|no, or absent if unspecified -
getMetaData
Get the value of metadata=yes|no, or absent if unspecified -
getContentType
Get the value of media-type, or absent if absent -
getStable
Get the value of stable=yes|no, or absent if unspecified -
getXMLReaderMaker
Get a factory for the selected XML parser class, or absent if unspecified -
makeParseOptions
Create ParseOptions based on these query parameters- Throws:
XPathException
-