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 NamespaceContext
public int getDeclaredPrefixCount()
getDeclaredPrefixCount
in interface NamespaceContext
public String getDeclaredPrefixAt(int index)
getDeclaredPrefixAt
in interface NamespaceContext
public NamespaceContext getParentContext()
public void reset()
reset
in interface NamespaceContext
public void pushContext()
pushContext
in interface NamespaceContext
public void popContext()
popContext
in interface NamespaceContext
public boolean declarePrefix(String prefix, String uri)
declarePrefix
in interface NamespaceContext
public String getPrefix(String uri)
getPrefix
in interface NamespaceContext
public Enumeration getAllPrefixes()
getAllPrefixes
in interface NamespaceContext
(C) Copyright 2002-2008, Andy Clark, Marc Guillemot. All rights reserved.