org.pentaho.reporting.libraries.xmlns.writer
public class DefaultTagDescription extends Object implements TagDescription
Constructor Summary | |
---|---|
DefaultTagDescription()
A default-constructor. | |
DefaultTagDescription(Configuration conf, String prefix)
Creates and configures a new TagDescription collection.
|
Method Summary | |
---|---|
void | addDefaultDefinition(String namespaceUri, boolean hasCData)
Adds a configuration default for the given namespace to the tag-descriptions. |
void | addTagDefinition(String namespaceUri, String tagName, boolean hasCData)
Adds a configuration entry for the given namespace and tag-name to the tag-descriptions.
|
void | configure(Configuration conf, String prefix)
Configures this factory from the given configuration using the speoified
prefix as filter.
|
boolean | hasCData(String namespace, String tagname)
Queries the defined tag-descriptions whether the given tag and namespace
is defined to allow character-data.
|
Parameters: conf the configuration. prefix the key-prefix.
See Also: DefaultTagDescription
Parameters: namespaceUri the namespace URI for which a default should be configured. hasCData the default value.
Parameters: 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.
Parameters: conf the configuration. prefix the key-prefix.
UNKNOWN: ObjectAllocationInLoop as this is a factory configuration method.
Parameters: namespace the namespace. tagname the xml-tagname.
Returns: true, if the element may contain character data, false otherwise.