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 classA FilenameFilter that tests file names against a regular expression -
Field Summary
FieldsModifier and TypeFieldDescription(package private) String(package private) FilenameFilter(package private) Booleanstatic final intstatic final intstatic final int(package private) Integer(package private) Boolean(package private) Boolean(package private) SpaceStrippingRule(package private) Integer(package private) Boolean -
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 null if absentGet the file name filter (select=pattern), or null if unspecifiedGet the value of metadata=yes|no, or null if unspecifiedGet the value of the on-error=fail|warning|ignore parameter, or null if unspecifiedGet the value of the recurse=yes|no parameter, or null if unspecifiedGet the value of the strip-space=yes|no parameter.Get the value of stable=yes|no, or null if unspecifiedGet the value of the validation=strict|lax|preserve|strip parameter, or null if unspecifiedGet the value of xinclude=yes|no, or null if unspecifiedGet a factory for the selected XML parser class, or null if unspecifiedstatic FilenameFiltermakeGlobFilter(String value)
-
Field Details
-
filter
FilenameFilter filter -
recurse
Boolean recurse -
validation
Integer validation -
strippingRule
SpaceStrippingRule strippingRule -
onError
Integer onError -
parserMaker
-
xinclude
Boolean xinclude -
stable
Boolean stable -
metadata
Boolean metadata -
contentType
String contentType -
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 null
-
getValidationMode
Get the value of the validation=strict|lax|preserve|strip parameter, or null if unspecified -
getFilenameFilter
Get the file name filter (select=pattern), or null if unspecified -
getRecurse
Get the value of the recurse=yes|no parameter, or null if unspecified -
getOnError
Get the value of the on-error=fail|warning|ignore parameter, or null if unspecified -
getXInclude
Get the value of xinclude=yes|no, or null if unspecified -
getMetaData
Get the value of metadata=yes|no, or null if unspecified -
getContentType
Get the value of media-type, or null if absent -
getStable
Get the value of stable=yes|no, or null if unspecified -
getXMLReaderMaker
Get a factory for the selected XML parser class, or null if unspecified
-