Interface Inspection

All Superinterfaces:
Serializable, WSILElement, WSILElementWithAbstract
All Known Implementing Classes:
InspectionImpl

public interface Inspection extends WSILElementWithAbstract
Inspection element within a WS-Inspection document. The inspection element may contain a abstract, link or service element.
Version:
1.0
Author:
Peter Brittenham
  • Field Details

  • Method Details

    • addLink

      void addLink(Link link)
      Add link element.
      Parameters:
      link - the link element to add
    • getLinks

      Link[] getLinks()
      Get link elements.
      Returns:
      Returns an array of link elements.
    • removeLink

      void removeLink(Link link)
      Remove link element.
      Parameters:
      link - the link element to remove
    • addService

      void addService(Service service)
      Add service element.
      Parameters:
      service - the service element to add
    • getServices

      Service[] getServices()
      Get service elements.
      Returns:
      Returns an array of service elements.
    • removeService

      void removeService(Service service)
      Remove service element.
      Parameters:
      service - the service element to remove
    • getTargetNamespace

      String getTargetNamespace()
      Get the target namespace in which the WSDL elements are defined.
      Returns:
      the target namespace
    • setTargetNamespace

      void setTargetNamespace(String targetNamespace)
      Set the target namespace in which WSDL elements are defined.
      Parameters:
      namespace - the target namespace
    • addNamespace

      void addNamespace(String localName, String value)
      Add namespace.
      Parameters:
      localName - the local name part of the namespace
      value - the namespace value
    • getNamespaces

      QName[] getNamespaces()
      Get list of namespaces.
      Returns:
      Returns a list of all specified namespaces.
    • removeNamespace

      void removeNamespace(String localName, String value)
      Remove namespace.
      Parameters:
      localName - the local name part of the namespace
      value - the namespace value