|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.woden.internal.wsdl20.validation.WSDLDocumentValidator
public class WSDLDocumentValidator
The WSDL document validator validates a WSDL XML model against the document assertions specified in the WSDL 2.0 specification.
| Constructor Summary | |
|---|---|
WSDLDocumentValidator()
|
|
| Method Summary | |
|---|---|
protected boolean |
testAssertionDescription1006(DescriptionElement descElement,
ErrorReporter errorReporter)
Test assertion Description-1006. |
protected boolean |
testAssertionInterface1012(InterfaceElement interfaceElem,
ErrorReporter errorReporter)
Test assertion Interface-1012. |
protected boolean |
testAssertionQNameResolution1064ForInterfaceFaultReference(InterfaceFaultReferenceElement faultReference,
ErrorReporter errorReporter)
Test assertion QName-resolution-1064 for an InterfaceFaultReference element. |
protected boolean |
testAssertionSchema1066(DescriptionElement descElement,
QName qualifiedName,
ErrorReporter errorReporter)
Test assertion Schema-1066. |
protected boolean |
testAssertionSchema1069(ImportedSchema schema,
ErrorReporter errorReporter)
Test assertion Schema-1069. |
protected boolean |
testAssertionSchema1070(ImportedSchema schema,
ErrorReporter errorReporter)
Test assertion Schema-1070. |
protected boolean |
testAssertionSchema1073(InlinedSchema[] schema,
ErrorReporter errorReporter)
Test assertion Schema-1073. |
boolean |
validate(DescriptionElement descElement,
ErrorReporter errorReporter)
Validate the document representation of the WSDL document against the WSDL 2.0 specification. |
protected boolean |
validateInterfaceFaultReferences(DescriptionElement descElement,
InterfaceFaultReferenceElement[] faultReferences,
ErrorReporter errorReporter)
Validate the InterfaceFaultReference elements. |
protected boolean |
validateInterfaceFaults(DescriptionElement descElement,
InterfaceFaultElement[] faultElements,
ErrorReporter errorReporter)
Validate the InterfaceFault elements. |
protected boolean |
validateInterfaceMessageReferences(DescriptionElement descElement,
InterfaceMessageReferenceElement[] messageReferences,
ErrorReporter errorReporter)
Validate the InterfaceMessageReference elements. |
protected boolean |
validateInterfaceOperations(DescriptionElement descElement,
InterfaceOperationElement[] interfaceOperations,
ErrorReporter errorReporter)
Validate the InterfaceOperation elements. |
protected boolean |
validateInterfaces(DescriptionElement descElement,
InterfaceElement[] interfaces,
ErrorReporter errorReporter)
Validate the contents of the interface element. |
protected boolean |
validateTypes(TypesElement types,
ErrorReporter errorReporter)
Validate the contents of the types element. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WSDLDocumentValidator()
| Method Detail |
|---|
public boolean validate(DescriptionElement descElement,
ErrorReporter errorReporter)
throws WSDLException
descElement - The WSDL 2.0 XML model description element.errorReporter - The error reporter to use for any errors.
WSDLException
protected boolean validateTypes(TypesElement types,
ErrorReporter errorReporter)
throws WSDLException
types - The types element of which to validate the contents.errorReporter - The error reporter.
WSDLException
protected boolean validateInterfaces(DescriptionElement descElement,
InterfaceElement[] interfaces,
ErrorReporter errorReporter)
throws WSDLException
interfaces - An array of interface elements for which to validate the contents.errorReporter - The error reporter.
WSDLException
protected boolean validateInterfaceFaults(DescriptionElement descElement,
InterfaceFaultElement[] faultElements,
ErrorReporter errorReporter)
throws WSDLException
descElement - The root description element.faultElements - An array of fault elements.errorReporter - An error reporter.
WSDLException
protected boolean validateInterfaceOperations(DescriptionElement descElement,
InterfaceOperationElement[] interfaceOperations,
ErrorReporter errorReporter)
throws WSDLException
descElement - The root description element.interfaceOperations - An array of interface operation elements.errorReporter - An error reporter.
WSDLException
protected boolean validateInterfaceMessageReferences(DescriptionElement descElement,
InterfaceMessageReferenceElement[] messageReferences,
ErrorReporter errorReporter)
throws WSDLException
descElement - The root description element.messageReferences - An array of interface message reference elements.errorReporter - An error reporter.
WSDLException
protected boolean validateInterfaceFaultReferences(DescriptionElement descElement,
InterfaceFaultReferenceElement[] faultReferences,
ErrorReporter errorReporter)
throws WSDLException
descElement - The root description element.faultReferences - An array of interface fault reference elements.errorReporter - An error reporter.
WSDLException
protected boolean testAssertionDescription1006(DescriptionElement descElement,
ErrorReporter errorReporter)
throws WSDLException
descElement - The description element for which to check the target namespace.errorReporter - The error reporter.
WSDLException
protected boolean testAssertionSchema1069(ImportedSchema schema,
ErrorReporter errorReporter)
throws WSDLException
schema - The imported schema to check.errorReporter - The error reporter.
WSDLException
protected boolean testAssertionSchema1070(ImportedSchema schema,
ErrorReporter errorReporter)
throws WSDLException
schema - The imported schema to check.errorReporter - The error reporter.
WSDLException
protected boolean testAssertionSchema1073(InlinedSchema[] schema,
ErrorReporter errorReporter)
throws WSDLException
schema - An array containing all the inline schemas in the order in which they are defined.errorReporter - The error reporter.
WSDLException
protected boolean testAssertionInterface1012(InterfaceElement interfaceElem,
ErrorReporter errorReporter)
throws WSDLException
interfaceElem - The interface element to check the style default list.errorReporter - The error reporter.
WSDLException
protected boolean testAssertionSchema1066(DescriptionElement descElement,
QName qualifiedName,
ErrorReporter errorReporter)
throws WSDLException
descElement - The description element of the document.namespace - Check this namespace to see if it has been defined.errorReporter - The error Reporter.
WSDLException
protected boolean testAssertionQNameResolution1064ForInterfaceFaultReference(InterfaceFaultReferenceElement faultReference,
ErrorReporter errorReporter)
throws WSDLException
faultReference - The interface fault reference to check for a broken reference.errorReporter - An error reporter.
WSDLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||