Class WSDLDocument

All Implemented Interfaces:
Peer

public class WSDLDocument extends WSDLNode
WSDLDocument is the top node in the overall WSDL DOM.
  • Constructor Details

    • WSDLDocument

      public WSDLDocument()
  • Method Details

    • loadFromFile

      public static WSDLDocument loadFromFile(String sFilename, String sLoadOptions)
      Loads a file/datasource into a document from a file, and creates an abstract schema hierarchy for it.
      Parameters:
      sFilename - - the name of the file that contains the data to load.
      sLoadOptions - - (optional) loading options.
      Returns:
      The created abstract schema model
    • loadFromStream

      public static WSDLDocument loadFromStream(InputStream oStream, String sFilename, String sLoadOptions)
      Loads a file/datasource into a model from a stream, and creates an abstract schema hierarchy for it.
      Parameters:
      oStream - - The stream that contains the data to load.
      sFilename - - Input file name.
      sLoadOptions - - (optional) loading options.
      Returns:
      The created abstract schema model
    • getDefinitionsNode

      public WSDLNode getDefinitionsNode()
      Get the definitions node
      Returns:
      the WSDLNode that is the definitions node of type WSDL_DEFINITIONS
    • getTargetNS

      public String getTargetNS()
      Get the target namespace specifed by the WSDL
      Returns:
      the target namespace URI
    • getOpenFileName

      public String getOpenFileName()
      Get the uri where this WSDL originally resides
      Returns:
      the uri where this WSDL originally resides
    • getCurrentFileName

      public String getCurrentFileName()