net.sf.saxon.functions

Class URIQueryParameters

public class URIQueryParameters extends Object

A set of query parameters on a URI passed to the collection() or document() function
Nested Class Summary
static classURIQueryParameters.RegexFilter
Field Summary
FilenameFilterfilter
IntegeronError
static intON_ERROR_FAIL
static intON_ERROR_IGNORE
static intON_ERROR_WARNING
XMLReaderparser
Booleanrecurse
intstrip
booleanunparsed
Integervalidation
Booleanxinclude
Constructor Summary
URIQueryParameters(String query, Configuration config)
Create an object representing the query part of a URI
Method Summary
FilenameFiltergetFilenameFilter()
Get the file name filter (select=pattern), or null if unspecified
IntegergetOnError()
Get the value of the on-error=fail|warning|ignore parameter, or null if unspecified
BooleangetRecurse()
Get the value of the recurse=yes|no parameter, or null if unspecified
intgetStripSpace()
Get the value of the strip-space=yes|no parameter.
IntegergetValidationMode()
Get the value of the validation=strict|lax|preserve|strip parameter, or null if unspecified
BooleangetXInclude()
Get the value of xinclude=yes|no, or null if unspecified
XMLReadergetXMLReader()
Get the selected XML parser, or null if unspecified
booleanisUnparsed()
Get the value of unparsed=yes|no, or false if unspecified

Field Detail

filter

FilenameFilter filter

onError

Integer onError

ON_ERROR_FAIL

public static final int ON_ERROR_FAIL

ON_ERROR_IGNORE

public static final int ON_ERROR_IGNORE

ON_ERROR_WARNING

public static final int ON_ERROR_WARNING

parser

XMLReader parser

recurse

Boolean recurse

strip

int strip

unparsed

boolean unparsed

validation

Integer validation

xinclude

Boolean xinclude

Constructor Detail

URIQueryParameters

public URIQueryParameters(String query, Configuration config)
Create an object representing the query part of a URI

Parameters: query the part of the URI after the "?" symbol config the Saxon configuration

Method Detail

getFilenameFilter

public FilenameFilter getFilenameFilter()
Get the file name filter (select=pattern), or null if unspecified

getOnError

public Integer getOnError()
Get the value of the on-error=fail|warning|ignore parameter, or null if unspecified

getRecurse

public Boolean getRecurse()
Get the value of the recurse=yes|no parameter, or null if unspecified

getStripSpace

public int getStripSpace()
Get the value of the strip-space=yes|no parameter. Returns one of the values ALL, IGNORABLE, NONE, UNSPECIFIED

getValidationMode

public Integer getValidationMode()
Get the value of the validation=strict|lax|preserve|strip parameter, or null if unspecified

getXInclude

public Boolean getXInclude()
Get the value of xinclude=yes|no, or null if unspecified

getXMLReader

public XMLReader getXMLReader()
Get the selected XML parser, or null if unspecified

isUnparsed

public boolean isUnparsed()
Get the value of unparsed=yes|no, or false if unspecified