|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jfree.xml.writer.SafeTagList
public class 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.
Constructor Summary | |
---|---|
SafeTagList()
Creates a new list. |
Method Summary | |
---|---|
void |
add(java.lang.String tag)
Adds a tag with both the 'open' and 'close' flags set to true . |
void |
add(java.lang.String tag,
boolean open,
boolean closed)
Adds a tag. |
boolean |
isSafeForClose(java.lang.String tag)
Returns true if it is safe to start a new
line immediately after a close tag. |
boolean |
isSafeForOpen(java.lang.String tag)
Returns true if it is safe to start a new line
immediately after an open tag. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SafeTagList()
Method Detail |
---|
public void add(java.lang.String tag)
true
.
tag
- the tag name.public void add(java.lang.String tag, boolean open, boolean closed)
tag
- the tag name.open
- the 'open' flag.closed
- the 'close' flag.public boolean isSafeForOpen(java.lang.String tag)
true
if it is safe to start a new line
immediately after an open tag.
tag
- the tag name.
public boolean isSafeForClose(java.lang.String tag)
true
if it is safe to start a new
line immediately after a close tag.
tag
- the tag name.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |