org.jbind.xml.base
Class WhiteSpaceProcessing

java.lang.Object
  extended byorg.jbind.xml.base.WhiteSpaceProcessing

public class WhiteSpaceProcessing
extends java.lang.Object


Field Summary
static WhiteSpaceProcessing COLLAPSE
          The third level.
static WhiteSpaceProcessing NONE
           
static WhiteSpaceProcessing PRESERVE
          The first level.
static WhiteSpaceProcessing REPLACE
          The second level.
 
Method Summary
 boolean check(java.lang.String aString)
          Checks if a string satisfies the white space processing.
 boolean isAfter(WhiteSpaceProcessing aWSP)
          Checks if this white space processing is after the specified white space processing.
 boolean isBefore(WhiteSpaceProcessing aWSP)
          Checks if this white space processing is before the specified white space processing.
 java.lang.String process(java.lang.String aString)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static WhiteSpaceProcessing NONE

PRESERVE

public static WhiteSpaceProcessing PRESERVE
The first level.


REPLACE

public static WhiteSpaceProcessing REPLACE
The second level.


COLLAPSE

public static WhiteSpaceProcessing COLLAPSE
The third level.

Method Detail

isAfter

public boolean isAfter(WhiteSpaceProcessing aWSP)
Checks if this white space processing is after the specified white space processing.

Parameters:
aWSP - (required).

isBefore

public boolean isBefore(WhiteSpaceProcessing aWSP)
Checks if this white space processing is before the specified white space processing.

Parameters:
aWSP - (required).

process

public java.lang.String process(java.lang.String aString)

check

public boolean check(java.lang.String aString)
Checks if a string satisfies the white space processing.

Parameters:
aString - (required).
Returns:
Returns true iff the string satisfies the white space processing.

toString

public java.lang.String toString()