public class NamespaceCollection extends Object
| Constructor and Description |
|---|
NamespaceCollection()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
configure(org.pentaho.reporting.libraries.base.config.Configuration config,
String prefix)
Configures the namespace collection and adds all namespace definitions found in the configuration under the given
prefix to the collection.
|
String[] |
getDefinedUris()
Returns all known namespaces for which definitions exist in this collection.
|
String |
getPrefix(String uri)
Returns the prefered namespace prefix for the given namespace URI.
|
public void configure(org.pentaho.reporting.libraries.base.config.Configuration config,
String prefix)
config - the configuration from where to read the namespaces.prefix - the configuration prefix for filtering the configuration entries.public String getPrefix(String uri)
uri - the namespace for which a prefix should be looked up.public String[] getDefinedUris()