MCPcopy Create free account
hub / github.com/apache/tomcat / getURI

Method getURI

java/org/apache/jasper/compiler/PageInfo.java:494–506  ·  view source on GitHub ↗

Returns the URI to which the given prefix maps. @param prefix The prefix whose URI is sought @return The URI to which the given prefix maps

(String prefix)

Source from the content-addressed store, hash-verified

492 * @return The URI to which the given prefix maps
493 */
494 public String getURI(String prefix) {
495
496 String uri;
497
498 Deque<String> stack = xmlPrefixMapper.get(prefix);
499 if (stack == null || stack.isEmpty()) {
500 uri = jspPrefixMapper.get(prefix);
501 } else {
502 uri = stack.getFirst();
503 }
504
505 return uri;
506 }
507
508
509 /* Page/Tag directive attributes */

Callers

nothing calls this directly

Calls 3

getMethod · 0.65
getFirstMethod · 0.65
isEmptyMethod · 0.45

Tested by

no test coverage detected