Package netscape.ldap.client
Class JDAPFilterSubString
java.lang.Object
netscape.ldap.client.JDAPFilter
netscape.ldap.client.JDAPFilterSubString
This class implements the filter substring.
See RFC 1777 and 2254.
[4] SEQUENCE { type AttributeType, SEQUENCE OF CHOICE { initial [0] LDAPString, any [1] LDAPString, final [2] LDAPString } } substring = attr "=" [initial] any [final] initial = value any = "*" *(value "*") final = value
- Version:
- 1.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds any substring.void
Adds final substring.void
addInitial
(String s) Adds initial substring.Get any substrings.Gets ber representation of the filter.Get final substring.Get initial substring.getType()
Get attribute type.toString()
Gets string reprensetation of the filter.Methods inherited from class netscape.ldap.client.JDAPFilter
getFilter, getFilterComp, getFilterItem, getFilterList
-
Constructor Details
-
JDAPFilterSubString
-
-
Method Details
-
getType
-
getInitialSubstring
-
addInitial
-
getAnySubstrings
-
addAny
-
getFinalSubstring
-
addFinal
-
getBERElement
Gets ber representation of the filter.- Specified by:
getBERElement
in classJDAPFilter
- Returns:
- ber representation
-
toString
Gets string reprensetation of the filter.- Specified by:
toString
in classJDAPFilter
- Returns:
- string representation
-