net.sf.xslthl
Class Block
java.lang.Object
net.sf.xslthl.Block
- Direct Known Subclasses:
- StyledBlock
public class Block
- extends java.lang.Object
A block of text
Field Summary |
protected java.lang.String |
text
The content of this block |
Constructor Summary |
Block(java.lang.String text)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
text
protected java.lang.String text
- The content of this block
Block
public Block(java.lang.String text)
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