|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An NameForm 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 |
hasNameForm(java.lang.String id)
Checks to see if an nameForm exists. |
java.util.Iterator |
list()
Lists all the NameForms within this registry. |
NameForm |
lookup(java.lang.String id)
Looks up a nameForm by its unique Object Identifier or by name. |
void |
register(java.lang.String schema,
NameForm nameForm)
Registers a NameForm with this registry. |
Method Detail |
public void register(java.lang.String schema, NameForm nameForm) throws javax.naming.NamingException
schema
- the name of the schema the NameForm is associated withnameForm
- the nameForm to register
javax.naming.NamingException
- if the NameForm is already registered or the
registration operation is not supportedpublic NameForm lookup(java.lang.String id) throws javax.naming.NamingException
id
- the object identifier or name
javax.naming.NamingException
- if the NameForm 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 hasNameForm(java.lang.String id)
id
- the object identifier or name
public java.util.Iterator list()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |