| Modifier and Type | Field and Description |
|---|---|
| protected final PropertyNameMatcher | |
| protected final Locale | _locale
Since case-handling is Locale-specific in some (rare) cases, need to hold on to configured Locale. |
| protected final String[] | |
| private static final InternCache | |
| public static final int | MATCH_END_OBJECT
Marker for case where |
| public static final int | MATCH_ODD_TOKEN
Marker for case where token encountered is neither |
| public static final int | MATCH_UNKNOWN_NAME
Marker for case where property name encountered but not one of matches. |
| private static final long |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected static int | |
| protected static String | |
| protected static final int | |
| protected static List | |
| public abstract int | |
| public abstract int | |
| public abstract int | |
| public abstract int | |
| public abstract int | Returns: Index of the name matched, if any (non-negative number); or an error code (negative constantMATCH_xxx) if noneName to match toMatch)Lookup method that does not assume name to be matched to be
|
| protected int | Returns: Index for the match, if any (non-negative); or error code if no matchName to match toMatch)Secondary lookup method used for matchers that operate with more complex matching rules, such as case-insensitive matchers. |
| public final String[] | Returns: Array of names that this matcher may match (with indices that match non-negative values bymatchXxx methods)Accessor to names matching indexes, iff passed during construction. |
| public static List |
| _backupMatcher | back to summary |
|---|---|
| protected final PropertyNameMatcher _backupMatcher | |
| _locale | back to summary |
|---|---|
| protected final Locale _locale Since case-handling is Locale-specific in some (rare) cases, need to hold on to configured Locale. | |
| _nameLookup | back to summary |
|---|---|
| protected final String[] _nameLookup | |
| INTERNER | back to summary |
|---|---|
| private static final InternCache INTERNER | |
| MATCH_END_OBJECT | back to summary |
|---|---|
| public static final int MATCH_END_OBJECT Marker for case where | |
| MATCH_ODD_TOKEN | back to summary |
|---|---|
| public static final int MATCH_ODD_TOKEN Marker for case where token encountered is neither | |
| MATCH_UNKNOWN_NAME | back to summary |
|---|---|
| public static final int MATCH_UNKNOWN_NAME Marker for case where property name encountered but not one of matches. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| PropertyNameMatcher | back to summary |
|---|---|
| protected PropertyNameMatcher(Locale locale, PropertyNameMatcher backup, String[] nameLookup) | |
| _findSize | back to summary |
|---|---|
| protected static int _findSize(int size) | |
| _fromName | back to summary |
|---|---|
| protected static String _fromName(Named n, boolean alreadyInterned) | |
| _hash | back to summary |
|---|---|
| protected static final int _hash(int h, int mask) | |
| _lc | back to summary |
|---|---|
| protected static List | |
| matchByQuad | back to summary |
|---|---|
| public abstract int matchByQuad(int q1) | |
| matchByQuad | back to summary |
|---|---|
| public abstract int matchByQuad(int q1, int q2) | |
| matchByQuad | back to summary |
|---|---|
| public abstract int matchByQuad(int q1, int q2, int q3) | |
| matchByQuad | back to summary |
|---|---|
| public abstract int matchByQuad(int[] q, int qlen) | |
| matchName | back to summary |
|---|---|
| public abstract int matchName(String toMatch) Lookup method that does not assume name to be matched to be
| |
| matchSecondary | back to summary |
|---|---|
| protected int matchSecondary(String toMatch) Secondary lookup method used for matchers that operate with more complex matching rules, such as case-insensitive matchers.
| |
| nameLookup | back to summary |
|---|---|
| public final String[] nameLookup() Accessor to names matching indexes, iff passed during construction.
| |
| stringsFromNames | back to summary |
|---|---|
| public static List | |