|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.woden.internal.wsdl20.validation.WSDLComponentValidator
The WSDL component validator can validate a WSDL 2.0 component model against the assertions defined in the WSDL 2.0 specification. The WSDL 2.0 component assertions are currently available in the non-normative version of the WSDL 2.0 specification and can be viewed at http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/wsdl20/wsdl20.html?content-type=text/html;%20charset=utf-8#assertionsummary
Constructor Summary | |
WSDLComponentValidator()
|
Method Summary | |
protected boolean |
testAssertionBinding0054(Binding binding,
ErrorReporter errorReporter)
Test assertion Binding-0054. |
protected boolean |
testAssertionBinding0055(Binding binding,
ErrorReporter errorReporter)
Test assertion Binding-0055. |
protected boolean |
testAssertionBinding0056(Binding binding,
ErrorReporter errorReporter)
Test assertion Binding-0056. |
protected boolean |
testAssertionBinding0057(Binding[] bindings,
ErrorReporter errorReporter)
Test assertion Binding-0057. |
protected boolean |
testAssertionBindingFault0058(BindingFault[] bindingFaults,
ErrorReporter errorReporter)
Test assertion BindingFault-0058. |
protected boolean |
testAssertionBindingFaultReference0061(BindingFaultReference[] bindingFaultReferences,
ErrorReporter errorReporter)
Test assertion BindingFaultReference-0061. |
protected boolean |
testAssertionBindingFaultReference0062(BindingFaultReference bindingFaultReference,
ErrorReporter errorReporter)
Test assertion BindingFaultReference-0062. |
protected boolean |
testAssertionBindingMessageReference0060(BindingMessageReference[] bindingMessageReferences,
ErrorReporter errorReporter)
Test assertion BindingMessageReference-0060. |
protected boolean |
testAssertionBindingOperation0059(BindingOperation[] bindingOperations,
ErrorReporter errorReporter)
Test assertion BindingOperation-0059. |
protected boolean |
testAssertionEndpoint0064(Endpoint endpoint,
ErrorReporter errorReporter)
Test assertion Endpoint-0064. |
protected boolean |
testAssertionEndpoint0065(Endpoint[] endpoints,
ErrorReporter errorReporter)
Test assertion Endpoint-0065. |
protected boolean |
testAssertionEndpoint0066(Endpoint endpoint,
ErrorReporter errorReporter)
Test assertion Endpoint-0066. |
protected boolean |
testAssertionInterface0027(Interface interfac,
ErrorReporter errorReporter)
Test assertion Interface-0027. |
protected boolean |
testAssertionInterface0030(Interface[] interfaces,
ErrorReporter errorReporter)
Test assertion Interface-0030. |
protected boolean |
testAssertionInterfaceFault0028(InterfaceFault interfaceFault,
Interface interfac,
ErrorReporter errorReporter)
Test assertion InterfaceFault-0028. |
protected boolean |
testAssertionInterfaceFault0032(InterfaceFault[] interfaceFaults,
ErrorReporter errorReporter)
Test assertion InterfaceFault-0032. |
protected boolean |
testAssertionInterfaceFaultReference0045(InterfaceFaultReference[] faultReferences,
ErrorReporter errorReporter)
Test assertion InterfaceFaultReference-0045. |
protected boolean |
testAssertionInterfaceMessageReference0041(InterfaceMessageReference messageReference,
ErrorReporter errorReporter)
Test assertion InterfaceMessageReference-0041. |
protected boolean |
testAssertionInterfaceMessageReference0042(InterfaceMessageReference[] messageReferences,
ErrorReporter errorReporter)
Test assertion InterfaceMessageReference-0042. |
protected boolean |
testAssertionInterfaceOperation0029(InterfaceOperation interfaceOperation,
Interface interfac,
ErrorReporter errorReporter)
Test assertion InterfaceOperation-0029. |
protected boolean |
testAssertionInterfaceOperation0035(InterfaceOperation[] interfaceOperations,
ErrorReporter errorReporter)
Test assertion InterfaceOperation-0035. |
protected boolean |
testAssertionMEP0037(java.net.URI pattern,
ErrorReporter errorReporter)
Test assertion MEP-0037. |
protected boolean |
testAssertionService0063(Service[] services,
ErrorReporter errorReporter)
Test assertion Service-0063. |
void |
validate(Description desc,
ErrorReporter errorReporter)
Validate the WSDL 2.0 component model described by the description component. |
protected void |
validateBindingFaultReferences(BindingFaultReference[] bindingFaultReferences,
Description desc,
ErrorReporter errorReporter)
Validate the binding fault references in the WSDL component model. |
protected void |
validateBindingFaults(BindingFault[] bindingFaults,
Description desc,
ErrorReporter errorReporter)
Validate the binding faults in the WSDL component model. |
protected void |
validateBindingMessageReferences(BindingMessageReference[] bindingMessageReferences,
Description desc,
ErrorReporter errorReporter)
Validate the binding message references in the WSDL component model. |
protected void |
validateBindingOperations(BindingOperation[] bindingOperations,
Description desc,
ErrorReporter errorReporter)
Validate the binding operations in the WSDL component model. |
protected void |
validateBindings(Binding[] bindings,
Description desc,
ErrorReporter errorReporter)
Validate the bindings in the WSDL component model. |
protected void |
validateEndpoints(Endpoint[] endpoints,
Description desc,
ErrorReporter errorReporter)
Validate the endpoints in a service component in the WSDL component model. |
protected void |
validateInterfaceFaultReferences(InterfaceFaultReference[] faultReferences,
ErrorReporter errorReporter)
Validate the interface fault references in the WSDL component model. |
protected void |
validateInterfaceFaults(Interface interfac,
InterfaceFault[] interfaceFaults,
ErrorReporter errorReporter)
Validate the interface faults in the WSDL component model. |
protected void |
validateInterfaceMessageReferences(InterfaceMessageReference[] messageReferences,
ErrorReporter errorReporter)
Validate the interface message references in the WSDL component model. |
protected void |
validateInterfaceOperations(Interface interfac,
InterfaceOperation[] interfaceOperations,
ErrorReporter errorReporter)
Validate the interface operations in the WSDL component model. |
protected void |
validateInterfaces(Interface[] interfaces,
ErrorReporter errorReporter)
Validate the interfaces in the WSDL component model. |
protected void |
validateServices(Service[] services,
Description desc,
ErrorReporter errorReporter)
Validate the services in the WSDL component model. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WSDLComponentValidator()
Method Detail |
public void validate(Description desc, ErrorReporter errorReporter) throws WSDLException
desc
- The description component of the WSDL 2.0 component model.errorReporter
- An error reporter to be used for reporting errors found with the model.
WSDLException
- A WSDLException is thrown if a problem occurs while validating the WSDL 2.0 component model.protected void validateInterfaces(Interface[] interfaces, ErrorReporter errorReporter) throws WSDLException
interfaces
- The interfaces in the WSDL component model.errorReporter
- An error reporter to be used for reporting errors.
WSDLException
- A WSDLException is thrown if a problem occurs while validating the interface components.protected void validateInterfaceOperations(Interface interfac, InterfaceOperation[] interfaceOperations, ErrorReporter errorReporter) throws WSDLException
interfac
- The interface that contains the interface operations.interfaceOperations
- An array of the interface operations.errorReporter
- An error reporter.
WSDLException
protected void validateInterfaceFaults(Interface interfac, InterfaceFault[] interfaceFaults, ErrorReporter errorReporter) throws WSDLException
interfac
- The interface that contains the interface faults.interfaceFaults
- An array of the interface faults.errorReporter
- An error reporter.
WSDLException
protected void validateInterfaceMessageReferences(InterfaceMessageReference[] messageReferences, ErrorReporter errorReporter) throws WSDLException
messageReferences
- An array containing the interface message references.errorReporter
- An error reporter.
WSDLException
protected void validateInterfaceFaultReferences(InterfaceFaultReference[] faultReferences, ErrorReporter errorReporter) throws WSDLException
faultReferences
- An array containing the interface fault references.errorReporter
- An error reporter.
WSDLException
protected void validateBindings(Binding[] bindings, Description desc, ErrorReporter errorReporter) throws WSDLException
bindings
- The bindings in the WSDL component model.desc
- The WSDL 2.0 description component.errorReporter
- An error reporter to be used for reporting errors.
WSDLException
- A WSDLException is thrown if a problem occurs while validating the binding components.protected void validateBindingOperations(BindingOperation[] bindingOperations, Description desc, ErrorReporter errorReporter) throws WSDLException
bindingOperations
- The bindings operations in the WSDL component model.desc
- The WSDL 2.0 description component.errorReporter
- An error reporter to be used for reporting errors.
WSDLException
- A WSDLException is thrown if a problem occurs while validating the binding operation components.protected void validateBindingMessageReferences(BindingMessageReference[] bindingMessageReferences, Description desc, ErrorReporter errorReporter) throws WSDLException
bindingMessageReferences
- The bindings message references in the WSDL component model.desc
- The WSDL 2.0 description component.errorReporter
- An error reporter to be used for reporting errors.
WSDLException
- A WSDLException is thrown if a problem occurs while validating the binding message reference components.protected void validateBindingFaultReferences(BindingFaultReference[] bindingFaultReferences, Description desc, ErrorReporter errorReporter) throws WSDLException
bindingFaultReferences
- The bindings fault references in the WSDL component model.desc
- The WSDL 2.0 description component.errorReporter
- An error reporter to be used for reporting errors.
WSDLException
- A WSDLException is thrown if a problem occurs while validating the binding fault reference components.protected void validateBindingFaults(BindingFault[] bindingFaults, Description desc, ErrorReporter errorReporter) throws WSDLException
bindingFaults
- The bindings faults in the WSDL component model.desc
- The WSDL 2.0 description component.errorReporter
- An error reporter to be used for reporting errors.
WSDLException
- A WSDLException is thrown if a problem occurs while validating the binding fault components.protected void validateServices(Service[] services, Description desc, ErrorReporter errorReporter) throws WSDLException
services
- The services in the WSDL component model.desc
- The WSDL 2.0 description component.errorReporter
- An error reporter to be used for reporting errors.
WSDLException
- A WSDLException is thrown if a problem occurs while validating the service components.protected void validateEndpoints(Endpoint[] endpoints, Description desc, ErrorReporter errorReporter) throws WSDLException
endpoints
- The endpoints in a service in the WSDL component model.desc
- The WSDL 2.0 description component.errorReporter
- An error reporter to be used for reporting errors.
WSDLException
- A WSDLException is thrown if a problem occurs while validating the endpoint components.protected boolean testAssertionInterface0027(Interface interfac, ErrorReporter errorReporter) throws WSDLException
interfac
- The interface to check.errorReporter
- The error reporter.
WSDLException
protected boolean testAssertionInterface0030(Interface[] interfaces, ErrorReporter errorReporter) throws WSDLException
interfaces
- The interfaces in the description component.errorReporter
- The error reporter.
WSDLException
protected boolean testAssertionMEP0037(java.net.URI pattern, ErrorReporter errorReporter) throws WSDLException
pattern
- The message exchange pattern to check.errorReporter
- The error reporter.
WSDLException
protected boolean testAssertionInterfaceOperation0029(InterfaceOperation interfaceOperation, Interface interfac, ErrorReporter errorReporter) throws WSDLException
interfaceOperation
- The interface operation to check the namespace of.interfac
- The interface parent of the interface operation.errorReporter
- The error reporter.
WSDLException
protected boolean testAssertionInterfaceOperation0035(InterfaceOperation[] interfaceOperations, ErrorReporter errorReporter) throws WSDLException
interfaceOperations
- The interface operations to check for duplicate names.errorReporter
- The error reporter.
WSDLException
protected boolean testAssertionInterfaceFault0032(InterfaceFault[] interfaceFaults, ErrorReporter errorReporter) throws WSDLException
interfaceFaults
- The interface faults to check for duplicate names.errorReporter
- The error reporter.
WSDLException
protected boolean testAssertionInterfaceFault0028(InterfaceFault interfaceFault, Interface interfac, ErrorReporter errorReporter) throws WSDLException
interfaceFault
- The interface fault to check the namespace of.interfac
- The interface parent of the interface fault.errorReporter
- The error reporter.
WSDLException
protected boolean testAssertionInterfaceMessageReference0041(InterfaceMessageReference messageReference, ErrorReporter errorReporter) throws WSDLException
messageReference
- The interface message reference to check the message content model and element declarations.errorReporter
- The error reporter.
WSDLException
protected boolean testAssertionInterfaceMessageReference0042(InterfaceMessageReference[] messageReferences, ErrorReporter errorReporter) throws WSDLException
messageReferences
- The message references to check for duplicate names.errorReporter
- The error reporter.
WSDLException
protected boolean testAssertionInterfaceFaultReference0045(InterfaceFaultReference[] faultReferences, ErrorReporter errorReporter) throws WSDLException
faultReferences
- The fault references to check for duplicate fault/message label pairs.errorReporter
- The error reporter.
WSDLException
protected boolean testAssertionBinding0054(Binding binding, ErrorReporter errorReporter) throws WSDLException
binding
- The binding for which to check the contstraint.errorReporter
- The error Reporter.
WSDLException
protected boolean testAssertionBinding0055(Binding binding, ErrorReporter errorReporter) throws WSDLException
binding
- The binding of which to check the binding operations.errorReporter
- The error reporter.
WSDLException
protected boolean testAssertionBinding0056(Binding binding, ErrorReporter errorReporter) throws WSDLException
binding
- The binding of which to check the type.errorReporter
- The error reporter.
WSDLException
protected boolean testAssertionBinding0057(Binding[] bindings, ErrorReporter errorReporter) throws WSDLException
bindings
- The bindings in the description component.errorReporter
- The error reporter.
WSDLException
protected boolean testAssertionBindingFault0058(BindingFault[] bindingFaults, ErrorReporter errorReporter) throws WSDLException
bindingFaults
- The binding faults in the description component.errorReporter
- The error reporter.
WSDLException
protected boolean testAssertionBindingOperation0059(BindingOperation[] bindingOperations, ErrorReporter errorReporter) throws WSDLException
bindingOperations
- The binding operations to check for unique interface operations.errorReporter
- The error reporter.
WSDLException
protected boolean testAssertionBindingMessageReference0060(BindingMessageReference[] bindingMessageReferences, ErrorReporter errorReporter) throws WSDLException
bindingMessageReferences
- The binding message references to check for unique interface message references.errorReporter
- The error reporter.
WSDLException
protected boolean testAssertionBindingFaultReference0061(BindingFaultReference[] bindingFaultReferences, ErrorReporter errorReporter) throws WSDLException
bindingFaultReferences
- The binding fault references to check for unique interface fault references.errorReporter
- The error reporter.
WSDLException
protected boolean testAssertionBindingFaultReference0062(BindingFaultReference bindingFaultReference, ErrorReporter errorReporter) throws WSDLException
bindingFaultReference
- The binding fault reference to check if the specified interface fault reference exists.errorReporter
- The error reporter.
WSDLException
protected boolean testAssertionService0063(Service[] services, ErrorReporter errorReporter) throws WSDLException
services
- An array containing all the services in the description component.errorReporter
- The error reporter.
WSDLException
protected boolean testAssertionEndpoint0065(Endpoint[] endpoints, ErrorReporter errorReporter) throws WSDLException
endpoints
- An array containing all the endpoints for a service in the description component.errorReporter
- The error reporter.
WSDLException
protected boolean testAssertionEndpoint0064(Endpoint endpoint, ErrorReporter errorReporter) throws WSDLException
endpoint
- The endpoint of which the address should be checked.errorReporter
- The error reporter.
WSDLException
protected boolean testAssertionEndpoint0066(Endpoint endpoint, ErrorReporter errorReporter) throws WSDLException
endpoint
- The endpoint of which the binding should be checked.errorReporter
- The error reporter.
WSDLException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |