org.xhtmlrenderer.layout
Class WhitespaceStripper
java.lang.Object
org.xhtmlrenderer.layout.WhitespaceStripper
public class WhitespaceStripper
- extends Object
- Author:
- Torbjoern Gannholm
|
Method Summary |
static void |
stripInlineContent(List inlineContent)
Strips whitespace early in inline content generation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SPACE
public static final String SPACE
- See Also:
- Constant Field Values
EOL
public static final String EOL
- See Also:
- Constant Field Values
EOLC
public static final char EOLC
- See Also:
- Constant Field Values
linefeed_space_collapse
public static final Pattern linefeed_space_collapse
linefeed_to_space
public static final Pattern linefeed_to_space
tab_to_space
public static final Pattern tab_to_space
space_collapse
public static final Pattern space_collapse
space_before_linefeed_collapse
public static final Pattern space_before_linefeed_collapse
WhitespaceStripper
public WhitespaceStripper()
stripInlineContent
public static void stripInlineContent(List inlineContent)
- Strips whitespace early in inline content generation. This can be done
because "whitespage" does not ally to :first-line and :first-letter. For
dynamic pseudo-classes we are allowed to choose which properties apply.
NOTE: The
inlineContent parameter may be modified
- Parameters:
c - inlineContent -
Copyright © 2013. All Rights Reserved.