org.apache.wsil.impl
Class InspectionImpl

java.lang.Object
  extended by org.apache.wsil.impl.WSILElementWithAbstractImpl
      extended by org.apache.wsil.impl.InspectionImpl
All Implemented Interfaces:
java.io.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:
Serialized Form

Field Summary
protected  java.util.List links
          Links.
protected  java.util.List namespaces
          Namespace list.
protected  java.util.List services
          Services.
protected  java.lang.String targetNamespace
          Target namespace.
 
Fields inherited from class org.apache.wsil.impl.WSILElementWithAbstractImpl
abstracts
 
Fields inherited from interface org.apache.wsil.Inspection
ELEM_NAME, QNAME
 
Constructor Summary
InspectionImpl()
          InspectionImpl constructor comment.
 
Method Summary
 void addLink(Link link)
          Add link element.
 void addNamespace(java.lang.String localName, java.lang.String value)
          Add namespace.
 void addService(Service service)
          Add service element.
 Link[] getLinks()
          Get link elements.
 QName[] getNamespaces()
          Get list of namespaces.
 Service[] getServices()
          Get service elements.
 java.lang.String getTargetNamespace()
          Get the target namespace in which the WSDL elements are defined.
 void removeLink(Link link)
          Remove link element.
 void removeNamespace(java.lang.String localName, java.lang.String value)
          Remove namespace.
 void removeService(Service service)
          Removed service element.
 void setTargetNamespace(java.lang.String targetNamespace)
          Set the target namespace in which WSDL elements are defined.
 java.lang.String toXMLString()
          XML string representation of this object.
 
Methods inherited from class org.apache.wsil.impl.WSILElementWithAbstractImpl
addAbstract, addAbstracts, getAbstracts, removeAbstracts, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.wsil.WSILElementWithAbstract
addAbstract, addAbstracts, getAbstracts, removeAbstracts
 

Field Detail

links

protected java.util.List links
Links.


services

protected java.util.List services
Services.


targetNamespace

protected java.lang.String targetNamespace
Target namespace.


namespaces

protected java.util.List namespaces
Namespace list.

Constructor Detail

InspectionImpl

public InspectionImpl()
InspectionImpl constructor comment.

Method Detail

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(java.lang.String localName,
                         java.lang.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(java.lang.String localName,
                            java.lang.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 java.lang.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(java.lang.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 java.lang.String toXMLString()
XML string representation of this object.

Specified by:
toXMLString in interface WSILElement
Returns:
Returns the XML string format of this element.


Copyright ? 2001 International Business Machines Corporation. All Rights Reserved.