Package org.apache.wsil
Interface Inspection
-
- All Superinterfaces:
java.io.Serializable
,WSILElement
,WSILElementWithAbstract
- All Known Implementing Classes:
InspectionImpl
public interface Inspection extends WSILElementWithAbstract
Inspection element within a WS-Inspection document. The inspection element may contain a abstract, link or service element.- Version:
- 1.0
- Author:
- Peter Brittenham
-
-
Method Summary
All Methods Instance Methods Abstract 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)
Remove service element.void
setTargetNamespace(java.lang.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 Detail
-
ELEM_NAME
static final java.lang.String ELEM_NAME
Element name.- See Also:
- Constant Field Values
-
QNAME
static final QName QNAME
QName.
-
-
Method Detail
-
addLink
void addLink(Link link)
Add link element.- Parameters:
link
- the link element to add
-
getLinks
Link[] getLinks()
Get link elements.- Returns:
- Returns an array of link elements.
-
removeLink
void removeLink(Link link)
Remove link element.- Parameters:
link
- the link element to remove
-
addService
void addService(Service service)
Add service element.- Parameters:
service
- the service element to add
-
getServices
Service[] getServices()
Get service elements.- Returns:
- Returns an array of service elements.
-
removeService
void removeService(Service service)
Remove service element.- Parameters:
service
- the service element to remove
-
getTargetNamespace
java.lang.String getTargetNamespace()
Get the target namespace in which the WSDL elements are defined.- Returns:
- the target namespace
-
setTargetNamespace
void setTargetNamespace(java.lang.String targetNamespace)
Set the target namespace in which WSDL elements are defined.- Parameters:
namespace
- the target namespace
-
addNamespace
void addNamespace(java.lang.String localName, java.lang.String value)
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
void removeNamespace(java.lang.String localName, java.lang.String value)
Remove namespace.- Parameters:
localName
- the local name part of the namespacevalue
- the namespace value
-
-