Lines Matching refs:prefix
48 * the Namespace URI that is automatically mapped to the "xml" prefix.
55 * whose [prefix] property has no value) have a namespace URI of http://www.w3.org/2000/xmlns/
66 * <prefix, uri>. The default size can be set to anything
117 // bind "xml" prefix to the XML uri
120 // bind "xmlns" prefix to the XMLNS uri
156 public boolean declarePrefix(String prefix, String uri) {
158 if (prefix == PREFIX_XML || prefix == PREFIX_XMLNS) {
162 // see if prefix already exists in current context
164 //if (fNamespace[i - 2] == prefix) {
165 if (fNamespace[i - 2].equals(prefix) ) {
184 // bind prefix to uri in current context
185 fNamespace[fNamespaceSize++] = prefix;
195 public String getURI(String prefix) {
197 // find prefix in current context
199 //if (fNamespace[i - 2] == prefix) {
200 if (fNamespace[i - 2].equals(prefix) ) {
205 // prefix not found
252 // resize prefix array
256 String prefix = null;
259 prefix = fNamespace[i + 2];
261 if (fPrefixes[k]==prefix){
267 fPrefixes[count++] = prefix;