public class SchemaNamespaceSupport extends NamespaceSupport
NamespaceSupport.Prefixes
fContext, fCurrentContext, fNamespace, fNamespaceSize, fPrefixes
Constructor and Description |
---|
SchemaNamespaceSupport(org.w3c.dom.Element schemaRoot,
SymbolTable symbolTable) |
SchemaNamespaceSupport(SchemaNamespaceSupport nSupport) |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getEffectiveLocalContext()
This method returns an array of Strings, as would be stored in
a NamespaceSupport object.
|
java.lang.String |
getURI(java.lang.String prefix)
Look up a prefix and get the currently-mapped Namespace URI.
|
void |
makeGlobal() |
void |
setEffectiveContext(java.lang.String[] namespaceDecls)
This method takes a set of Strings, as stored in a
NamespaceSupport object, and "fools" the object into thinking
that this is one unified context.
|
containsPrefix, declarePrefix, getAllPrefixes, getDeclaredPrefixAt, getDeclaredPrefixCount, getPrefix, popContext, pushContext, reset
public SchemaNamespaceSupport(org.w3c.dom.Element schemaRoot, SymbolTable symbolTable)
public SchemaNamespaceSupport(SchemaNamespaceSupport nSupport)
public void setEffectiveContext(java.lang.String[] namespaceDecls)
public java.lang.String[] getEffectiveLocalContext()
public void makeGlobal()
public java.lang.String getURI(java.lang.String prefix)
org.apache.xerces.xni.NamespaceContext
This method looks up the prefix in the current context. If no mapping is found, this methods will continue lookup in the parent context(s). Use the empty string ("") for the default Namespace.
getURI
in interface org.apache.xerces.xni.NamespaceContext
getURI
in class NamespaceSupport
prefix
- The prefix to look up.NamespaceContext.getURI(String)
Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.