public class WsdlInspector extends XmlSchemaInspector
It extracts the XML Schema from the
If
WsdlInspector is used for a Java environment, consider using it in conjunction with XmlSchemaToJavaTypeMappingProcessor
. For returning results to JavaScript environments, consider
JavaToJavaScriptTypeMappingProcessor and XmlUtils.elementToJson.
mLog| Constructor and Description |
|---|
WsdlInspector(XmlSchemaInspectorConfig config) |
| Modifier and Type | Method and Description |
|---|---|
protected Element |
getDocumentElement(ResourceResolver resolver,
InputStream... files)
Overridden to return the root of the XML Schema, not the root of the WSDL.
|
getReferenceAttribute, getTopLevelTypeAttribute, inspectProperty, inspectTraits, traverseFromTopLevelTypeToNamedChildrengetDocumentElement, getExtendsAttribute, getNameAttribute, getTypeAttribute, inspect, inspectAction, inspectAsDom, inspectTrait, inspectTraitSiblings, preprocessDocument, traversepublic WsdlInspector(XmlSchemaInspectorConfig config)
protected Element getDocumentElement(ResourceResolver resolver, InputStream... files) throws Exception
getDocumentElement in class BaseXmlInspectorresolver - helper in case getDocumentElement needs to resolve references defined
in the InputStream.ExceptionCopyright © 2015. All Rights Reserved.