org.xhtmlrenderer.layout
Class WhitespaceStripper
java.lang.Object
org.xhtmlrenderer.layout.WhitespaceStripper
public class WhitespaceStripper
- extends java.lang.Object
- Author:
- Torbj�rn Gannholm
Method Summary |
static void |
stripInlineContent(java.util.List inlineContent)
Strips whitespace early in inline content generation. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SPACE
public static final java.lang.String SPACE
- See Also:
- Constant Field Values
EOL
public static final java.lang.String EOL
- See Also:
- Constant Field Values
EOLC
public static final char EOLC
- See Also:
- Constant Field Values
linefeed_space_collapse
public static final java.util.regex.Pattern linefeed_space_collapse
linefeed_to_space
public static final java.util.regex.Pattern linefeed_to_space
tab_to_space
public static final java.util.regex.Pattern tab_to_space
space_collapse
public static final java.util.regex.Pattern space_collapse
space_before_linefeed_collapse
public static final java.util.regex.Pattern space_before_linefeed_collapse
WhitespaceStripper
public WhitespaceStripper()
stripInlineContent
public static void stripInlineContent(java.util.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
-
Flying Saucer Project Home