public final class ValidatorUtil
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.util.Map<java.lang.String,org.w3c.dom.Document> |
getImportedWsdlMap(org.w3c.dom.Document document,
java.lang.String basePath)
Get a map of wsdls imported by the given wsdl.
|
static SchemaCollection |
getSchema(Definition def) |
static java.util.List<SchemaCollection> |
getSchemaList(org.w3c.dom.Document document,
java.lang.String baseURI)
Get a list of schemas found in a wsdl Document.
|
public static SchemaCollection getSchema(Definition def)
public static java.util.List<SchemaCollection> getSchemaList(org.w3c.dom.Document document, java.lang.String baseURI) throws java.io.IOException, org.xml.sax.SAXException
document - The wsdl Document.baseURI - The URI of the wsdl. Allows schemas with relative
paths to be resolved.java.io.IOExceptionorg.xml.sax.SAXExceptionpublic static java.util.Map<java.lang.String,org.w3c.dom.Document> getImportedWsdlMap(org.w3c.dom.Document document,
java.lang.String basePath)
throws java.io.IOException,
org.xml.sax.SAXException
document - The wsdl DocumentbasePath - The path of the wsdljava.io.IOExceptionorg.xml.sax.SAXException