Package net.sf.xslthl

Class StyledBlock

java.lang.Object
net.sf.xslthl.Block
net.sf.xslthl.StyledBlock

public class StyledBlock extends Block
A block with a style
  • Field Details

  • Constructor Details

    • StyledBlock

      public StyledBlock(String text, String style)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Block
    • getText

      public String getText()
      Overrides:
      getText in class Block
      Returns:
      the text within this block
    • getStyle

      public String getStyle()
      Returns:
      the style name
    • isStyled

      public boolean isStyled()
      Overrides:
      isStyled in class Block
      Returns:
      true if this block contains style information