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

Method value

basex-core/src/main/java/org/basex/core/parse/XMLParser.java:183–185  ·  view source on GitHub ↗

Returns the value of the specified attribute. @param root root node @param att name of attribute @return value @throws QueryException query exception

(final Item root, final String att)

Source from the content-addressed store, hash-verified

181 * @throws QueryException query exception
182 */
183 private String value(final Item root, final String att) throws QueryException {
184 return string("@" + att, root);
185 }
186
187 /**
188 * Returns a string value (text node).

Callers 10

commandMethod · 0.95
evalMethod · 0.45
checkMethod · 0.45
UserMethod · 0.45
runMethod · 0.45
parseMethod · 0.45
xmlMethod · 0.45
stringMethod · 0.45
checkMethod · 0.45
infoMethod · 0.45

Calls 1

stringMethod · 0.95

Tested by

no test coverage detected