Class URIQueryParameters


  • public class URIQueryParameters
    extends java.lang.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 class  URIQueryParameters.RegexFilter
      A FilenameFilter that tests file names against a regular expression
    • 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 Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<java.lang.String> getContentType()
      Get the value of media-type, or absent if absent
      java.util.Optional<java.io.FilenameFilter> getFilenameFilter()
      Get the file name filter (select=pattern), or absent if unspecified
      java.util.Optional<java.lang.Boolean> getMetaData()
      Get the value of metadata=yes|no, or absent if unspecified
      java.util.Optional<java.lang.Integer> getOnError()
      Get the value of the on-error=fail|warning|ignore parameter, or absent if unspecified
      java.util.Optional<java.lang.Boolean> getRecurse()
      Get the value of the recurse=yes|no parameter, or absent if unspecified
      java.util.Optional<SpaceStrippingRule> getSpaceStrippingRule()
      Get the value of the strip-space=yes|no parameter.
      java.util.Optional<java.lang.Boolean> getStable()
      Get the value of stable=yes|no, or absent if unspecified
      java.util.Optional<java.lang.Integer> getValidationMode()
      Get the value of the validation=strict|lax|preserve|strip parameter, or absent if unspecified
      java.util.Optional<java.lang.Boolean> getXInclude()
      Get the value of xinclude=yes|no, or absent if unspecified
      java.util.Optional<Maker<org.xml.sax.XMLReader>> getXMLReaderMaker()
      Get a factory for the selected XML parser class, or absent if unspecified
      static java.io.FilenameFilter makeGlobFilter​(java.lang.String value)  
      ParseOptions makeParseOptions​(Configuration config)
      Create ParseOptions based on these query parameters
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • URIQueryParameters

        public URIQueryParameters​(java.lang.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 "?" symbol
        config - the Saxon configuration
        Throws:
        XPathException
    • Method Detail

      • makeGlobFilter

        public static java.io.FilenameFilter makeGlobFilter​(java.lang.String value)
                                                     throws XPathException
        Throws:
        XPathException
      • getValidationMode

        public java.util.Optional<java.lang.Integer> getValidationMode()
        Get the value of the validation=strict|lax|preserve|strip parameter, or absent if unspecified
      • getFilenameFilter

        public java.util.Optional<java.io.FilenameFilter> getFilenameFilter()
        Get the file name filter (select=pattern), or absent if unspecified
      • getRecurse

        public java.util.Optional<java.lang.Boolean> getRecurse()
        Get the value of the recurse=yes|no parameter, or absent if unspecified
      • getOnError

        public java.util.Optional<java.lang.Integer> getOnError()
        Get the value of the on-error=fail|warning|ignore parameter, or absent if unspecified
      • getXInclude

        public java.util.Optional<java.lang.Boolean> getXInclude()
        Get the value of xinclude=yes|no, or absent if unspecified
      • getMetaData

        public java.util.Optional<java.lang.Boolean> getMetaData()
        Get the value of metadata=yes|no, or absent if unspecified
      • getContentType

        public java.util.Optional<java.lang.String> getContentType()
        Get the value of media-type, or absent if absent
      • getStable

        public java.util.Optional<java.lang.Boolean> getStable()
        Get the value of stable=yes|no, or absent if unspecified
      • getXMLReaderMaker

        public java.util.Optional<Maker<org.xml.sax.XMLReader>> getXMLReaderMaker()
        Get a factory for the selected XML parser class, or absent if unspecified