net.sf.xslthl
Class Block

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

public class Block
extends Object

A block of text


Field Summary
protected  String text
          The content of this block
 
Constructor Summary
Block(String text)
           
 
Method Summary
 boolean empty()
          Deprecated. Use isEmpty() instead
 String getText()
           
 boolean isEmpty()
           
 boolean isStyled()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

text

protected String text
The content of this block

Constructor Detail

Block

public Block(String text)
Method Detail

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


Copyright © 2005-2014. All Rights Reserved.