public static class NamespaceBinder.NamespaceSupport extends Object implements NamespaceContext
NamespaceContext interface methods so that it can
be used across all versions of Xerces2.| Modifier and Type | Field and Description |
|---|---|
protected org.cyberneko.html.filters.NamespaceBinder.NamespaceSupport.Entry[] |
fEntries
The entries.
|
protected int[] |
fLevels
The levels of the entries.
|
protected int |
fTop
Top of the levels list.
|
XML_URI, XMLNS_URI| Constructor and Description |
|---|
NamespaceBinder.NamespaceSupport()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
declarePrefix(String prefix,
String uri)
Declare prefix.
|
Enumeration |
getAllPrefixes()
Get all prefixes.
|
String |
getDeclaredPrefixAt(int index)
Get declared prefix at.
|
int |
getDeclaredPrefixCount()
Get declared prefix count.
|
NamespaceContext |
getParentContext()
Get parent context.
|
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 org.cyberneko.html.filters.NamespaceBinder.NamespaceSupport.Entry[] fEntries
public NamespaceBinder.NamespaceSupport()
public String getURI(String prefix)
getURI in interface NamespaceContextpublic int getDeclaredPrefixCount()
getDeclaredPrefixCount in interface NamespaceContextpublic String getDeclaredPrefixAt(int index)
getDeclaredPrefixAt in interface NamespaceContextpublic NamespaceContext getParentContext()
public void reset()
reset in interface NamespaceContextpublic void pushContext()
pushContext in interface NamespaceContextpublic void popContext()
popContext in interface NamespaceContextpublic boolean declarePrefix(String prefix, String uri)
declarePrefix in interface NamespaceContextpublic String getPrefix(String uri)
getPrefix in interface NamespaceContextpublic Enumeration getAllPrefixes()
getAllPrefixes in interface NamespaceContext(C) Copyright 2002-2008, Andy Clark, Marc Guillemot. All rights reserved.