Package com.ibm.di.fc.emf
Class EmfXmlToSdo
- java.lang.Object
-
- com.ibm.di.fc.Function
-
- com.ibm.di.fc.emf.EmfXmlToSdo
-
- All Implemented Interfaces:
FunctionInterface,VersionInfoInterface
@Deprecated public class EmfXmlToSdo extends Function
Deprecated.Function Component that using XML Schema converts an XML document to a tree structure of Data Objects. It also implements a discover schema functionality through itsupdateSchemamethod.
THIS CLASS HAS BEEN DEPRECATED SINCE THE IBM Tivoli Directory Integrator 7.0 RELEASE AND WILL BE COMPLETELY REMOVED IN A FUTURE RELEASE!
-
-
Constructor Summary
Constructors Constructor Description EmfXmlToSdo()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetVersion()Deprecated.voidinitialize(java.lang.Object obj)Deprecated.java.lang.Objectperform(java.lang.Object obj)Deprecated.booleanupdateSchema(FunctionConfig config)Deprecated.-
Methods inherited from class com.ibm.di.fc.Function
debug, getConfiguration, getContext, getDebug, getLog, getParam, getRSInterface, getUI, initialize, logmsg, querySchema, setConfiguration, setContext, setDebug, setLog, setParam, setRSInterface, terminate, verifyInitialized
-
-
-
-
Method Detail
-
initialize
@Deprecated public void initialize(java.lang.Object obj) throws java.lang.ExceptionDeprecated.Initializes the function component. Sets instance members corresponding to the function component paramters.- Specified by:
initializein interfaceFunctionInterface- Overrides:
initializein classFunction- Parameters:
obj- this object provides information to the Function Component needed on initialization- Throws:
java.lang.Exception- if thexsdFilefunction component parameter is not specified if the file specified byxsdFilefunction component parameter is not found if the file specified byxsdFilefunction component parameter is not valid XML Schema file
-
perform
@Deprecated public java.lang.Object perform(java.lang.Object obj) throws java.lang.ExceptionDeprecated.Converts an XML document to Data Objects and sets the working entry attributes. The XML document is expected inxmlStringEntry Attribute. The method creates Entry Attributes corresponding to the XML elements and attributes.- Parameters:
obj- the object is the working IBM Tivoli Directory Integrator Entry and should be of type com.ibm.di.entry.Entry.- Returns:
- IBM Tivoli Directory Integrator Entry containing Entry Attributes coresponding to the XML elements and attributes.
- Throws:
java.lang.Exception- if the IBM Tivoli Directory Integrator Entry does not contain axmlStringattribute. if thexmlStringdoes not contain valid XML document.
-
updateSchema
@Deprecated public boolean updateSchema(FunctionConfig config) throws java.lang.Exception
Deprecated.Implements the discovery schema functionality. The method reads the specified XML Schema File and creates Entry Attribute names based on the nesting of the XML elements.- Specified by:
updateSchemain interfaceFunctionInterface- Overrides:
updateSchemain classFunction- Parameters:
config- contains the function configuration parameter.- Returns:
- returns true on success
- Throws:
java.lang.Exception- if the thexsdFileparameter is not specified if the file specified byxsdFileparameter is not found if the file specified byxsdFileparameter is not valid XML Schema file
-
getVersion
@Deprecated public java.lang.String getVersion()
Deprecated.Returns function component's version- Returns:
- version information
-
-