Package com.sun.msv.datatype.regexp
Class REUtil
java.lang.Object
com.sun.msv.datatype.regexp.REUtil
- Version:
- REUtil.java,v 1.7 2002/11/20 00:49:47 twl Exp
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final int(package private) static final RegularExpression[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static final intcomposeFromSurrogates(int high, int low) (package private) static final StringcreateOptionString(int options) static RegularExpressioncreateRegex(String pattern, String options) Creates a RegularExpression instance.(package private) static final StringdecomposeToSurrogates(int ch) (package private) static voiddumpString(String v) (package private) static final intgetOptionValue(int ch) (package private) static final booleanisHighSurrogate(int ch) (package private) static final booleanisLowSurrogate(int ch) static voidSample entry.static booleanstatic boolean(package private) static final intparseOptions(String opts) static String(package private) static StringstripExtendedComment(String regex) (package private) static final Stringsubstring(CharacterIterator iterator, int begin, int end)
-
Field Details
-
CACHESIZE
static final int CACHESIZE- See Also:
-
regexCache
-
-
Constructor Details
-
REUtil
private REUtil()
-
-
Method Details
-
composeFromSurrogates
static final int composeFromSurrogates(int high, int low) -
isLowSurrogate
static final boolean isLowSurrogate(int ch) -
isHighSurrogate
static final boolean isHighSurrogate(int ch) -
decomposeToSurrogates
-
substring
-
getOptionValue
static final int getOptionValue(int ch) -
parseOptions
- Throws:
ParseException
-
createOptionString
-
stripExtendedComment
-
main
Sample entry.Usage: org.apache.xerces.utils.regex.REUtil <regex> <string> -
createRegex
Creates a RegularExpression instance. This method caches created instances.- Throws:
ParseException- See Also:
-
matches
- Throws:
ParseException- See Also:
-
matches
- Throws:
ParseException- See Also:
-
quoteMeta
-
dumpString
-