Package gnu.xquery.util
Class StringUtils
java.lang.Object
gnu.xquery.util.StringUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic doublestatic ObjectcodepointEqual(Object arg1, Object arg2) static StringcodepointsToString(Object arg) static Objectcompare(Object val1, Object val2, NamedCollator coll) This implements the XQueryfn:comparefunction.static Stringstatic Objectstatic StringencodeForUri(Object arg) static Objectstatic StringescapeHtmlUri(Object arg) static Stringstatic Objectstatic PatternmakePattern(String pattern, String flags) static booleanstatic booleanstatic StringnormalizeSpace(Object arg) static ObjectnormalizeUnicode(Object arg) static ObjectnormalizeUnicode(Object arg, String form) static Stringstatic Stringstatic ObjectstartsWith(Object str, Object with) static ObjectstringJoin(Object strseq, Object join) static ObjectstringLength(Object str) static Objectstatic voidstringToCodepoints$X(Object arg, CallContext ctx) static Objectstatic Objectstatic ObjectsubstringAfter(Object str, Object find) static ObjectsubstringBefore(Object str, Object find) static voidtokenize$X(Object arg, String pattern, CallContext ctx) static voidtokenize$X(Object arg, String pattern, String flags, CallContext ctx) static Objectstatic Object
-
Constructor Details
-
StringUtils
public StringUtils()
-
-
Method Details
-
lowerCase
-
upperCase
-
asDouble
-
substring
-
substring
-
stringLength
-
substringBefore
-
substringAfter
-
translate
-
stringPad
-
contains
-
startsWith
-
endsWith
-
stringJoin
-
concat$V
-
compare
This implements the XQueryfn:comparefunction. -
stringToCodepoints$X
-
codepointsToString
-
encodeForUri
-
iriToUri
-
escapeHtmlUri
-
normalizeSpace
-
makePattern
-
matches
-
matches
-
replace
-
replace
-
tokenize$X
-
tokenize$X
-
codepointEqual
-
normalizeUnicode
-
normalizeUnicode
-