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 TypeMethodDescriptionvoidAdds any substring.voidAdds final substring.voidaddInitial(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 JDAPFilter
getFilter, getFilterComp, getFilterItem, getFilterListModifier and TypeMethodDescriptionstatic JDAPFilterConstructs filter from filter string specified in RFC1558.static JDAPFilterConstructs the filter computation.static JDAPFiltergetFilterItem(String item) Gets filter item.static JDAPFilter[]getFilterList(String list) Parses a list of filters
-
Constructor Details
-
JDAPFilterSubString
-
-
Method Details
-
getType
-
getInitialSubstring
-
addInitial
-
getAnySubstrings
-
addAny
-
getFinalSubstring
-
addFinal
-
getBERElement
Gets ber representation of the filter.- Specified by:
getBERElementin classJDAPFilter- Returns:
- ber representation
-
toString
Gets string reprensetation of the filter.- Specified by:
toStringin classJDAPFilter- Returns:
- string representation
-