public class StyledBlock
extends Block
A block with a style
-
Field Summary
Fields
Remove this part from the result
Do not add a style, just "block" it
-
Constructor Summary
Constructors
-
Method Summary
-
Field Details
-
NO_STYLE
public static final String NO_STYLE
Do not add a style, just "block" it
- See Also:
-
-
HIDDEN_STYLE
public static final String HIDDEN_STYLE
Remove this part from the result
- See Also:
-
-
-
Method Details
-
-
getText
- Overrides:
getText
in class Block
- Returns:
- the text within this block
-
getStyle
- Returns:
- the style name
-
isStyled
public boolean isStyled()
- Overrides:
isStyled
in class Block
- Returns:
- true if this block contains style information