|
||||||||||
| 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 | |
|---|---|
java.lang.String |
getSchemaName(java.lang.String id)
Gets the name of the schema this schema object is associated with. |
boolean |
hasSyntax(java.lang.String id)
Checks to see if a Syntax exists. |
java.util.Iterator |
list()
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(java.lang.String schema,
org.apache.directory.shared.ldap.schema.Syntax syntax)
Registers a Syntax with this registry. |
| 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(java.lang.String schema,
org.apache.directory.shared.ldap.schema.Syntax syntax)
throws javax.naming.NamingException
schema - the name of the schema the Syntax is associated withsyntax - the Syntax to register
javax.naming.NamingException - if the syntax is already registered or the
registration operation is not supported
java.lang.String getSchemaName(java.lang.String id)
throws javax.naming.NamingException
id - the object identifier or the name
javax.naming.NamingException - if the schema object does not existboolean hasSyntax(java.lang.String id)
id - the object identifier or name
java.util.Iterator list()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||