org.pentaho.reporting.libraries.xmlns.writer

Interface TagDescription

public interface TagDescription

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.

Author: Thomas Morgner

Method Summary
booleanhasCData(String namespace, String tagname)
Checks, whether the element specified by the tagname and namespace can contain CDATA.

Method Detail

hasCData

public boolean hasCData(String namespace, String tagname)
Checks, whether the element specified by the tagname and namespace can contain CDATA.

Parameters: namespace the namespace (as URI) tagname the tagname

Returns: true, if the element can contain CDATA, false otherwise