|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SyntaxRegistry
Manages the lookup and registration of Syntaxes within the system by OID.
Method Summary | |
---|---|
boolean |
hasSyntax(java.lang.String id)
Checks to see if a Syntax exists. |
java.util.Iterator<org.apache.directory.shared.ldap.schema.Syntax> |
iterator()
Lists all the Syntaxes within this registry. |
org.apache.directory.shared.ldap.schema.Syntax |
lookup(java.lang.String id)
Looks up a Syntax by its unique Object Identifier or by name. |
void |
register(org.apache.directory.shared.ldap.schema.Syntax syntax)
Registers a Syntax with this registry. |
Methods inherited from interface org.apache.directory.server.schema.registries.SchemaObjectRegistry |
---|
getSchemaName, unregister |
Method Detail |
---|
org.apache.directory.shared.ldap.schema.Syntax lookup(java.lang.String id) throws javax.naming.NamingException
id
- the object identifier or name
javax.naming.NamingException
- if there is a backing store failure or the Syntax
does not exist.void register(org.apache.directory.shared.ldap.schema.Syntax syntax) throws javax.naming.NamingException
syntax
- the Syntax to register
javax.naming.NamingException
- if the syntax is already registered or the
registration operation is not supportedboolean hasSyntax(java.lang.String id)
id
- the object identifier or name
java.util.Iterator<org.apache.directory.shared.ldap.schema.Syntax> iterator()
iterator
in interface SchemaObjectRegistry
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |