public class NamespaceContextImpl
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.String |
declare(java.lang.String uri)
declares a new namespace prefix in the current context; the
auto-allocated prefix is returned
|
void |
declare(java.lang.String prefix,
java.lang.String uri)
declares a new namespace prefix in the current context
|
int |
getDepth() |
java.lang.String |
getNamespaceURI(java.lang.String prefix) |
int |
getNumDecls() |
java.lang.String |
getPrefix(int i) |
java.util.Iterator |
getPrefixes(java.lang.String uri) |
java.lang.String |
getUri(int i) |
java.lang.String |
getUri(java.lang.String prefix)
looks up the prefix, returns the uri it corresponds to
|
void |
pop(com.caucho.xml2.SaxIntern.Entry entry)
deletes the current context and enters its parent
|
void |
push(com.caucho.xml2.SaxIntern.Entry entry)
Creates a new subcontext and enters it
|
public void push(com.caucho.xml2.SaxIntern.Entry entry)
public void pop(com.caucho.xml2.SaxIntern.Entry entry)
public int getDepth()
public void declare(java.lang.String prefix, java.lang.String uri)
public java.lang.String declare(java.lang.String uri)
public java.lang.String getUri(java.lang.String prefix)
public java.lang.String getNamespaceURI(java.lang.String prefix)
public java.util.Iterator getPrefixes(java.lang.String uri)
public java.lang.String getUri(int i)
public java.lang.String getPrefix(int i)
public int getNumDecls()