net.sf.xslthl
Class StyledBlock
java.lang.Object
net.sf.xslthl.Block
net.sf.xslthl.StyledBlock
public class StyledBlock
- extends Block
A block with a style
Fields inherited from class net.sf.xslthl.Block |
text |
NO_STYLE
public static final String NO_STYLE
- Do not add a style, just "block" it
- See Also:
- Constant Field Values
HIDDEN_STYLE
public static final String HIDDEN_STYLE
- Remove this part from the result
- See Also:
- Constant Field Values
style
protected String style
- The style name
StyledBlock
public StyledBlock(String text,
String style)
toString
public String toString()
- Overrides:
toString
in class Block
getText
public String getText()
- Overrides:
getText
in class Block
- Returns:
- the text within this block
getStyle
public String getStyle()
- Returns:
- the style name
isStyled
public boolean isStyled()
- Overrides:
isStyled
in class Block
- Returns:
- true if this block contains style information
Copyright © 2005-2014. All Rights Reserved.