org.pentaho.reporting.libraries.xmlns.writer
Interface TagDescription

All Known Implementing Classes:
DefaultTagDescription

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
 boolean hasCData(java.lang.String namespace, java.lang.String tagname)
          Checks, whether the element specified by the tagname and namespace can contain CDATA.
 

Method Detail

hasCData

boolean hasCData(java.lang.String namespace,
                 java.lang.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