Class SafeTagList.SafeDescription

java.lang.Object
org.jfree.xml.writer.SafeTagList.SafeDescription
Enclosing class:
SafeTagList

private static class SafeTagList.SafeDescription extends Object
A tag description.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private boolean
    A flag indicating whether or not it is safe to put a new line before the close tag.
    private boolean
    A flag indicating whether or not it is safe to put a new line after the open tag.
  • Constructor Summary

    Constructors
    Constructor
    Description
    SafeDescription(boolean open, boolean close)
    Creates a new tag description.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns the 'close' flag.
    boolean
    Returns the 'open' flag.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • open

      private boolean open
      A flag indicating whether or not it is safe to put a new line after the open tag.
    • close

      private boolean close
      A flag indicating whether or not it is safe to put a new line before the close tag.
  • Constructor Details

    • SafeDescription

      public SafeDescription(boolean open, boolean close)
      Creates a new tag description.
      Parameters:
      open - the 'open' flag.
      close - the 'close' flag.
  • Method Details

    • isOpen

      public boolean isOpen()
      Returns the 'open' flag.
      Returns:
      true or false.
    • isClose

      public boolean isClose()
      Returns the 'close' flag.
      Returns:
      true or false.