org.jfree.xml.writer
public class SafeTagList extends Object
| Constructor Summary | |
|---|---|
| SafeTagList()
Creates a new list. | |
| Method Summary | |
|---|---|
| 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.
|
true.
Parameters: tag the tag name.
Parameters: tag the tag name. open the 'open' flag. closed the 'close' flag.
true if it is safe to start a new
line immediately after a close tag.
Parameters: tag the tag name.
Returns: A boolean.
true if it is safe to start a new line
immediately after an open tag.
Parameters: tag the tag name.
Returns: A boolean.