Package 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
-
-
Constructor Summary
Constructors Constructor Description Block(java.lang.String text)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
empty()
Deprecated.UseisEmpty()
insteadjava.lang.String
getText()
boolean
isEmpty()
boolean
isStyled()
java.lang.String
toString()
-
-
-
Method Detail
-
getText
public java.lang.String getText()
- Returns:
- the text within this block
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
isStyled
public boolean isStyled()
- Returns:
- true if this block contains style information
-
empty
@Deprecated public boolean empty()
Deprecated.UseisEmpty()
instead- Returns:
- true if this block as no content
-
isEmpty
public boolean isEmpty()
- Returns:
- true if this block as no content
-
-