public abstract class NamespaceContextImpl
extends java.lang.Object
implements javax.xml.namespace.NamespaceContext
Modifier and Type | Field and Description |
---|---|
protected java.util.ArrayList<com.caucho.xml.stream.NamespaceContextImpl.ElementBinding> |
_stack |
protected int |
_version |
static L10N |
L |
Modifier and Type | Method and Description |
---|---|
abstract void |
declare(java.lang.String prefix,
java.lang.String uri)
declares a new namespace prefix in the current context
|
int |
getDepth() |
javax.xml.namespace.QName |
getElementName() |
void |
pop()
deletes the current context and enters its parent
|
void |
push()
Creates a new subcontext and enters it
|
protected abstract void |
remove(java.lang.String prefix,
java.lang.String uri) |
void |
setElementName(javax.xml.namespace.QName name) |
public static final L10N L
protected final java.util.ArrayList<com.caucho.xml.stream.NamespaceContextImpl.ElementBinding> _stack
protected int _version
public int getDepth()
public void push()
public void pop() throws XMLStreamException
XMLStreamException
public void setElementName(javax.xml.namespace.QName name)
public javax.xml.namespace.QName getElementName()
public abstract void declare(java.lang.String prefix, java.lang.String uri)
protected abstract void remove(java.lang.String prefix, java.lang.String uri)