| Modifier and Type | Field and Description |
|---|---|
| private UnicodeMatcher | |
| public static final int | MAX
Maximum count a quantifier can have. |
| private int | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | Returns: a reference to toUnionTothe set into which to union the source characters toUnionTo)Implements com. |
| public int | matches(Replaceable
the text to be matched text, int[] on input, the index into text at which to begin
matching. On output, the limit of the matched text. The
number of matched characters is the output value of offset
minus the input value. Offset should always point to the
HIGH SURROGATE (leading code unit) of a pair of surrogates,
both on entry and upon return. offset, int the limit index of text to be matched. Greater
than offset for a forward direction match, less than offset for
a backward direction match. The last character to be
considered for matching will be text.charAt(limit-1) in the
forward direction or text.charAt(limit+1) in the backward
direction. limit, boolean if true, then assume further characters may
be inserted at limit and check for partial matching. Otherwise
assume the text as given is complete. incremental)Implements com. |
| public boolean | matchesIndexValue(int v)
Implements com. |
| public String | toPattern(boolean
if true then convert unprintable
character to their hex escape representations, \\uxxxx or
\\Uxxxxxxxx. Unprintable characters are those other than
U+000A, U+0020..U+007E. escapeUnprintable)Implements com. |
| matcher | back to summary |
|---|---|
| private UnicodeMatcher matcher | |
| MAX | back to summary |
|---|---|
| public static final int MAX Maximum count a quantifier can have. | |
| maxCount | back to summary |
|---|---|
| private int maxCount | |
| minCount | back to summary |
|---|---|
| private int minCount | |
| Quantifier | back to summary |
|---|---|
| public Quantifier(UnicodeMatcher theMatcher, int theMinCount, int theMaxCount) | |
| addMatchSetTo | back to summary |
|---|---|
| public void addMatchSetTo(UnicodeSet toUnionTo) Implements com. Implementation of UnicodeMatcher API. Union the set of all characters that may be matched by this object into the given set.
| |
| matches | back to summary |
|---|---|
| public int matches(Replaceable text, int[] offset, int limit, boolean incremental) Implements com. Implement UnicodeMatcher API.
| |
| matchesIndexValue | back to summary |
|---|---|
| public boolean matchesIndexValue(int v) Implements com. Implement UnicodeMatcher API | |
| toPattern | back to summary |
|---|---|
| public String toPattern(boolean escapeUnprintable) Implements com. Implement UnicodeMatcher API
| |