Class UpdateSchema


  • @Deprecated
    public class UpdateSchema
    extends java.lang.Object
    Deprecated.
    Provides a discover schema functionality for the EMF XMLToSDO and SDOToXML Function Components.

    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
      UpdateSchema​(java.lang.String xsdFile, java.util.Map uriToPrefixMap, boolean alwaysPrefix, boolean isSDOToXML, ResourceHash resHash)
      Deprecated.
    • Constructor Detail

      • UpdateSchema

        @Deprecated
        public UpdateSchema​(java.lang.String xsdFile,
                            java.util.Map uriToPrefixMap,
                            boolean alwaysPrefix,
                            boolean isSDOToXML,
                            ResourceHash resHash)
        Deprecated.
        Initialize the UpdateSchema instance.
        Parameters:
        xsdFile - The XML Schema file location.
        uriToPrefixMap - The namespace prefix to namespace URI map.
        alwaysPrefix - If true all XML elements are namespace prefixed.
        isSDOToXML - If true specifies that the object will execute to discover schema functionality for the EMF XMLToSDO Function Component. If false discover function for EMF SDOToXML Function Component will be executed.
    • Method Detail

      • updateSchema

        @Deprecated
        public void updateSchema​(FunctionConfig config)
                          throws java.lang.Exception
        Deprecated.
        Adds items to the function configuration corresponding to the XML elements and attributes defined in the XML Schema file.
        Parameters:
        config - the function configuration object.
        Throws:
        java.lang.Exception - if the XML Schema file passed to the constructor during object creation is not found or is an invalid XML Schema file.