public class DefaultTagDescription extends java.lang.Object implements TagDescription
Constructor and Description |
---|
DefaultTagDescription()
A default-constructor.
|
DefaultTagDescription(org.pentaho.reporting.libraries.base.config.Configuration conf,
java.lang.String prefix)
Creates and configures a new TagDescription collection.
|
Modifier and Type | Method and Description |
---|---|
void |
addDefaultDefinition(java.lang.String namespaceUri,
boolean hasCData)
Adds a configuration default for the given namespace to the tag-descriptions.
|
void |
addTagDefinition(java.lang.String namespaceUri,
java.lang.String tagName,
boolean hasCData)
Adds a configuration entry for the given namespace and tag-name to the tag-descriptions.
|
void |
configure(org.pentaho.reporting.libraries.base.config.Configuration conf,
java.lang.String prefix)
Configures this factory from the given configuration using the speoified
prefix as filter.
|
boolean |
hasCData(java.lang.String namespace,
java.lang.String tagname)
Queries the defined tag-descriptions whether the given tag and namespace
is defined to allow character-data.
|
public DefaultTagDescription()
public DefaultTagDescription(org.pentaho.reporting.libraries.base.config.Configuration conf, java.lang.String prefix)
conf
- the configuration.prefix
- the key-prefix.configure(Configuration, String)
public void configure(org.pentaho.reporting.libraries.base.config.Configuration conf, java.lang.String prefix)
conf
- the configuration.prefix
- the key-prefix.public void addDefaultDefinition(java.lang.String namespaceUri, boolean hasCData)
namespaceUri
- the namespace URI for which a default should be configured.hasCData
- the default value.public void addTagDefinition(java.lang.String namespaceUri, java.lang.String tagName, boolean hasCData)
namespaceUri
- the namespace URI for which a default should be configured.tagName
- the tagname for which the entry should be added.hasCData
- the default value.public boolean hasCData(java.lang.String namespace, java.lang.String tagname)
hasCData
in interface TagDescription
namespace
- the namespace.tagname
- the xml-tagname.