org.apache.woden.internal
Class DOMWSDLSource

java.lang.Object
  extended by org.apache.woden.internal.BaseWSDLSource
      extended by org.apache.woden.internal.DOMWSDLSource
All Implemented Interfaces:
WSDLSource

public class DOMWSDLSource
extends BaseWSDLSource

This class provides a WSDLSource implementation that supports a DOM-based representation of the WSDL source. Specifically, it may accept via its setSource method an object of type org.w3c.dom.Element, org.w3c.dom.Document or org.xml.sax.InputSource. Any other type of object passed to this method will result in a WSDLException being thrown.

Author:
John Kaputin (jkaputin@apache.org)

Field Summary
 
Fields inherited from class org.apache.woden.internal.BaseWSDLSource
fErrorReporter, fSource
 
Constructor Summary
DOMWSDLSource(ErrorReporter errorReporter)
           
 
Method Summary
 void setSource(java.lang.Object wsdlSource)
          Store the specified source object representing the WSDL.
 
Methods inherited from class org.apache.woden.internal.BaseWSDLSource
getBaseURI, getSource, setBaseURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMWSDLSource

public DOMWSDLSource(ErrorReporter errorReporter)
Method Detail

setSource

public void setSource(java.lang.Object wsdlSource)
Description copied from interface: WSDLSource
Store the specified source object representing the WSDL.

Specified by:
setSource in interface WSDLSource
Specified by:
setSource in class BaseWSDLSource
Parameters:
wsdlSource - the WSDL source object


Copyright © 2007. All Rights Reserved.