Package net.sf.saxon.functions
Class URIQueryParameters
- java.lang.Object
-
- net.sf.saxon.functions.URIQueryParameters
-
public class URIQueryParameters extends Object
A set of query parameters on a URI passed to the collection() or document() function
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classURIQueryParameters.RegexFilterA FilenameFilter that tests file names against a regular expression
-
Field Summary
Fields Modifier and Type Field Description (package private) StringcontentType(package private) FilenameFilterfilter(package private) Booleanmetadatastatic intON_ERROR_FAILstatic intON_ERROR_IGNOREstatic intON_ERROR_WARNING(package private) IntegeronError(package private) Maker<XMLReader>parserMaker(package private) Booleanrecurse(package private) Booleanstable(package private) SpaceStrippingRulestrippingRule(package private) Integervalidation(package private) Booleanxinclude
-
Constructor Summary
Constructors Constructor Description URIQueryParameters(String query, Configuration config)Create an object representing the query part of a URI
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContentType()Get the value of media-type, or null if absentFilenameFiltergetFilenameFilter()Get the file name filter (select=pattern), or null if unspecifiedBooleangetMetaData()Get the value of metadata=yes|no, or null if unspecifiedIntegergetOnError()Get the value of the on-error=fail|warning|ignore parameter, or null if unspecifiedBooleangetRecurse()Get the value of the recurse=yes|no parameter, or null if unspecifiedSpaceStrippingRulegetSpaceStrippingRule()Get the value of the strip-space=yes|no parameter.BooleangetStable()Get the value of stable=yes|no, or null if unspecifiedIntegergetValidationMode()Get the value of the validation=strict|lax|preserve|strip parameter, or null if unspecifiedBooleangetXInclude()Get the value of xinclude=yes|no, or null if unspecifiedMaker<XMLReader>getXMLReaderMaker()Get a factory for the selected XML parser class, or null if unspecifiedstatic FilenameFiltermakeGlobFilter(String value)
-
-
-
Field Detail
-
filter
FilenameFilter filter
-
recurse
Boolean recurse
-
validation
Integer validation
-
strippingRule
SpaceStrippingRule strippingRule
-
onError
Integer onError
-
xinclude
Boolean xinclude
-
stable
Boolean stable
-
metadata
Boolean metadata
-
contentType
String contentType
-
ON_ERROR_FAIL
public static final int ON_ERROR_FAIL
- See Also:
- Constant Field Values
-
ON_ERROR_WARNING
public static final int ON_ERROR_WARNING
- See Also:
- Constant Field Values
-
ON_ERROR_IGNORE
public static final int ON_ERROR_IGNORE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
URIQueryParameters
public URIQueryParameters(String query, Configuration config) throws XPathException
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 Detail
-
makeGlobFilter
public static FilenameFilter makeGlobFilter(String value) throws XPathException
- Throws:
XPathException
-
getSpaceStrippingRule
public SpaceStrippingRule getSpaceStrippingRule()
Get the value of the strip-space=yes|no parameter.- Returns:
- an instance of
AllElementsSpaceStrippingRule,IgnorableSpaceStrippingRule, orNoElementsSpaceStrippingRule, or null
-
getValidationMode
public Integer getValidationMode()
Get the value of the validation=strict|lax|preserve|strip parameter, or null if unspecified
-
getFilenameFilter
public FilenameFilter getFilenameFilter()
Get the file name filter (select=pattern), or null if unspecified
-
getRecurse
public Boolean getRecurse()
Get the value of the recurse=yes|no parameter, or null if unspecified
-
getOnError
public Integer getOnError()
Get the value of the on-error=fail|warning|ignore parameter, or null if unspecified
-
getXInclude
public Boolean getXInclude()
Get the value of xinclude=yes|no, or null if unspecified
-
getMetaData
public Boolean getMetaData()
Get the value of metadata=yes|no, or null if unspecified
-
getContentType
public String getContentType()
Get the value of media-type, or null if absent
-
getStable
public Boolean getStable()
Get the value of stable=yes|no, or null if unspecified
-
-