org.jfree.xml.writer
Class SafeTagList
java.lang.Objectorg.jfree.xml.writer.SafeTagList
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.
void | add(String tag)- Adds a tag with both the 'open' and 'close' flags set to
true.
|
void | add(String tag, boolean open, boolean closed)- Adds a tag.
|
boolean | isSafeForClose(String tag)- Returns
true if it is safe to start a new
line immediately after a close tag.
|
boolean | isSafeForOpen(String tag)- Returns
true if it is safe to start a new line
immediately after an open tag.
|
add
public void add(String tag)
Adds a tag with both the 'open' and 'close' flags set to true.
add
public void add(String tag,
boolean open,
boolean closed) Adds a tag.
tag - the tag name.open - the 'open' flag.closed - the 'close' flag.
isSafeForClose
public boolean isSafeForClose(String tag)
Returns true if it is safe to start a new
line immediately after a close tag.
isSafeForOpen
public boolean isSafeForOpen(String tag)
Returns true if it is safe to start a new line
immediately after an open tag.