| Modifier and Type | Class and Description |
|---|---|
| pack-priv class | SearchFilter.
A class for dealing with atomic filters |
| pack-priv class | SearchFilter.
A class for dealing with compound filters ("and" & "or" filters). |
| pack-priv class | SearchFilter.
A class for dealing with NOT filters |
| pack-priv static interface |
| Modifier and Type | Field and Description |
|---|---|
| protected static final char | |
| pack-priv static final int | |
| protected static final char | |
| protected static final char | |
| protected static final boolean | |
| protected static final char | |
| pack-priv static final int | |
| protected static final char | |
| protected static final char | |
| pack-priv String | |
| pack-priv static final int | |
| protected static final char | |
| pack-priv static final int | |
| protected static final char | |
| protected static final char | |
| protected static final char | |
| pack-priv int | |
| private SearchFilter. | |
| protected static final char |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | check(Attributes targetAttrs)
Implements com. Determines whether an attribute passes the filter. |
| protected void | |
| protected void | |
| protected SearchFilter. | |
| public static int | findUnescaped(char ch, String val, int start)
Finds the first occurrence of |
| public static String | |
| public static String | |
| protected char | |
| private static String | getEncodedStringRep(Object obj)
Returns the string representation of an object (such as an attr value). |
| protected void | |
| protected char | |
| protected int | |
| protected String | |
| public static Attributes | |
| private void |
| AND_TOKEN | back to summary |
|---|---|
| protected static final char AND_TOKEN | |
| APPROX_MATCH | back to summary |
|---|---|
| pack-priv static final int APPROX_MATCH | |
| APPROX_TOKEN | back to summary |
|---|---|
| protected static final char APPROX_TOKEN | |
| BEGIN_FILTER_TOKEN | back to summary |
|---|---|
| protected static final char BEGIN_FILTER_TOKEN | |
| debug | back to summary |
|---|---|
| protected static final boolean debug | |
| END_FILTER_TOKEN | back to summary |
|---|---|
| protected static final char END_FILTER_TOKEN | |
| EQUAL_MATCH | back to summary |
|---|---|
| pack-priv static final int EQUAL_MATCH | |
| EQUAL_TOKEN | back to summary |
|---|---|
| protected static final char EQUAL_TOKEN | |
| EXTEND_TOKEN | back to summary |
|---|---|
| protected static final char EXTEND_TOKEN | |
| filter | back to summary |
|---|---|
| pack-priv String filter | |
| GREATER_MATCH | back to summary |
|---|---|
| pack-priv static final int GREATER_MATCH | |
| GREATER_TOKEN | back to summary |
|---|---|
| protected static final char GREATER_TOKEN | |
| LESS_MATCH | back to summary |
|---|---|
| pack-priv static final int LESS_MATCH | |
| LESS_TOKEN | back to summary |
|---|---|
| protected static final char LESS_TOKEN | |
| NOT_TOKEN | back to summary |
|---|---|
| protected static final char NOT_TOKEN | |
| OR_TOKEN | back to summary |
|---|---|
| protected static final char OR_TOKEN | |
| pos | back to summary |
|---|---|
| pack-priv int pos | |
| rootFilter | back to summary |
|---|---|
| private SearchFilter. | |
| WILDCARD_TOKEN | back to summary |
|---|---|
| protected static final char WILDCARD_TOKEN | |
| SearchFilter | back to summary |
|---|---|
| public SearchFilter(String filter) throws InvalidSearchFilterException | |
| check | back to summary |
|---|---|
| public boolean check(Attributes targetAttrs) throws NamingException Implements com. Doc from com. Determines whether an attribute passes the filter. | |
| consumeChar | back to summary |
|---|---|
| protected void consumeChar() | |
| consumeChars | back to summary |
|---|---|
| protected void consumeChars(int i) | |
| createNextFilter | back to summary |
|---|---|
| protected SearchFilter. | |
| findUnescaped | back to summary |
|---|---|
| public static int findUnescaped(char ch, String val, int start) Finds the first occurrence of | |
| format | back to summary |
|---|---|
| public static String format(Attributes attrs) throws NamingException Creates an LDAP filter as a conjunction of the attributes supplied. | |
| format | back to summary |
|---|---|
| public static String format(String expr, Object[] args) throws NamingException Formats the expression | |
| getCurrentChar | back to summary |
|---|---|
| protected char getCurrentChar() | |
| getEncodedStringRep | back to summary |
|---|---|
| private static String getEncodedStringRep(Object obj) throws NamingException Returns the string representation of an object (such as an attr value). If obj is a byte array, encode each item as \xx, where xx is hex encoding of the byte value. Else, if obj is not a String, use its string representation (toString()). Special characters in obj (or its string representation) are then encoded appropriately according to RFC 2254. * \2a ( \28 ) \29 \ \5c NUL \00 | |
| normalizeFilter | back to summary |
|---|---|
| protected void normalizeFilter() | |
| relCharAt | back to summary |
|---|---|
| protected char relCharAt(int i) | |
| relIndexOf | back to summary |
|---|---|
| protected int relIndexOf(int ch) | |
| relSubstring | back to summary |
|---|---|
| protected String relSubstring(int beginIndex, int endIndex) | |
| selectAttributes | back to summary |
|---|---|
| public static Attributes selectAttributes(Attributes originals, String[] attrIDs) throws NamingException | |
| skipWhiteSpace | back to summary |
|---|---|
| private void skipWhiteSpace() | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | check(Attributes targetAttrs)
Implements com. Determines whether an attribute passes the filter. |
| public void | |
| private boolean |
| attrID | back to summary |
|---|---|
| private String attrID | |
| matchType | back to summary |
|---|---|
| private int matchType | |
| value | back to summary |
|---|---|
| private String value | |
| AtomicFilter | back to summary |
|---|---|
| pack-priv AtomicFilter() | |
| check | back to summary |
|---|---|
| public boolean check(Attributes targetAttrs) Implements com. Doc from com. Determines whether an attribute passes the filter. | |
| parse | back to summary |
|---|---|
| public void parse() throws InvalidSearchFilterException Implements com. | |
| substringMatch | back to summary |
|---|---|
| private boolean substringMatch(String proto, String value) | |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private Vector |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | check(Attributes targetAttrs)
Implements com. Determines whether an attribute passes the filter. |
| public void |
| polarity | back to summary |
|---|---|
| private boolean polarity | |
| subFilters | back to summary |
|---|---|
| private Vector<SearchFilter. | |
| CompoundFilter | back to summary |
|---|---|
| pack-priv CompoundFilter(boolean polarity) | |
| check | back to summary |
|---|---|
| public boolean check(Attributes targetAttrs) throws NamingException Implements com. Doc from com. Determines whether an attribute passes the filter. | |
| parse | back to summary |
|---|---|
| public void parse() throws InvalidSearchFilterException Implements com. | |
| Modifier and Type | Field and Description |
|---|---|
| private SearchFilter. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | check(Attributes targetAttrs)
Implements com. Determines whether an attribute passes the filter. |
| public void |
| filter | back to summary |
|---|---|
| private SearchFilter. | |
| NotFilter | back to summary |
|---|---|
| pack-priv NotFilter() | |
| check | back to summary |
|---|---|
| public boolean check(Attributes targetAttrs) throws NamingException Implements com. Doc from com. Determines whether an attribute passes the filter. | |
| parse | back to summary |
|---|---|
| public void parse() throws InvalidSearchFilterException Implements com. | |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| parse | back to summary |
|---|---|
| public void parse() throws InvalidSearchFilterException | |