public static interface PluginContext.Utils
Modifier and Type | Method and Description |
---|---|
AttributeType |
getAttributeType(java.lang.String name)
Returns the attribute type associated to the specified lowercase name or
OID.
|
boolean |
isAttributeOfSyntax(java.lang.String name,
java.lang.String syntaxOID)
Returns
true if the attribute type associated to the specified
name has the specified syntax OID; false otherwise. |
AttributeType getAttributeType(java.lang.String name)
name
- lowercase name or OID of the attribute type to retrieve.boolean isAttributeOfSyntax(java.lang.String name, java.lang.String syntaxOID)
true
if the attribute type associated to the specified
name has the specified syntax OID; false
otherwise.name
- lowercase name or OID of the attribute type to retrieve.syntaxOID
- the OID of the syntax to evaluate.true
if the attribute type associated to the specified
name has the specified syntax OID; false
otherwise.