public static class NamespaceBinder.NamespaceSupport extends Object implements org.apache.xerces.xni.NamespaceContext
NamespaceContext interface methods so that it can
be used across all versions of Xerces2.| Modifier and Type | Field and Description |
|---|---|
protected net.sourceforge.htmlunit.cyberneko.filters.NamespaceBinder.NamespaceSupport.Entry[] |
fEntries
The entries.
|
protected int[] |
fLevels
The levels of the entries.
|
protected int |
fTop
Top of the levels list.
|
| Constructor and Description |
|---|
NamespaceSupport()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
declarePrefix(String prefix,
String uri)
Declare prefix.
|
Enumeration<String> |
getAllPrefixes()
Get all prefixes.
|
String |
getDeclaredPrefixAt(int index)
Get declared prefix at.
|
int |
getDeclaredPrefixCount()
Get declared prefix count.
|
org.apache.xerces.xni.NamespaceContext |
getParentContext() |
String |
getPrefix(String uri)
Get prefix.
|
String |
getURI(String prefix)
Get URI.
|
void |
popContext()
Pop context.
|
void |
pushContext()
Push context.
|
void |
reset()
Reset.
|
protected int fTop
protected int[] fLevels
protected net.sourceforge.htmlunit.cyberneko.filters.NamespaceBinder.NamespaceSupport.Entry[] fEntries
public String getURI(String prefix)
getURI in interface org.apache.xerces.xni.NamespaceContextpublic int getDeclaredPrefixCount()
getDeclaredPrefixCount in interface org.apache.xerces.xni.NamespaceContextpublic String getDeclaredPrefixAt(int index)
getDeclaredPrefixAt in interface org.apache.xerces.xni.NamespaceContextpublic org.apache.xerces.xni.NamespaceContext getParentContext()
public void reset()
reset in interface org.apache.xerces.xni.NamespaceContextpublic void pushContext()
pushContext in interface org.apache.xerces.xni.NamespaceContextpublic void popContext()
popContext in interface org.apache.xerces.xni.NamespaceContextpublic boolean declarePrefix(String prefix, String uri)
declarePrefix in interface org.apache.xerces.xni.NamespaceContextpublic String getPrefix(String uri)
getPrefix in interface org.apache.xerces.xni.NamespaceContextpublic Enumeration<String> getAllPrefixes()
getAllPrefixes in interface org.apache.xerces.xni.NamespaceContextCopyright © 2021 Gargoyle Software Inc.. All rights reserved.