1 57 58 package com.sun.org.apache.xerces.internal.xni; 59 60 import java.util.Enumeration ; 61 62 76 public interface NamespaceContext { 77 78 82 86 public final static String XML_URI = "http://www.w3.org/XML/1998/namespace".intern(); 87 88 93 public final static String XMLNS_URI = "http://www.w3.org/2000/xmlns/".intern(); 94 95 99 110 public void pushContext(); 111 112 125 public void popContext(); 126 127 149 public boolean declarePrefix(String prefix, String uri); 150 151 152 164 public String getURI(String prefix); 165 166 182 public String getPrefix(String uri); 183 184 188 public int getDeclaredPrefixCount(); 189 190 193 public String getDeclaredPrefixAt(int index); 194 195 201 public Enumeration getAllPrefixes(); 202 203 212 public void reset(); 213 214 215 216 } | Popular Tags |