Class ServiceImpl

All Implemented Interfaces:
Serializable, Service, WSILElement, WSILElementWithAbstract

public class ServiceImpl extends WSILElementWithAbstractImpl implements Service
This class provides the support for the <service> element.
Version:
1.0
See Also:
  • Field Details

    • serviceNames

      protected Vector serviceNames
      Service names.
    • descriptions

      protected List descriptions
      Descriptions.
  • Constructor Details

    • ServiceImpl

      public ServiceImpl()
      ServiceImpl constructor comment.
  • Method Details

    • addDescription

      public void addDescription(Description description)
      Add description element.
      Specified by:
      addDescription in interface Service
      Parameters:
      description - the description element to add
    • removeDescription

      public void removeDescription(Description description)
      Remove description element.
      Specified by:
      removeDescription in interface Service
      Parameters:
      description - the description element to remove
    • getDescriptions

      public Description[] getDescriptions()
      Get description elements.
      Specified by:
      getDescriptions in interface Service
      Returns:
      Returns an array of descriptions.
    • addServiceName

      public void addServiceName(ServiceName serviceName)
      Add service name.
      Specified by:
      addServiceName in interface Service
      Parameters:
      serviceName - the service name element to add
    • removeServiceName

      public void removeServiceName(ServiceName serviceName)
      Remove a service name.
      Specified by:
      removeServiceName in interface Service
      Parameters:
      serviceName - the service name element to remove
    • getServiceNames

      public ServiceName[] getServiceNames()
      Get the service name.
      Specified by:
      getServiceNames in interface Service
      Returns:
      Returns an array of service names.
    • 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.