Class InspectionImpl

All Implemented Interfaces:
Serializable, Inspection, WSILElement, WSILElementWithAbstract

public class InspectionImpl extends WSILElementWithAbstractImpl implements Inspection
This class provides the support for the <inspection> element.
Version:
1.0
See Also:
  • Field Details

    • services

      protected List services
      Services.
    • targetNamespace

      protected String targetNamespace
      Target namespace.
    • namespaces

      protected List namespaces
      Namespace list.
  • Constructor Details

    • InspectionImpl

      public InspectionImpl()
      InspectionImpl constructor comment.
  • Method Details

    • addLink

      public void addLink(Link link)
      Add link element.
      Specified by:
      addLink in interface Inspection
      Parameters:
      link - the link element to add
    • removeLink

      public void removeLink(Link link)
      Remove link element.
      Specified by:
      removeLink in interface Inspection
      Parameters:
      link - the link element to remove
    • getLinks

      public Link[] getLinks()
      Get link elements.
      Specified by:
      getLinks in interface Inspection
      Returns:
      Returns an array of link elements.
    • addNamespace

      public void addNamespace(String localName, String value)
      Add namespace.
      Specified by:
      addNamespace in interface Inspection
      Parameters:
      localName - the local name part of the namespace
      value - the namespace value
    • getNamespaces

      public QName[] getNamespaces()
      Get list of namespaces.
      Specified by:
      getNamespaces in interface Inspection
      Returns:
      Returns a list of all specified namespaces.
    • removeNamespace

      public void removeNamespace(String localName, String value)
      Remove namespace.
      Specified by:
      removeNamespace in interface Inspection
      Parameters:
      localName - the local name part of the namespace
      value - the namespace value
    • addService

      public void addService(Service service)
      Add service element.
      Specified by:
      addService in interface Inspection
      Parameters:
      service - the service element to add
    • removeService

      public void removeService(Service service)
      Removed service element.
      Specified by:
      removeService in interface Inspection
      Parameters:
      service - the service element to remove
    • getServices

      public Service[] getServices()
      Get service elements.
      Specified by:
      getServices in interface Inspection
      Returns:
      Returns an array of service elements.
    • getTargetNamespace

      public String getTargetNamespace()
      Get the target namespace in which the WSDL elements are defined.
      Specified by:
      getTargetNamespace in interface Inspection
      Returns:
      the target namespace
    • setTargetNamespace

      public void setTargetNamespace(String targetNamespace)
      Set the target namespace in which WSDL elements are defined.
      Specified by:
      setTargetNamespace in interface Inspection
      Parameters:
      namespace - the target namespace
    • toXMLString

      public String toXMLString()
      XML string representation of this object.
      Specified by:
      toXMLString in interface WSILElement
      Returns:
      Returns the XML string format of this element.