|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An DITStructureRule registry service interface.
Method Summary | |
java.lang.String |
getSchemaName(java.lang.String id)
Gets the name of the schema this schema object is associated with. |
boolean |
hasDITStructureRule(java.lang.String id)
Checks to see if an dITStructureRule exists. |
java.util.Iterator |
list()
Lists all the DITStructureRules within this registry. |
DITStructureRule |
lookup(java.lang.String id)
Looks up an dITStructureRule by its unique Object IDentifier or by its name. |
void |
register(java.lang.String schema,
DITStructureRule dITStructureRule)
Registers a DITStructureRule with this registry. |
Method Detail |
public void register(java.lang.String schema, DITStructureRule dITStructureRule) throws javax.naming.NamingException
schema
- the name of the schema the DITStructureRule is associated withdITStructureRule
- the dITStructureRule to register
javax.naming.NamingException
- if the DITStructureRule is already registered
or the registration operation is not supportedpublic DITStructureRule lookup(java.lang.String id) throws javax.naming.NamingException
id
- the object identifier, or the name
javax.naming.NamingException
- if the DITStructureRule does not existpublic 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 existpublic boolean hasDITStructureRule(java.lang.String id)
id
- the object identifier, or the name
public java.util.Iterator list()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |