Package net.sf.xslthl

Class Block

  • Direct Known Subclasses:
    StyledBlock

    public class Block
    extends java.lang.Object
    A block of text
    • Constructor Detail

      • Block

        public Block​(java.lang.String text)
    • Method Detail

      • getText

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.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