public abstract DirContext getSchema (String name) throws NamingException

Retrieves the schema associated with the named object. See getSchema(Name) for details.

Parameters:
name     the name of the object whose schema is to be retrieved

Returns:  the schema associated with the context; never null

Exceptions:
OperationNotSupportedException    if schema not supported
NamingException    if a naming exception is encountered