Пример #1
0
 /**
  * Get the current namespace context for the xpath.
  *
  * @param pr the prefix resolver to be used for resolving prefixes to namespace URLs.
  */
 public final void setNamespaceContext(PrefixResolver pr) {
   m_prefixResolvers.setTop(pr);
 }
Пример #2
0
 /**
  * Set the current locater in the stylesheet.
  *
  * @param location The location within the stylesheet.
  */
 public void setSAXLocator(SourceLocator location) {
   m_saxLocations.setTop(location);
 }