public class PatternDN extends Object
Modifier and Type | Method and Description |
---|---|
static PatternDN |
decode(String dnString)
Create a new DN pattern matcher from a pattern string.
|
boolean |
matchesDN(org.forgerock.opendj.ldap.Dn dn)
Determine whether a given DN matches this pattern.
|
boolean |
matchesDN(org.forgerock.opendj.ldap.Dn dn,
org.forgerock.opendj.ldap.schema.Schema schema)
Determine whether a given DN matches this pattern.
|
String |
toString() |
public boolean matchesDN(org.forgerock.opendj.ldap.Dn dn)
dn
- The DN to be matched.public boolean matchesDN(org.forgerock.opendj.ldap.Dn dn, org.forgerock.opendj.ldap.schema.Schema schema)
dn
- The DN to be matched.schema
- The schema to use for matching.public static PatternDN decode(String dnString) throws DirectoryException
dnString
- The DN pattern string.DirectoryException
- If the pattern string
is not valid.Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.