| java.lang.Object org.jfree.xml.writer.SafeTagList
SafeTagList | public class SafeTagList (Code) | | A container for information relating to the tags in the JFreeReport XML report files. Some tags
cannot be spread across multiple lines, because it causes problems for the parser.
author: Thomas Morgner. |
Constructor Summary | |
public | SafeTagList() Creates a new list. |
Method Summary | |
public void | add(String tag) Adds a tag with both the 'open' and 'close' flags set to true . | public void | add(String tag, boolean open, boolean closed) Adds a tag. | public boolean | isSafeForClose(String tag) Returns true if it is safe to start a new
line immediately after a close tag.
Parameters: tag - the tag name. | public boolean | isSafeForOpen(String tag) Returns true if it is safe to start a new line
immediately after an open tag.
Parameters: tag - the tag name. |
SafeTagList | public SafeTagList()(Code) | | Creates a new list.
|
add | public void add(String tag)(Code) | | Adds a tag with both the 'open' and 'close' flags set to true .
Parameters: tag - the tag name. |
add | public void add(String tag, boolean open, boolean closed)(Code) | | Adds a tag.
Parameters: tag - the tag name. Parameters: open - the 'open' flag. Parameters: closed - the 'close' flag. |
isSafeForClose | public boolean isSafeForClose(String tag)(Code) | | Returns true if it is safe to start a new
line immediately after a close tag.
Parameters: tag - the tag name. A boolean. |
isSafeForOpen | public boolean isSafeForOpen(String tag)(Code) | | Returns true if it is safe to start a new line
immediately after an open tag.
Parameters: tag - the tag name. A boolean. |
|
|