Package gnu.xquery.util
Class StringUtils
java.lang.Object
gnu.xquery.util.StringUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic double
static Object
codepointEqual
(Object arg1, Object arg2) static String
codepointsToString
(Object arg) static Object
compare
(Object val1, Object val2, NamedCollator coll) This implements the XQueryfn:compare
function.static String
static Object
static String
encodeForUri
(Object arg) static Object
static String
escapeHtmlUri
(Object arg) static String
static Object
static Pattern
makePattern
(String pattern, String flags) static boolean
static boolean
static String
normalizeSpace
(Object arg) static Object
normalizeUnicode
(Object arg) static Object
normalizeUnicode
(Object arg, String form) static String
static String
static Object
startsWith
(Object str, Object with) static Object
stringJoin
(Object strseq, Object join) static Object
stringLength
(Object str) static Object
static void
stringToCodepoints$X
(Object arg, CallContext ctx) static Object
static Object
static Object
substringAfter
(Object str, Object find) static Object
substringBefore
(Object str, Object find) static void
tokenize$X
(Object arg, String pattern, CallContext ctx) static void
tokenize$X
(Object arg, String pattern, String flags, CallContext ctx) static Object
static 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:compare
function. -
stringToCodepoints$X
-
codepointsToString
-
encodeForUri
-
iriToUri
-
escapeHtmlUri
-
normalizeSpace
-
makePattern
-
matches
-
matches
-
replace
-
replace
-
tokenize$X
-
tokenize$X
-
codepointEqual
-
normalizeUnicode
-
normalizeUnicode
-