Package org.apache.xmlbeans.impl.common
Class XmlWhitespace
java.lang.Object
org.apache.xmlbeans.impl.common.XmlWhitespace
public class XmlWhitespace extends Object
-
Field Summary
Fields Modifier and Type Field Description static intWS_COLLAPSEstatic intWS_PRESERVEstatic intWS_REPLACEstatic intWS_UNSPECIFIED -
Constructor Summary
Constructors Constructor Description XmlWhitespace() -
Method Summary
Modifier and Type Method Description static Stringcollapse(String v)static Stringcollapse(String v, int wsr)The algorithm used by apply_wscanon: sometimes used in impls.static booleanisAllSpace(CharSequence v)static booleanisAllSpace(String v)static booleanisSpace(char ch)
-
Field Details
-
WS_UNSPECIFIED
public static final int WS_UNSPECIFIED- See Also:
- Constant Field Values
-
WS_PRESERVE
public static final int WS_PRESERVE- See Also:
- Constant Field Values
-
WS_REPLACE
public static final int WS_REPLACE- See Also:
- Constant Field Values
-
WS_COLLAPSE
public static final int WS_COLLAPSE- See Also:
- Constant Field Values
-
-
Constructor Details
-
XmlWhitespace
public XmlWhitespace()
-
-
Method Details
-
isSpace
public static boolean isSpace(char ch) -
isAllSpace
-
isAllSpace
-
collapse
-
collapse
The algorithm used by apply_wscanon: sometimes used in impls.
-