public final class ValidatorUtil extends Object
Modifier and Type | Method and Description |
---|---|
static Map<String,Document> |
getImportedWsdlMap(Document document,
String basePath)
Get a map of wsdls imported by the given wsdl.
|
static SchemaCollection |
getSchema(javax.wsdl.Definition def) |
static List<SchemaCollection> |
getSchemaList(Document document,
String baseURI)
Get a list of schemas found in a wsdl Document.
|
public static SchemaCollection getSchema(javax.wsdl.Definition def)
public static List<SchemaCollection> getSchemaList(Document document, String baseURI) throws IOException, SAXException
document
- The wsdl Document.baseURI
- The URI of the wsdl. Allows schemas with relative
paths to be resolved.IOException
SAXException
public static Map<String,Document> getImportedWsdlMap(Document document, String basePath) throws IOException, SAXException
document
- The wsdl DocumentbasePath
- The path of the wsdlIOException
SAXException
Apache CXF