Package net.sf.xslthl

Class Block

java.lang.Object
net.sf.xslthl.Block
Direct Known Subclasses:
StyledBlock

public class Block extends Object
A block of text
  • Constructor Details

    • Block

      public Block(String text)
  • Method Details

    • getText

      public String getText()
      Returns:
      the text within this block
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isStyled

      public boolean isStyled()
      Returns:
      true if this block contains style information
    • empty

      @Deprecated public boolean empty()
      Deprecated.
      Use isEmpty() instead
      Returns:
      true if this block as no content
    • isEmpty

      public boolean isEmpty()
      Returns:
      true if this block as no content