1 16 17 package org.apache.xerces.xni; 18 19 import java.util.Enumeration ; 20 21 35 public interface NamespaceContext { 36 37 41 45 public final static String XML_URI = "http://www.w3.org/XML/1998/namespace".intern(); 46 47 52 public final static String XMLNS_URI = "http://www.w3.org/2000/xmlns/".intern(); 53 54 58 69 public void pushContext(); 70 71 84 public void popContext(); 85 86 108 public boolean declarePrefix(String prefix, String uri); 109 110 111 123 public String getURI(String prefix); 124 125 141 public String getPrefix(String uri); 142 143 147 public int getDeclaredPrefixCount(); 148 149 152 public String getDeclaredPrefixAt(int index); 153 154 160 public Enumeration getAllPrefixes(); 161 162 171 public void reset(); 172 173 174 175 } | Popular Tags |