IXPathVariableResolver.ResolveVariable(QName) Method

Definition

Find a variable in the set of available variables.

[Android.Runtime.Register("resolveVariable", "(Ljavax/xml/namespace/QName;)Ljava/lang/Object;", "GetResolveVariable_Ljavax_xml_namespace_QName_Handler:Javax.Xml.Xpath.IXPathVariableResolverInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Lang.Object? ResolveVariable (Javax.Xml.Namespace.QName? variableName);
[<Android.Runtime.Register("resolveVariable", "(Ljavax/xml/namespace/QName;)Ljava/lang/Object;", "GetResolveVariable_Ljavax_xml_namespace_QName_Handler:Javax.Xml.Xpath.IXPathVariableResolverInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member ResolveVariable : Javax.Xml.Namespace.QName -> Java.Lang.Object

Parameters

variableName
QName

The QName of the variable name.

Returns

The variables value, or null if no variable named variableName exists. The value returned must be of a type appropriate for the underlying object model.

Attributes

Exceptions

If variableName is null.

Remarks

Find a variable in the set of available variables.

If variableName is null, then a NullPointerException is thrown.

Java documentation for javax.xml.xpath.XPathVariableResolver.resolveVariable(javax.xml.namespace.QName).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to