-
com.facebook.presto.byteCode.CompilerContext.declareVariable()
-
com.volantis.xml.expression.ExpressionScope.declareVariable()
Declare a new variable in this scope.
@param name The name of the variable.
@param initialValue The initial value of the variable.
@return The variable.
-
com.volantis.xml.expression.InternalExpressionScope.declareVariable()
Declare a new variable in this scope.
The variable is not initialised and any attempt to get its value before it is explicitly set will result in an exception being thrown.
@param name The name of the variable.
@return The variable.
-
com.volantis.xml.expression.impl.SimpleExpressionScope.declareVariable()
-
net.sf.saxon.s9api.XPathCompiler.declareVariable()
Declare a variable as part of the static context for XPath expressions compiled using this XPathCompiler. It is an error for the XPath expression to refer to a variable unless it has been declared. This method declares the existence of the variable, but it does not bind any value to the variable; that is done later, when the XPath expression is evaluated. The variable is allowed to have any type (that is, the required type is item()*
).
@param qname The name of the variable, expressions as a QName
-
net.sf.saxon.sxpath.IndependentContext.declareVariable()
Declare a variable. A variable must be declared before an expression referring to it is compiled. The initial value of the variable will be the empty sequence
@param qname The name of the variable
@return an XPathVariable object representing information about the variable that has beendeclared.
-
net.sf.saxon.sxpath.XPathEvaluator.declareVariable()
Declare a variable, making it available for use within a subsequently-compiled XPath expression. The variable may subsequently be assigned a value using the method {@link XPathDynamicContext#setVariable(XPathVariable,net.sf.saxon.om.ValueRepresentation)}. Any external variable used in an XPath expression must be declared before the XPath expression is compiled.
@param uri The namespace URI of the variable name. Use "" for the null namespace.
@param localName The local part of the variable name.
@return an object representing the variable
-
net.sf.saxon.xpath.StandaloneContext.declareVariable()
Declare a variable. A variable must be declared before an expression referring to it is compiled.
-
org.apache.commons.jxpath.AbstractFactory.declareVariable()
Declare the specified variable
@param context hosts variable pools. See {@link JXPathContext#getVariables() JXPathContext.getVariables()}
@param name is the name of the variable without the "$" sign
@return true if the variable was successfully defined
-
org.apache.commons.jxpath.Variables.declareVariable()
Defines a new variable with the specified value or modifies the value of an existing variable. May throw UnsupportedOperationException.
-
org.exist.xmldb.XPathQueryServiceImpl.declareVariable()
H[SPEAKER=$name] Any Java object may be passed as initial value. The query engine will try to map this into a corresponding XPath value. You may also pass an XMLResource as obtained from another XPath expression. This will be converted into a node.
@param qname a valid QName by which the variable is identified. Anyprefix should have been mapped to a namespace, i.e. if a variable is called x:name, there should be a prefix/namespace mapping for the prefix x
@param initialValue the initial value, which is assigned to the variable
@throws XMLDBException
-
org.exist.xmldb.XQueryService.declareVariable()
H[SPEAKER=$name] Any Java object may be passed as initial value. The implementation will try to map the Java object into a corresponding XQuery value. In particular, all basic Java types (Integer, Long, Double, String) should be mapped into the corresponding XML Schema atomic types. A Java array is mapped to an XQuery sequence. The implemenation should also recognize all DOM node types. As a special case, an XMLResource as obtained from a {@link ResourceSet} will be converted into a node.
@param qname a valid QName by which the variable is identified. Anyprefix should have been mapped to a namespace, using {@link #setNamespace(String,String)}. For example, if a variable is called x:name, a prefix/namespace mapping should have been defined for prefix x
before calling this method.
@param initialValue the initial value, which is assigned to the variable
@throws XMLDBException
-
org.exist.xquery.XQueryContext.declareVariable()
Declare a user-defined variable.
The value argument is converted into an XPath value (@see XPathUtil#javaObjectToXPath(Object)).
@param qname the qualified name of the new variable. Any namespaces should have been declared before.
@param value a Java object, representing the fixed value of the variable
@return the created Variable object
@throws XPathException if the value cannot be converted into a known XPath value or the variable QName references an unknownnamespace-prefix.
-
org.exist.xquery.functions.session.SessionModule.declareVariable()
-
org.pdf4j.saxon.sxpath.IndependentContext.declareVariable()
Declare a variable. A variable must be declared before an expression referring to it is compiled. The initial value of the variable will be the empty sequence
@param qname The name of the variable
@return an XPathVariable object representing information about the variable that has beendeclared.
-
org.rascalmpl.interpreter.env.Environment.declareVariable()
-
org.xmldb.api.modules.XQueryService.declareVariable()