public static class NamespaceBinder.NamespaceSupport
extends java.lang.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 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.
|
Constructor and Description |
---|
NamespaceSupport()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
protected int fTop
protected int[] fLevels
protected org.cyberneko.html.filters.NamespaceBinder.NamespaceSupport.Entry[] fEntries
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
(C) Copyright 2002-2014, Andy Clark, Marc Guillemot. All rights reserved.