| Modifier and Type | Class and Description |
|---|---|
| protected class |
| Modifier and Type | Field and Description |
|---|---|
| protected int[] | fContext
Context indexes. |
| protected int | fCurrentContext
The current context. |
| protected String[] | fNamespace
Namespace binding information. |
| protected int | fNamespaceSize
The top of the namespace information array. |
| protected String[] | |
| pack-priv static final String | |
| pack-priv static final String | |
| public static final String | XML_URI
The XML Namespace ("http://www.w3.org/XML/1998/namespace"). |
| public static final String | XMLNS_URI
XML Information Set REC all namespace attributes (including those named xmlns, whose [prefix] property has no value) have a namespace URI of http://www.w3.org/2000/xmlns/ |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public Enumeration | |
| public String | |
| public int | |
| public String | |
| public String | |
| public void | |
| public void | |
| public void |
| fContext | back to summary |
|---|---|
| protected int[] fContext Context indexes. This array contains indexes into the namespace information array. The index at the current context is the start index of declared namespace bindings and runs to the size of the namespace information array.
| |
| fCurrentContext | back to summary |
|---|---|
| protected int fCurrentContext The current context. | |
| fNamespace | back to summary |
|---|---|
| protected String[] fNamespace Namespace binding information. This array is composed of a series of tuples containing the namespace binding information: <prefix, uri>. The default size can be set to anything as long as it is a power of 2 greater than 1.
| |
| fNamespaceSize | back to summary |
|---|---|
| protected int fNamespaceSize The top of the namespace information array. | |
| fPrefixes | back to summary |
|---|---|
| protected String[] fPrefixes | |
| PREFIX_XML | back to summary |
|---|---|
| pack-priv static final String PREFIX_XML | |
| PREFIX_XMLNS | back to summary |
|---|---|
| pack-priv static final String PREFIX_XMLNS | |
| XML_URI | back to summary |
|---|---|
| public static final String XML_URI The XML Namespace ("http://www.w3.org/XML/1998/namespace"). This is the Namespace URI that is automatically mapped to the "xml" prefix. | |
| XMLNS_URI | back to summary |
|---|---|
| public static final String XMLNS_URI XML Information Set REC all namespace attributes (including those named xmlns, whose [prefix] property has no value) have a namespace URI of http://www.w3.org/2000/xmlns/ | |
| NamespaceSupport | back to summary |
|---|---|
| public NamespaceSupport() Default constructor. | |
| declarePrefix | back to summary |
|---|---|
| public boolean declarePrefix(String prefix, String uri) | |
| getAllPrefixes | back to summary |
|---|---|
| public Enumeration | |
| getDeclaredPrefixAt | back to summary |
|---|---|
| public String getDeclaredPrefixAt(int index) | |
| getDeclaredPrefixCount | back to summary |
|---|---|
| public int getDeclaredPrefixCount() | |
| getPrefix | back to summary |
|---|---|
| public String getPrefix(String uri) | |
| getURI | back to summary |
|---|---|
| public String getURI(String prefix) | |
| popContext | back to summary |
|---|---|
| public void popContext() | |
| pushContext | back to summary |
|---|---|
| public void pushContext() | |
| reset | back to summary |
|---|---|
| public void reset() | |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private String[] | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | hasMoreElements()
Implements java. Tests if this enumeration contains more elements. |
| public String | nextElement()
Implements java. Returns the next element of this enumeration if this enumeration object has at least one more element to provide. |
| public String |
| counter | back to summary |
|---|---|
| private int counter | |
| prefixes | back to summary |
|---|---|
| private String[] prefixes | |
| size | back to summary |
|---|---|
| private int size | |
| Prefixes | back to summary |
|---|---|
| public Prefixes(String[] prefixes, int size) Constructor for Prefixes. | |
| hasMoreElements | back to summary |
|---|---|
| public boolean hasMoreElements() Implements java. Doc from java. Tests if this enumeration contains more elements. | |
| nextElement | back to summary |
|---|---|
| public String nextElement() Implements java. Doc from java. Returns the next element of this enumeration if this enumeration object has at least one more element to provide.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |