org.wso2.carbon.mediation.initializer

## Class RegistryDependency

- java.lang.Object
- - org.wso2.carbon.mediation.initializer.RegistryDependency

-     public class RegistryDependency
      extends Object

  This class is used to find wsdl/schema dependencies using registry.core() and doing string manipulation to map the relative location to absolute registry location

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RegistryDependency(String registryKey)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `constructRegistryPathToRelativePath(String relativeLocation)` Constructing the relative location to the actual registry path (eg:removing versions and ../ (../../../a.xsd;version 1000)
    `Map<String,String>` | `getDependencies()` Get the associations related to a particular WSDL/schema key

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### RegistryDependency

          public RegistryDependency(String registryKey)

      Parameters:
        `registryKey` -

  - ### Method Detail

    - #### getDependencies

          public Map<String,String> getDependencies()

      Get the associations related to a particular WSDL/schema key

    - #### constructRegistryPathToRelativePath

          public String constructRegistryPathToRelativePath(String relativeLocation)

      Constructing the relative location to the actual registry path (eg:removing versions and ../ (../../../a.xsd;version 1000)
      Parameters:
        `relativeLocation` -
      Returns:

Copyright © 2021 WSO2. All rights reserved.