| java.lang.Object org.apache.xerces.utils.NamespacesScope
All known Subclasses: org.apache.xerces.validators.schema.TraverseSchema, org.apache.xerces.validators.common.XMLValidator,
NamespacesScope | public class NamespacesScope (Code) | | NamespacesScope provides a data structure for mapping namespace prefixes
to their URI's. The mapping accurately reflects the scoping of namespaces
at a particular instant in time.
|
Inner Class :public interface NamespacesHandler | |
NamespacesScope | public NamespacesScope()(Code) | | |
NamespacesScope | public NamespacesScope(NamespacesHandler handler)(Code) | | |
NamespacesScope | public NamespacesScope(NamespacesHandler handler, int elemDepth, int[][] map)(Code) | | |
decreaseDepth | public void decreaseDepth() throws Exception(Code) | | Remove a namespace mappng
|
getNamespaceForPrefix | public int getNamespaceForPrefix(int prefix)(Code) | | retreive the namespace URI for a prefix
Parameters: prefix - the StringPool handle of the prefix |
increaseDepth | public void increaseDepth() throws Exception(Code) | | Add a new namespace mapping
|
setNamespaceForPrefix | public void setNamespaceForPrefix(int prefix, int namespace) throws Exception(Code) | | set the namespace URI for given prefix
Parameters: prefix - the StringPool handler of the prefix Parameters: namespace - the StringPool handle of the namespace URI |
|
|