Package org.apache.wsil
Interface Inspection
- All Superinterfaces:
Serializable
,WSILElement
,WSILElementWithAbstract
- All Known Implementing Classes:
InspectionImpl
Inspection element within a WS-Inspection document. The inspection
element may contain a abstract, link or service element.
- Version:
- 1.0
- Author:
- Peter Brittenham
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
Add link element.void
addNamespace
(String localName, String value) Add namespace.void
addService
(Service service) Add service element.Link[]
getLinks()
Get link elements.QName[]
Get list of namespaces.Service[]
Get service elements.Get the target namespace in which the WSDL elements are defined.void
removeLink
(Link link) Remove link element.void
removeNamespace
(String localName, String value) Remove namespace.void
removeService
(Service service) Remove service element.void
setTargetNamespace
(String targetNamespace) Set the target namespace in which WSDL elements are defined.Methods inherited from interface org.apache.wsil.WSILElement
toXMLString
Methods inherited from interface org.apache.wsil.WSILElementWithAbstract
addAbstract, addAbstracts, getAbstracts, removeAbstracts
-
Field Details
-
ELEM_NAME
Element name.- See Also:
-
QNAME
QName.
-
-
Method Details
-
addLink
Add link element.- Parameters:
link
- the link element to add
-
getLinks
Link[] getLinks()Get link elements.- Returns:
- Returns an array of link elements.
-
removeLink
Remove link element.- Parameters:
link
- the link element to remove
-
addService
Add service element.- Parameters:
service
- the service element to add
-
getServices
Service[] getServices()Get service elements.- Returns:
- Returns an array of service elements.
-
removeService
Remove service element.- Parameters:
service
- the service element to remove
-
getTargetNamespace
String getTargetNamespace()Get the target namespace in which the WSDL elements are defined.- Returns:
- the target namespace
-
setTargetNamespace
Set the target namespace in which WSDL elements are defined.- Parameters:
namespace
- the target namespace
-
addNamespace
Add namespace.- Parameters:
localName
- the local name part of the namespacevalue
- the namespace value
-
getNamespaces
QName[] getNamespaces()Get list of namespaces.- Returns:
- Returns a list of all specified namespaces.
-
removeNamespace
Remove namespace.- Parameters:
localName
- the local name part of the namespacevalue
- the namespace value
-