Flying Saucer Project Release ${app.version}

org.xhtmlrenderer.layout
Class WhitespaceStripper

java.lang.Object
  extended by org.xhtmlrenderer.layout.WhitespaceStripper

public class WhitespaceStripper
extends java.lang.Object

Author:
Torbj�rn Gannholm

Field Summary
static java.lang.String EOL
           
static char EOLC
           
static java.util.regex.Pattern linefeed_space_collapse
           
static java.util.regex.Pattern linefeed_to_space
           
static java.lang.String SPACE
           
static java.util.regex.Pattern space_before_linefeed_collapse
           
static java.util.regex.Pattern space_collapse
           
static java.util.regex.Pattern tab_to_space
           
 
Constructor Summary
WhitespaceStripper()
           
 
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
 

Field Detail

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
Constructor Detail

WhitespaceStripper

public WhitespaceStripper()
Method Detail

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 Release ${app.version}

Flying Saucer Project Home