| |
|
| java.lang.Object org.apache.xerces.util.NamespaceSupport
All known Subclasses: org.apache.xerces.xinclude.MultipleScopeNamespaceSupport, org.apache.xerces.impl.xs.SchemaNamespaceSupport,
NamespaceSupport | public class NamespaceSupport implements NamespaceContext(Code) | | Namespace support for XML document handlers. This class doesn't
perform any error checking and assumes that all strings passed
as arguments to methods are unique symbols. The SymbolTable class
can be used for this purpose.
author: Andy Clark, IBM version: $Id: NamespaceSupport.java 447241 2006-09-18 05:12:57Z mrglavas $ |
Inner Class :final protected class Prefixes implements Enumeration | |
fContext | protected int[] fContext(Code) | | 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.
See Also: NamespaceSupport.fNamespaceSize |
fCurrentContext | protected int fCurrentContext(Code) | | The current context.
|
fNamespace | protected String[] fNamespace(Code) | | 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.
See Also: NamespaceSupport.fNamespaceSize See Also: NamespaceSupport.fContext |
fNamespaceSize | protected int fNamespaceSize(Code) | | The top of the namespace information array.
|
NamespaceSupport | public NamespaceSupport()(Code) | | Default constructor.
|
NamespaceSupport | public NamespaceSupport(NamespaceContext context)(Code) | | Constructs a namespace context object and initializes it with
the prefixes declared in the specified context.
|
containsPrefix | public boolean containsPrefix(String prefix)(Code) | | Checks whether a binding or unbinding for
the given prefix exists in the context.
Parameters: prefix - The prefix to look up. true if the given prefix exists in the context |
|
|
|