XdmValue function ( ) { ValueRepresentation loc1 ; try { loc1 = SequenceExtent . makeSequenceExtent ( exp . iterate ( dynamicContext ) ) ; } catch ( XPathException loc0 ) { throw new SaxonApiException ( loc0 ) ; } return XdmValue . wrap ( loc1 ) ; }
evaluate the expression , returning the result as an xdmvalue that is , a sequence of nodes and/or atomic values . note : although a singleton result may be represented as an xdmitem , there is no guarantee that this will always be the case . if you know that the expression will return at most one node or atomic value , it is best to use the evaluatesingle method , which does guarantee that an xdmitem or null will be returned . concode_field_sep XPathDynamicContext dynamicContext concode_elem_sep List<XPathVariable> declaredVariables concode_elem_sep XPathExpression exp concode_field_sep Iterator<XdmItem> iterator concode_elem_sep XdmItem getContextItem concode_elem_sep void setContextItem concode_elem_sep boolean effectiveBooleanValue concode_elem_sep void setVariable concode_elem_sep XdmItem evaluateSingle