Class LoadProperties

  • All Implemented Interfaces:
    org.exist.xquery.CompiledXQuery, org.exist.xquery.Expression, org.exist.xquery.RewritableExpression, org.xmldb.api.base.CompiledExpression

    public class LoadProperties
    extends org.exist.xquery.BasicFunction
    Function to load properties from a file under a basePath into a map
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.exist.xquery.Function

        org.exist.xquery.Function.Placeholder
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.exist.xquery.FunctionSignature signature  
      • Fields inherited from class org.exist.xquery.Function

        argumentsChecked, BUILTIN_FUNCTION_NS, parentModule
      • Fields inherited from class org.exist.xquery.PathExpr

        inPredicate, LOG, steps
      • Fields inherited from class org.exist.xquery.AbstractExpression

        column, context, contextDocSet, contextId, line, unordered
      • Fields inherited from interface org.exist.xquery.Expression

        DOT_TEST, EXPRESSION_ID_INVALID, IGNORE_CONTEXT, IN_NODE_CONSTRUCTOR, IN_PREDICATE, IN_UPDATE, IN_WHERE_CLAUSE, NEED_INDEX_INFO, NO_CONTEXT_ID, NON_STREAMABLE, POSITIONAL_PREDICATE, SINGLE_STEP_EXECUTION, UNORDERED, USE_TREE_TRAVERSAL
    • Constructor Summary

      Constructors 
      Constructor Description
      LoadProperties​(org.exist.xquery.XQueryContext context)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.exist.xquery.functions.map.MapType eval​(org.exist.xquery.value.Sequence[] args, org.exist.xquery.value.Sequence contextSequence)  
      • Methods inherited from class org.exist.xquery.BasicFunction

        eval
      • Methods inherited from class org.exist.xquery.Function

        accept, analyze, checkArgument, checkArgumentTypeCardinality, createFunction, dump, getArgument, getArgumentCount, getArguments, getCardinality, getDependencies, getName, getParent, getParentModule, getSignature, isCalledAs, looseCheckArgumentType, returnsType, setArguments, setParent, setPrimaryAxis, setSignature, simplify, strictCheckArgumentType, toString
      • Methods inherited from class org.exist.xquery.PathExpr

        add, add, addPath, addPredicate, allowMixedNodesInReturn, dump, getColumn, getContext, getDocumentSet, getExpression, getFirst, getLastExpression, getLength, getLine, getLiteralValue, getPrevious, getPrimaryAxis, getSubExpression, getSubExpressionCount, isValid, remove, replace, replaceLastExpression, reset, resetState, setContext, setUseStaticContext
      • Methods inherited from class org.exist.xquery.AbstractExpression

        eval, evalNextExpressionOnEmptyContextSequence, getContextDocSet, getContextId, getExpressionId, getSource, needsReset, setASTNode, setContextDocSet, setContextId, setLocation
      • Methods inherited from interface org.exist.xquery.CompiledXQuery

        eval, getSource
    • Field Detail

      • signature

        public static final org.exist.xquery.FunctionSignature signature
    • Constructor Detail

      • LoadProperties

        public LoadProperties​(org.exist.xquery.XQueryContext context)
    • Method Detail

      • eval

        public org.exist.xquery.functions.map.MapType eval​(org.exist.xquery.value.Sequence[] args,
                                                           org.exist.xquery.value.Sequence contextSequence)
                                                    throws org.exist.xquery.XPathException
        Specified by:
        eval in class org.exist.xquery.BasicFunction
        Throws:
        org.exist.xquery.XPathException