Interface TagDescription
-
- All Known Implementing Classes:
DefaultTagDescription
public interface TagDescriptionA 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanhasCData(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
-
-