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.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
Constructors Constructor Description InspectionImpl()
InspectionImpl constructor comment.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Method Detail
-
addLink
public void addLink(Link link)
Add link element.- Specified by:
addLink
in interfaceInspection
- Parameters:
link
- the link element to add
-
removeLink
public void removeLink(Link link)
Remove link element.- Specified by:
removeLink
in interfaceInspection
- Parameters:
link
- the link element to remove
-
getLinks
public Link[] getLinks()
Get link elements.- Specified by:
getLinks
in interfaceInspection
- 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 interfaceInspection
- Parameters:
localName
- the local name part of the namespacevalue
- the namespace value
-
getNamespaces
public QName[] getNamespaces()
Get list of namespaces.- Specified by:
getNamespaces
in 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:
removeNamespace
in interfaceInspection
- Parameters:
localName
- the local name part of the namespacevalue
- the namespace value
-
addService
public void addService(Service service)
Add service element.- Specified by:
addService
in interfaceInspection
- Parameters:
service
- the service element to add
-
removeService
public void removeService(Service service)
Removed service element.- Specified by:
removeService
in interfaceInspection
- Parameters:
service
- the service element to remove
-
getServices
public Service[] getServices()
Get service elements.- Specified by:
getServices
in 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:
getTargetNamespace
in 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:
setTargetNamespace
in interfaceInspection
- Parameters:
namespace
- the target namespace
-
toXMLString
public java.lang.String toXMLString()
XML string representation of this object.- Specified by:
toXMLString
in interfaceWSILElement
- Returns:
- Returns the XML string format of this element.
-
-