org.apache.juddi.v3.client.mapping
Class WSDLLocatorImpl

java.lang.Object
  extended by org.apache.juddi.v3.client.mapping.WSDLLocatorImpl
All Implemented Interfaces:
javax.wsdl.xml.WSDLLocator

public class WSDLLocatorImpl
extends Object
implements javax.wsdl.xml.WSDLLocator

Implementation of the interface WSDLLocatorImpl.

Author:
Kurt T Stam

Constructor Summary
WSDLLocatorImpl(URI baseURI)
          Constructor taking the URI to the WSDL.
 
Method Summary
 void close()
           
protected  URL constructImportUrl(String parentLocation, String importLocation)
          Internal method to normalize the importUrl.
 InputSource getBaseInputSource()
           
 String getBaseURI()
           
 InputSource getImportInputSource(String parentLocation, String importLocation)
           
 String getLatestImportURI()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSDLLocatorImpl

public WSDLLocatorImpl(URI baseURI)
Constructor taking the URI to the WSDL. This class implements the WSDLLocatorImpl Interface.

Parameters:
baseURI - - URI of the WSDL
Method Detail

getBaseInputSource

public InputSource getBaseInputSource()
Specified by:
getBaseInputSource in interface javax.wsdl.xml.WSDLLocator
See Also:
WSDLLocatorImpl.getBaseInputSource

constructImportUrl

protected URL constructImportUrl(String parentLocation,
                                 String importLocation)
Internal method to normalize the importUrl. The importLocation can be relative to the parentLocation.

Parameters:
parentLocation -
importLocation -
Returns:

getImportInputSource

public InputSource getImportInputSource(String parentLocation,
                                        String importLocation)
Specified by:
getImportInputSource in interface javax.wsdl.xml.WSDLLocator
See Also:
WSDLLocatorImpl.getImportInputSource

getBaseURI

public String getBaseURI()
Specified by:
getBaseURI in interface javax.wsdl.xml.WSDLLocator
See Also:
WSDLLocatorImpl.getBaseURI

getLatestImportURI

public String getLatestImportURI()
Specified by:
getLatestImportURI in interface javax.wsdl.xml.WSDLLocator
See Also:
WSDLLocatorImpl.getLatestImportURI

close

public void close()
Specified by:
close in interface javax.wsdl.xml.WSDLLocator
See Also:
WSDLLocatorImpl.close


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.