|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DITContentRuleRegistry
An DITContentRule registry's 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 |
hasDITContentRule(java.lang.String id)
Checks to see if a DITContentRule exists. |
java.util.Iterator |
list()
Lists all the DITContentRules within this registry. |
DITContentRule |
lookup(java.lang.String id)
Looks up a DITContentRule by its object identifier or by its name. |
void |
register(java.lang.String schema,
DITContentRule dITContentRule)
Registers a DITContentRule with this registry. |
Method Detail |
---|
void register(java.lang.String schema, DITContentRule dITContentRule) throws javax.naming.NamingException
schema
- the name of the schema the DITContentRule is associated withdITContentRule
- the DITContentRule to register
javax.naming.NamingException
- if the DITContentRule is already registered or
the registration operation is not supportedDITContentRule lookup(java.lang.String id) throws javax.naming.NamingException
id
- the object identifier or name of the DITContentRule
javax.naming.NamingException
- if the DITContentRule does not existjava.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 hasDITContentRule(java.lang.String id)
id
- the object identifier or name of the DITContentRule
java.util.Iterator list()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |