Team LiB
Previous Section Next Section

NamespaceSupportorg.xml.sax.helpers

Java 1.4

This utility class exists to help SAX parser implementors handle XML namespaces. It is not commonly used by SAX applications.

public class NamespaceSupport {
// Public Constructors
     public NamespaceSupport( );  
// Public Constants
5.0  public static final String NSDECL;  ="http://www.w3.org/xmlns/2000/" 
     public static final String XMLNS;                   ="http://www.w3.org/XML/1998/namespace" 
// Public Instance Methods
     public boolean declarePrefix(String prefix, String uri);  
     public java.util.Enumeration getDeclaredPrefixes( );  
     public String getPrefix(String uri);  
     public java.util.Enumeration getPrefixes( );  
     public java.util.Enumeration getPrefixes(String uri);  
     public String getURI(String prefix);  
5.0  public boolean isNamespaceDeclUris( );                           default:false
     public void popContext( );  
     public String[ ] processName(String qName, String[ ] parts, boolean isAttribute);  
     public void pushContext( );  
     public void reset( );  
5.0  public void setNamespaceDeclUris(boolean value);  
}

    Team LiB
    Previous Section Next Section