com.novell.nds.dirxml.driver.soap.util
Interface SchemaReporter

All Superinterfaces:
Extension

public interface SchemaReporter
extends Extension

Returns the application schema. Generally, getSchema() is called when an administrative tool such as iManager wants to know the application schema to make mapping schema between eDirectory and the application easier to accomplish. If you do not implement a SchemaReporter class, you can still create a schema map object manually (without using the administrative utility). A class that implements this interface must implement the init() method from the Extension interface, as well as the getSchema() method.


Method Summary
 void getSchema(org.w3c.dom.Element schemaDefElement)
          Returns the application schema.
 
Methods inherited from interface com.novell.nds.dirxml.driver.soap.util.Extension
init
 

Method Detail

getSchema

public void getSchema(org.w3c.dom.Element schemaDefElement)
Returns the application schema. It is called whenever the getSchema() method of DriverShim is called by the DirXML engine. You are passed the DOM Element that corresponds to the schema-def element in the XML document that is returned to the engine when this method returns. You need to add the child elements to schemaDefElement that correspond to the application schema and then return.

Parameters:
schemaDefElement - The element corresponding to the schema-def element in the XML document that is returned to the engine when this method returns.