|
|||||||||||
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
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 |
testAssertionDescription0025(DescriptionElement descElement,
ErrorReporter errorReporter)
Test assertion Description-0025. |
protected boolean |
testAssertionInterface0031(InterfaceElement interfaceElem,
ErrorReporter errorReporter)
Test assertion Interface-0031. |
protected boolean |
testAssertionSchema0016(DescriptionElement descElement,
java.lang.String namespace,
ErrorReporter errorReporter)
Test assertion Schema-0016. |
protected boolean |
testAssertionSchema0017(ImportedSchema schema,
ErrorReporter errorReporter)
Test assertion Schema-0017. |
protected boolean |
testAssertionSchema0018(InlinedSchema[] schema,
ErrorReporter errorReporter)
Test assertion Schema-0018. |
protected boolean |
testAssertionSchema0020(DescriptionElement descElement,
InterfaceMessageReferenceElement messageReference,
ErrorReporter errorReporter)
Test assertion Schema-0020. |
protected boolean |
testAssertionSchema0020b(DescriptionElement descElement,
InterfaceFaultElement faultElement,
ErrorReporter errorReporter)
Test assertion Schema-0020. |
protected boolean |
testAssertionSchema0052(ImportedSchema schema,
ErrorReporter errorReporter)
Test assertion Schema-0052. |
boolean |
validate(DescriptionElement descElement,
ErrorReporter errorReporter)
Validate the document representation of the WSDL document against the WSDL 2.0 specification. |
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 testAssertionDescription0025(DescriptionElement descElement, ErrorReporter errorReporter) throws WSDLException
descElement
- The description element for which to check the target namespace.errorReporter
- The error reporter.
WSDLException
protected boolean testAssertionSchema0017(ImportedSchema schema, ErrorReporter errorReporter) throws WSDLException
schema
- The imported schema to check.errorReporter
- The error reporter.
WSDLException
protected boolean testAssertionSchema0052(ImportedSchema schema, ErrorReporter errorReporter) throws WSDLException
schema
- The imported schema to check.errorReporter
- The error reporter.
WSDLException
protected boolean testAssertionSchema0018(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 testAssertionInterface0031(InterfaceElement interfaceElem, ErrorReporter errorReporter) throws WSDLException
interfaceElem
- The interface element to check the style default list.errorReporter
- The error reporter.
WSDLException
protected boolean testAssertionSchema0020(DescriptionElement descElement, InterfaceMessageReferenceElement messageReference, ErrorReporter errorReporter) throws WSDLException
descElement
- The description element of the document.messageReference
- The message reference to check.errorReporter
- The error Reporter.
WSDLException
protected boolean testAssertionSchema0020b(DescriptionElement descElement, InterfaceFaultElement faultElement, ErrorReporter errorReporter) throws WSDLException
descElement
- The description element of the document.faultElement
- The fault element to check.errorReporter
- The error Reporter.
WSDLException
protected boolean testAssertionSchema0016(DescriptionElement descElement, java.lang.String namespace, 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
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |