MCPcopy Create free account
hub / github.com/BaseXdb/basex / atomItem

Method atomItem

basex-core/src/main/java/org/basex/query/expr/Expr.java:118–120  ·  view source on GitHub ↗

Evaluates the expression and returns the resulting, atomized item, or Empty#VALUE if the expression yields an empty sequence. @param qc query context @param ii input info (can be null; required for those Value instances that have no input info) @return item or {@link Empty#

(final QueryContext qc, final InputInfo ii)

Source from the content-addressed store, hash-verified

116 * @throws QueryException query exception
117 */
118 public Item atomItem(final QueryContext qc, final InputInfo ii) throws QueryException {
119 return atomValue(qc, ii).item(qc, ii);
120 }
121
122 /**
123 * Evaluates the expression and returns the atomized items.

Callers 15

testMethod · 0.45
positionsMethod · 0.45
itemMethod · 0.45
itemMethod · 0.45
itemMethod · 0.45
testMethod · 0.45
optMethod · 0.45
exprMethod · 0.45
valueMethod · 0.45
toGregorianOrNullMethod · 0.45
toStrMethod · 0.45
toZeroStrMethod · 0.45

Calls 2

atomValueMethod · 0.95
itemMethod · 0.45

Tested by

no test coverage detected