public final class ParserDescriptionUtils extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
aliasNamesMatch(SchemaObject so0,
SchemaObject so1)
Checks to see if the alias names of a schema description match another
description.
|
static boolean |
attributeTypesMatch(AttributeType at0,
AttributeType at1)
Checks two schema attributeTypes for an exact match.
|
static boolean |
descriptionsMatch(SchemaObject so0,
SchemaObject so1)
Checks if two base schema descriptions match for the common components
in every schema description.
|
static boolean |
extensionsMatch(SchemaObject lsd0,
SchemaObject lsd1)
Checks to see if the extensions of a schema description match another
description.
|
static boolean |
matchingRulesMatch(MatchingRule matchingRule0,
MatchingRule matchingRule1)
Checks to see if two matchingRule match exactly.
|
static boolean |
objectClassesMatch(ObjectClass oc0,
ObjectClass oc1)
Checks two schema objectClasses for an exact match.
|
static boolean |
syntaxesMatch(LdapSyntax ldapSyntax0,
LdapSyntax ldapSyntax1)
Checks to see if two syntax match exactly.
|
public static boolean objectClassesMatch(ObjectClass oc0, ObjectClass oc1)
oc0
- the first objectClass to compareoc1
- the second objectClass to comparepublic static boolean attributeTypesMatch(AttributeType at0, AttributeType at1)
at0
- the first attributeType to compareat1
- the second attributeType to comparepublic static boolean matchingRulesMatch(MatchingRule matchingRule0, MatchingRule matchingRule1)
matchingRule0
- the first matchingRule to comparematchingRule1
- the second matchingRule to comparepublic static boolean syntaxesMatch(LdapSyntax ldapSyntax0, LdapSyntax ldapSyntax1)
ldapSyntax0
- the first ldapSyntax to compareldapSyntax1
- the second ldapSyntax to comparepublic static boolean descriptionsMatch(SchemaObject so0, SchemaObject so1)
so0
- the first schema description to compareso1
- the second schema description to comparepublic static boolean extensionsMatch(SchemaObject lsd0, SchemaObject lsd1)
lsd0
- the first schema description to compare the extensions oflsd1
- the second schema description to compare the extensions ofpublic static boolean aliasNamesMatch(SchemaObject so0, SchemaObject so1)
so0
- the schema description to compareso1
- the schema description to compareCopyright © 2003–2021 The Apache Software Foundation. All rights reserved.