Package org.apache.wsil.impl
Class InspectionImpl
- java.lang.Object
-
- org.apache.wsil.impl.WSILElementWithAbstractImpl
-
- 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
Fields Modifier and Type Field Description protected java.util.ListlinksLinks.protected java.util.ListnamespacesNamespace list.protected java.util.ListservicesServices.protected java.lang.StringtargetNamespaceTarget namespace.-
Fields inherited from class org.apache.wsil.impl.WSILElementWithAbstractImpl
abstracts
-
Fields inherited from interface org.apache.wsil.Inspection
ELEM_NAME, QNAME
-
-
Constructor Summary
Constructors Constructor Description InspectionImpl()InspectionImpl constructor comment.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddLink(Link link)Add link element.voidaddNamespace(java.lang.String localName, java.lang.String value)Add namespace.voidaddService(Service service)Add service element.Link[]getLinks()Get link elements.QName[]getNamespaces()Get list of namespaces.Service[]getServices()Get service elements.java.lang.StringgetTargetNamespace()Get the target namespace in which the WSDL elements are defined.voidremoveLink(Link link)Remove link element.voidremoveNamespace(java.lang.String localName, java.lang.String value)Remove namespace.voidremoveService(Service service)Removed service element.voidsetTargetNamespace(java.lang.String targetNamespace)Set the target namespace in which WSDL elements are defined.java.lang.StringtoXMLString()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
-
-
-
-
Method Detail
-
addLink
public void addLink(Link link)
Add link element.- Specified by:
addLinkin interfaceInspection- Parameters:
link- the link element to add
-
removeLink
public void removeLink(Link link)
Remove link element.- Specified by:
removeLinkin interfaceInspection- Parameters:
link- the link element to remove
-
getLinks
public Link[] getLinks()
Get link elements.- Specified by:
getLinksin interfaceInspection- Returns:
- Returns an array of link elements.
-
addNamespace
public void addNamespace(java.lang.String localName, java.lang.String value)Add namespace.- Specified by:
addNamespacein interfaceInspection- Parameters:
localName- the local name part of the namespacevalue- the namespace value
-
getNamespaces
public QName[] getNamespaces()
Get list of namespaces.- Specified by:
getNamespacesin interfaceInspection- Returns:
- Returns a list of all specified namespaces.
-
removeNamespace
public void removeNamespace(java.lang.String localName, java.lang.String value)Remove namespace.- Specified by:
removeNamespacein interfaceInspection- Parameters:
localName- the local name part of the namespacevalue- the namespace value
-
addService
public void addService(Service service)
Add service element.- Specified by:
addServicein interfaceInspection- Parameters:
service- the service element to add
-
removeService
public void removeService(Service service)
Removed service element.- Specified by:
removeServicein interfaceInspection- Parameters:
service- the service element to remove
-
getServices
public Service[] getServices()
Get service elements.- Specified by:
getServicesin interfaceInspection- 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:
getTargetNamespacein interfaceInspection- Returns:
- the target namespace
-
setTargetNamespace
public void setTargetNamespace(java.lang.String targetNamespace)
Set the target namespace in which WSDL elements are defined.- Specified by:
setTargetNamespacein interfaceInspection- Parameters:
namespace- the target namespace
-
toXMLString
public java.lang.String toXMLString()
XML string representation of this object.- Specified by:
toXMLStringin interfaceWSILElement- Returns:
- Returns the XML string format of this element.
-
-