|
||||||||||
| 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
public class 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 |
testAssertionBinding1044(Binding binding,
ErrorReporter errorReporter)
Test assertion Binding-1044. |
protected boolean |
testAssertionBinding1045(Binding binding,
ErrorReporter errorReporter)
Test assertion Binding-1045. |
protected boolean |
testAssertionBinding1048(Binding binding,
ErrorReporter errorReporter)
Test assertion Binding-1048. |
protected boolean |
testAssertionBinding1049(Binding[] bindings,
ErrorReporter errorReporter)
Test assertion Binding-1049. |
protected boolean |
testAssertionBindingFault1050(BindingFault[] bindingFaults,
ErrorReporter errorReporter)
Test assertion BindingFault-1050. |
protected boolean |
testAssertionBindingFaultReference1055(BindingFaultReference[] bindingFaultReferences,
ErrorReporter errorReporter)
Test assertion BindingFaultReference-1055. |
protected boolean |
testAssertionBindingFaultReference1059(BindingFaultReference bindingFaultReference,
ErrorReporter errorReporter)
Test assertion BindingFaultReference-1059. |
protected boolean |
testAssertionBindingMessageReference1052(BindingMessageReference[] bindingMessageReferences,
ErrorReporter errorReporter)
Test assertion BindingMessageReference-1052. |
protected boolean |
testAssertionBindingOperation1051(BindingOperation[] bindingOperations,
ErrorReporter errorReporter)
Test assertion BindingOperation-1051. |
protected boolean |
testAssertionEndpoint1061(Endpoint endpoint,
ErrorReporter errorReporter)
Test assertion Endpoint-1061. |
protected boolean |
testAssertionEndpoint1062(Endpoint endpoint,
ErrorReporter errorReporter)
Test assertion Endpoint-1062. |
protected boolean |
testAssertionInterface1009(Interface interfac,
ErrorReporter errorReporter)
Test assertion Interface-1009. |
protected boolean |
testAssertionInterface1010(Interface[] interfaces,
ErrorReporter errorReporter)
Test assertion Interface-1010. |
protected boolean |
testAssertionInterfaceFaultReference1039(InterfaceFaultReference[] faultReferences,
ErrorReporter errorReporter)
Test assertion InterfaceFaultReference-1039. |
protected boolean |
testAssertionInterfaceMessageReference1028(InterfaceMessageReference messageReference,
ErrorReporter errorReporter)
Test assertion InterfaceMessageReference-1028. |
protected boolean |
testAssertionInterfaceMessageReference1029(InterfaceMessageReference[] messageReferences,
ErrorReporter errorReporter)
Test assertion InterfaceMessageReference-1029. |
protected boolean |
testAssertionMEP1022(java.net.URI pattern,
ErrorReporter errorReporter)
Test assertion MEP-1022. |
protected boolean |
testAssertionService1060(Service[] services,
ErrorReporter errorReporter)
Test assertion Service-1060. |
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 |
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 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 testAssertionInterface1009(Interface interfac,
ErrorReporter errorReporter)
throws WSDLException
interfac - The interface to check.errorReporter - The error reporter.
WSDLException
protected boolean testAssertionInterface1010(Interface[] interfaces,
ErrorReporter errorReporter)
throws WSDLException
interfaces - The interfaces in the description component.errorReporter - The error reporter.
WSDLException
protected boolean testAssertionMEP1022(java.net.URI pattern,
ErrorReporter errorReporter)
throws WSDLException
pattern - The message exchange pattern to check.errorReporter - The error reporter.
WSDLException
protected boolean testAssertionInterfaceMessageReference1028(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 testAssertionInterfaceMessageReference1029(InterfaceMessageReference[] messageReferences,
ErrorReporter errorReporter)
throws WSDLException
messageReferences - The message references to check for duplicate names.errorReporter - The error reporter.
WSDLException
protected boolean testAssertionInterfaceFaultReference1039(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 testAssertionBinding1044(Binding binding,
ErrorReporter errorReporter)
throws WSDLException
binding - The binding for which to check the contstraint.errorReporter - The error Reporter.
WSDLException
protected boolean testAssertionBinding1045(Binding binding,
ErrorReporter errorReporter)
throws WSDLException
binding - The binding of which to check the binding operations.errorReporter - The error reporter.
WSDLException
protected boolean testAssertionBinding1048(Binding binding,
ErrorReporter errorReporter)
throws WSDLException
binding - The binding of which to check the type.errorReporter - The error reporter.
WSDLException
protected boolean testAssertionBinding1049(Binding[] bindings,
ErrorReporter errorReporter)
throws WSDLException
bindings - The bindings in the description component.errorReporter - The error reporter.
WSDLException
protected boolean testAssertionBindingFault1050(BindingFault[] bindingFaults,
ErrorReporter errorReporter)
throws WSDLException
bindingFaults - The binding faults in the description component.errorReporter - The error reporter.
WSDLException
protected boolean testAssertionBindingOperation1051(BindingOperation[] bindingOperations,
ErrorReporter errorReporter)
throws WSDLException
bindingOperations - The binding operations to check for unique interface operations.errorReporter - The error reporter.
WSDLException
protected boolean testAssertionBindingMessageReference1052(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 testAssertionBindingFaultReference1055(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 testAssertionBindingFaultReference1059(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 testAssertionService1060(Service[] services,
ErrorReporter errorReporter)
throws WSDLException
services - An array containing all the services in the description component.errorReporter - The error reporter.
WSDLException
protected boolean testAssertionEndpoint1061(Endpoint endpoint,
ErrorReporter errorReporter)
throws WSDLException
endpoint - The endpoint of which the address should be checked.errorReporter - The error reporter.
WSDLException
protected boolean testAssertionEndpoint1062(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 | |||||||||