|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.cyberneko.html.filters.NamespaceBinder.NamespaceSupport
public static class NamespaceBinder.NamespaceSupport
This namespace context object implements the old and new XNI
NamespaceContext
interface methods so that it can
be used across all versions of Xerces2.
Field Summary | |
---|---|
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. |
Fields inherited from interface org.apache.xerces.xni.NamespaceContext |
---|
XML_URI, XMLNS_URI |
Constructor Summary | |
---|---|
NamespaceBinder.NamespaceSupport()
Default constructor. |
Method Summary | |
---|---|
boolean |
declarePrefix(java.lang.String prefix,
java.lang.String uri)
Declare prefix. |
java.util.Enumeration |
getAllPrefixes()
Get all prefixes. |
java.lang.String |
getDeclaredPrefixAt(int index)
Get declared prefix at. |
int |
getDeclaredPrefixCount()
Get declared prefix count. |
org.apache.xerces.xni.NamespaceContext |
getParentContext()
Get parent context. |
java.lang.String |
getPrefix(java.lang.String uri)
Get prefix. |
java.lang.String |
getURI(java.lang.String prefix)
Get URI. |
void |
popContext()
Pop context. |
void |
pushContext()
Push context. |
void |
reset()
Reset. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int fTop
protected int[] fLevels
protected org.cyberneko.html.filters.NamespaceBinder.NamespaceSupport.Entry[] fEntries
Constructor Detail |
---|
public NamespaceBinder.NamespaceSupport()
Method Detail |
---|
public java.lang.String getURI(java.lang.String prefix)
getURI
in interface org.apache.xerces.xni.NamespaceContext
public int getDeclaredPrefixCount()
getDeclaredPrefixCount
in interface org.apache.xerces.xni.NamespaceContext
public java.lang.String getDeclaredPrefixAt(int index)
getDeclaredPrefixAt
in interface org.apache.xerces.xni.NamespaceContext
public org.apache.xerces.xni.NamespaceContext getParentContext()
public void reset()
reset
in interface org.apache.xerces.xni.NamespaceContext
public void pushContext()
pushContext
in interface org.apache.xerces.xni.NamespaceContext
public void popContext()
popContext
in interface org.apache.xerces.xni.NamespaceContext
public boolean declarePrefix(java.lang.String prefix, java.lang.String uri)
declarePrefix
in interface org.apache.xerces.xni.NamespaceContext
public java.lang.String getPrefix(java.lang.String uri)
getPrefix
in interface org.apache.xerces.xni.NamespaceContext
public java.util.Enumeration getAllPrefixes()
getAllPrefixes
in interface org.apache.xerces.xni.NamespaceContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |