|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.libraries.xmlns.writer.NamespaceCollection
public class NamespaceCollection
Holds a set of namespace definitions that have been declared in a libbase-configuration.
Constructor Summary | |
---|---|
NamespaceCollection()
Default constructor. |
Method Summary | |
---|---|
void |
configure(org.pentaho.reporting.libraries.base.config.Configuration config,
java.lang.String prefix)
Configures the namespace collection and adds all namespace definitions found in the configuration under the given prefix to the collection. |
java.lang.String[] |
getDefinedUris()
Returns all known namespaces for which definitions exist in this collection. |
java.lang.String |
getPrefix(java.lang.String uri)
Returns the prefered namespace prefix for the given namespace URI. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NamespaceCollection()
Method Detail |
---|
public void configure(org.pentaho.reporting.libraries.base.config.Configuration config, java.lang.String prefix)
config
- the configuration from where to read the namespaces.prefix
- the configuration prefix for filtering the configuration entries.public java.lang.String getPrefix(java.lang.String uri)
uri
- the namespace for which a prefix should be looked up.
public java.lang.String[] getDefinedUris()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |