Package org.apache.wsil.impl
Class InspectionImpl
java.lang.Object
org.apache.wsil.impl.WSILElementWithAbstractImpl
org.apache.wsil.impl.InspectionImpl
- All Implemented Interfaces:
Serializable
,Inspection
,WSILElement
,WSILElementWithAbstract
This class provides the support for the <inspection> element.
- Version:
- 1.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List
Links.protected List
Namespace list.protected List
Services.protected String
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 -
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) Removed service element.void
setTargetNamespace
(String targetNamespace) Set the target namespace in which WSDL elements are defined.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 Details
-
links
Links. -
services
Services. -
targetNamespace
Target namespace. -
namespaces
Namespace list.
-
-
Constructor Details
-
InspectionImpl
public InspectionImpl()InspectionImpl constructor comment.
-
-
Method Details
-
addLink
Add link element.- Specified by:
addLink
in interfaceInspection
- Parameters:
link
- the link element to add
-
removeLink
Remove link element.- Specified by:
removeLink
in interfaceInspection
- Parameters:
link
- the link element to remove
-
getLinks
Get link elements.- Specified by:
getLinks
in interfaceInspection
- Returns:
- Returns an array of link elements.
-
addNamespace
Add namespace.- Specified by:
addNamespace
in interfaceInspection
- Parameters:
localName
- the local name part of the namespacevalue
- the namespace value
-
getNamespaces
Get list of namespaces.- Specified by:
getNamespaces
in interfaceInspection
- Returns:
- Returns a list of all specified namespaces.
-
removeNamespace
Remove namespace.- Specified by:
removeNamespace
in interfaceInspection
- Parameters:
localName
- the local name part of the namespacevalue
- the namespace value
-
addService
Add service element.- Specified by:
addService
in interfaceInspection
- Parameters:
service
- the service element to add
-
removeService
Removed service element.- Specified by:
removeService
in interfaceInspection
- Parameters:
service
- the service element to remove
-
getServices
Get service elements.- Specified by:
getServices
in interfaceInspection
- Returns:
- Returns an array of service elements.
-
getTargetNamespace
Get the target namespace in which the WSDL elements are defined.- Specified by:
getTargetNamespace
in interfaceInspection
- Returns:
- the target namespace
-
setTargetNamespace
Set the target namespace in which WSDL elements are defined.- Specified by:
setTargetNamespace
in interfaceInspection
- Parameters:
namespace
- the target namespace
-
toXMLString
XML string representation of this object.- Specified by:
toXMLString
in interfaceWSILElement
- Returns:
- Returns the XML string format of this element.
-