Package net.sf.saxon.functions
Class URIQueryParameters
- java.lang.Object
-
- net.sf.saxon.functions.URIQueryParameters
-
public class URIQueryParameters extends java.lang.ObjectA 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.RegexFilter
-
Field Summary
Fields Modifier and Type Field Description (package private) java.io.FilenameFilterfilterstatic intON_ERROR_FAILstatic intON_ERROR_IGNOREstatic intON_ERROR_WARNING(package private) java.lang.IntegeronError(package private) org.xml.sax.XMLReaderparser(package private) java.lang.Booleanrecurse(package private) intstrip(package private) booleanunparsed(package private) java.lang.Integervalidation(package private) java.lang.Booleanxinclude
-
Constructor Summary
Constructors Constructor Description URIQueryParameters(java.lang.String query, Configuration config)Create an object representing the query part of a URI
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.FilenameFiltergetFilenameFilter()Get the file name filter (select=pattern), or null if unspecifiedjava.lang.IntegergetOnError()Get the value of the on-error=fail|warning|ignore parameter, or null if unspecifiedjava.lang.BooleangetRecurse()Get the value of the recurse=yes|no parameter, or null if unspecifiedintgetStripSpace()Get the value of the strip-space=yes|no parameter.java.lang.IntegergetValidationMode()Get the value of the validation=strict|lax|preserve|strip parameter, or null if unspecifiedjava.lang.BooleangetXInclude()Get the value of xinclude=yes|no, or null if unspecifiedorg.xml.sax.XMLReadergetXMLReader()Get the selected XML parser, or null if unspecifiedbooleanisUnparsed()Get the value of unparsed=yes|no, or false if unspecified
-
-
-
Field Detail
-
filter
java.io.FilenameFilter filter
-
recurse
java.lang.Boolean recurse
-
validation
java.lang.Integer validation
-
strip
int strip
-
onError
java.lang.Integer onError
-
parser
org.xml.sax.XMLReader parser
-
xinclude
java.lang.Boolean xinclude
-
unparsed
boolean unparsed
-
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(java.lang.String query, Configuration config)Create an object representing the query part of a URI- Parameters:
query- the part of the URI after the "?" symbolconfig- the Saxon configuration
-
-
Method Detail
-
getStripSpace
public int getStripSpace()
Get the value of the strip-space=yes|no parameter. Returns one of the valuesWhitespace.ALL,Whitespace.IGNORABLE,Whitespace.NONE,Whitespace.UNSPECIFIED
-
getValidationMode
public java.lang.Integer getValidationMode()
Get the value of the validation=strict|lax|preserve|strip parameter, or null if unspecified
-
getFilenameFilter
public java.io.FilenameFilter getFilenameFilter()
Get the file name filter (select=pattern), or null if unspecified
-
getRecurse
public java.lang.Boolean getRecurse()
Get the value of the recurse=yes|no parameter, or null if unspecified
-
getOnError
public java.lang.Integer getOnError()
Get the value of the on-error=fail|warning|ignore parameter, or null if unspecified
-
getXInclude
public java.lang.Boolean getXInclude()
Get the value of xinclude=yes|no, or null if unspecified
-
isUnparsed
public boolean isUnparsed()
Get the value of unparsed=yes|no, or false if unspecified
-
getXMLReader
public org.xml.sax.XMLReader getXMLReader()
Get the selected XML parser, or null if unspecified
-
-