Home | History | Annotate | Download | only in utils

Lines Matching refs:prefix

28  * can be used to perform prefix-to-namespace lookup
36 * The context to resolve the prefix from, if the context
54 * Given a namespace, get the corrisponding prefix. This assumes that
57 * @param prefix Prefix to resolve.
58 * @return Namespace that prefix resolves to, or null if prefix
61 public String getNamespaceForPrefix(String prefix)
63 return getNamespaceForPrefix(prefix, m_context);
67 * Given a namespace, get the corrisponding prefix.
70 * @param prefix Prefix to resolve.
72 * xmlns attribute that binds a prefix to a namespace.
73 * @return Namespace that prefix resolves to, or null if prefix
76 public String getNamespaceForPrefix(String prefix,
83 if (prefix.equals("xml"))
97 if (parent.getNodeName().indexOf(prefix+":") == 0)
112 if (p.equals(prefix))