public static class NamespaceBinder.NamespaceSupport extends Object implements NamespaceContext
NamespaceContext interface methods so that it can
be used across all versions of Xerces2.XML_URI, XMLNS_URI| Constructor and Description |
|---|
NamespaceSupport()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
declarePrefix(String prefix,
String uri)
Declare prefix.
|
String |
getDeclaredPrefixAt(int index)
Get declared prefix at.
|
int |
getDeclaredPrefixCount()
Get declared prefix count.
|
NamespaceContext |
getParentContext() |
String |
getURI(String prefix)
Get URI.
|
void |
popContext()
Pop context.
|
void |
pushContext()
Push context.
|
void |
reset()
Reset.
|
public String getURI(String prefix)
getURI in interface NamespaceContextprefix - The prefix to look up.public int getDeclaredPrefixCount()
getDeclaredPrefixCount in interface NamespaceContextpublic String getDeclaredPrefixAt(int index)
getDeclaredPrefixAt in interface NamespaceContextindex - the index pospublic NamespaceContext getParentContext()
public void reset()
reset in interface NamespaceContextpublic void pushContext()
pushContext in interface NamespaceContextNamespaceContext.popContext()public void popContext()
popContext in interface NamespaceContextNamespaceContext.pushContext()public boolean declarePrefix(String prefix, String uri)
declarePrefix in interface NamespaceContextprefix - The prefix to declare, or null for the empty string.uri - The Namespace URI to associate with the prefix.NamespaceContext.getURI(java.lang.String),
NamespaceContext.getDeclaredPrefixAt(int)Copyright © 2024 HtmlUnit. All rights reserved.