Package net.sf.xslthl
Class Block
- java.lang.Object
-
- net.sf.xslthl.Block
-
- Direct Known Subclasses:
StyledBlock
public class Block extends java.lang.ObjectA 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 booleanempty()Deprecated.UseisEmpty()insteadjava.lang.StringgetText()booleanisEmpty()booleanisStyled()java.lang.StringtoString()
-
-
-
Method Detail
-
getText
public java.lang.String getText()
- Returns:
- the text within this block
-
toString
public java.lang.String toString()
- Overrides:
toStringin 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
-
-