org.apache.xml.serializer.dom3
Class NamespaceSupport
java.lang.Object
org.apache.xml.serializer.dom3.NamespaceSupport
public class NamespaceSupport
extends java.lang.Object
Namespace support for XML document handlers. This class doesn't
perform any error checking and assumes that all strings passed
as arguments to methods are unique symbols. The SymbolTable class
can be used for this purpose.
Derived from org.apache.xerces.util.NamespaceSupport
static String | XMLNS_URI - XML Information Set REC
all namespace attributes (including those named xmlns,
whose [prefix] property has no value) have a namespace URI of http://www.w3.org/2000/xmlns/
|
static String | XML_URI - The XML Namespace ("http://www.w3.org/XML/1998/namespace").
|
XMLNS_URI
public static final String XMLNS_URI
XML Information Set REC
all namespace attributes (including those named xmlns,
whose [prefix] property has no value) have a namespace URI of http://www.w3.org/2000/xmlns/
XML_URI
public static final String XML_URI
The XML Namespace ("http://www.w3.org/XML/1998/namespace"). This is
the Namespace URI that is automatically mapped to the "xml" prefix.
NamespaceSupport
public NamespaceSupport()
Default constructor.
declarePrefix
public boolean declarePrefix(String prefix,
String uri)
org.apache.xerces.xni.NamespaceContext.declarePrefix(String, String)
getAllPrefixes
public Enumeration getAllPrefixes()
org.apache.xerces.xni.NamespaceContext.getAllPrefixes()
getDeclaredPrefixAt
public String getDeclaredPrefixAt(int index)
org.apache.xerces.xni.NamespaceContext.getDeclaredPrefixAt(int)
getDeclaredPrefixCount
public int getDeclaredPrefixCount()
org.apache.xerces.xni.NamespaceContext.getDeclaredPrefixCount()
getPrefix
public String getPrefix(String uri)
org.apache.xerces.xni.NamespaceContext.getPrefix(String)
getURI
public String getURI(String prefix)
org.apache.xerces.xni.NamespaceContext.getURI(String)
popContext
public void popContext()
org.apache.xerces.xni.NamespaceContext.popContext()
pushContext
public void pushContext()
org.apache.xerces.xni.NamespaceContext.pushContext()
reset
public void reset()
org.apache.xerces.xni.NamespaceContext.reset()
Copyright © 2006 Apache XML Project. All Rights Reserved.