public static class NamespaceBinder.NamespaceSupport
extends java.lang.Object
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 |
---|
NamespaceBinder.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.
|
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 NamespaceBinder.NamespaceSupport()
public java.lang.String getURI(java.lang.String prefix)
public int getDeclaredPrefixCount()
public java.lang.String getDeclaredPrefixAt(int index)
public NamespaceContext getParentContext()
public void reset()
public void pushContext()
public void popContext()
public boolean declarePrefix(java.lang.String prefix, java.lang.String uri)
public java.lang.String getPrefix(java.lang.String uri)
public java.util.Enumeration getAllPrefixes()
(C) Copyright 2002-2014, Andy Clark, Marc Guillemot. All rights reserved.