org.apache.xml.serializer.dom3
public class NamespaceSupport extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
XML_URI
The XML Namespace ("http://www.w3.org/XML/1998/namespace").
|
static java.lang.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/
|
Constructor and Description |
---|
NamespaceSupport()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
declarePrefix(java.lang.String prefix,
java.lang.String uri) |
java.util.Enumeration |
getAllPrefixes() |
java.lang.String |
getDeclaredPrefixAt(int index) |
int |
getDeclaredPrefixCount() |
java.lang.String |
getPrefix(java.lang.String uri) |
java.lang.String |
getURI(java.lang.String prefix) |
void |
popContext() |
void |
pushContext() |
void |
reset() |
public static final java.lang.String XML_URI
public static final java.lang.String XMLNS_URI
public void reset()
org.apache.xerces.xni.NamespaceContext#reset()
public void pushContext()
org.apache.xerces.xni.NamespaceContext#pushContext()
public void popContext()
org.apache.xerces.xni.NamespaceContext#popContext()
public boolean declarePrefix(java.lang.String prefix, java.lang.String uri)
org.apache.xerces.xni.NamespaceContext#declarePrefix(String, String)
public java.lang.String getURI(java.lang.String prefix)
org.apache.xerces.xni.NamespaceContext#getURI(String)
public java.lang.String getPrefix(java.lang.String uri)
org.apache.xerces.xni.NamespaceContext#getPrefix(String)
public int getDeclaredPrefixCount()
org.apache.xerces.xni.NamespaceContext#getDeclaredPrefixCount()
public java.lang.String getDeclaredPrefixAt(int index)
org.apache.xerces.xni.NamespaceContext#getDeclaredPrefixAt(int)
public java.util.Enumeration getAllPrefixes()
org.apache.xerces.xni.NamespaceContext#getAllPrefixes()
Copyright ? 2006 Apache XML Project. All Rights Reserved.