public class WSDLDocumentValidator extends Object
| Constructor and Description |
|---|
WSDLDocumentValidator() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.WSDLExceptionprotected boolean validateTypes(TypesElement types, ErrorReporter errorReporter) throws WSDLException
types - The types element of which to validate the contents.errorReporter - The error reporter.WSDLExceptionprotected 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.WSDLExceptionprotected 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.WSDLExceptionprotected 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.WSDLExceptionprotected 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.WSDLExceptionprotected 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.WSDLExceptionprotected boolean testAssertionDescription1006(DescriptionElement descElement, ErrorReporter errorReporter) throws WSDLException
descElement - The description element for which to check the target namespace.errorReporter - The error reporter.WSDLExceptionprotected boolean testAssertionSchema1069(ImportedSchema schema, ErrorReporter errorReporter) throws WSDLException
schema - The imported schema to check.errorReporter - The error reporter.WSDLExceptionprotected boolean testAssertionSchema1070(ImportedSchema schema, ErrorReporter errorReporter) throws WSDLException
schema - The imported schema to check.errorReporter - The error reporter.WSDLExceptionprotected 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.WSDLExceptionprotected boolean testAssertionInterface1012(InterfaceElement interfaceElem, ErrorReporter errorReporter) throws WSDLException
interfaceElem - The interface element to check the style default list.errorReporter - The error reporter.WSDLExceptionprotected 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.WSDLExceptionprotected boolean testAssertionQNameResolution1064ForInterfaceFaultReference(InterfaceFaultReferenceElement faultReference, ErrorReporter errorReporter) throws WSDLException
faultReference - The interface fault reference to check for a broken reference.errorReporter - An error reporter.WSDLExceptionCopyright © 2005-2012 Apache Software Foundation. All Rights Reserved.