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

    Modifier and Type
    Method
    Description
    boolean
    hasCData(String namespace, String tagname)
    Checks, whether the element specified by the tagname and namespace can contain CDATA.
  • Method Details

    • hasCData

      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