class DefaultDocumentSlurper extends java.lang.Object
Slurps SchemaDocument's dependencies
| Type | Name and description |
|---|---|
java.util.Set<java.lang.String> |
slurpDependencies(groovy.util.slurpersupport.GPathResult dependencies, java.io.File documentFile, java.lang.String dependencyType)Slurps the dependencies of a SchemaDocument.
|
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Slurps the dependencies of a SchemaDocument.
The dependencyType is used to define what type of dependencies
are being searched and can be either:
wsdl imports
xsd imports
xsd includes
This is put in place to be able to process XSD and WSDL documents in the
same method. A WSDL document defines the location of an imported WSDL with
attribute location instead of the XSD specs schemaLocation.
Schemadocument
dependends on.dependencies - groovy.util.XmlSlurper dependency nodes
to slurp updocumentFile - slurped xsd file in file systemdependencyType - the type of dependency being slurped