|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.reporting.libraries.xmlns.writer.DefaultTagDescription
public class DefaultTagDescription
A tag-description provides information about xml tags. At the moment, we simply care whether an element can contain CDATA. In such cases, we do not indent the inner elements.
| Constructor Summary | |
|---|---|
DefaultTagDescription()
A default-constructor. |
|
DefaultTagDescription(org.pentaho.reporting.libraries.base.config.Configuration conf,
java.lang.String prefix)
Creates and configures a new TagDescription collection. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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)| Method Detail |
|---|
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 TagDescriptionnamespace - the namespace.tagname - the xml-tagname.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||