| Type | Name and description |
|---|---|
DocumentFactory |
docFactoryGenerates BaseSchemaDocument's |
static org.gradle.api.logging.Logger |
log |
java.util.Map<java.io.File, BaseSchemaDocument> |
resolvedHistoryHistory of files in a file system to their corresponding BaseSchemaDocument. |
| Constructor and description |
|---|
ExternalDependencyResolver
(DocumentFactory docFactory)Creates this resolver. |
| Type | Name and description |
|---|---|
void |
resolve(java.util.Set<java.io.File> xsds, java.util.List<XsdNamespace> namespaces)Resolves the external dependencies for xsds. |
java.util.Set<BaseSchemaDocument> |
resolveDependencies(java.io.File document)Resolves dependencies of an external dependency. |
| 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() |
Generates BaseSchemaDocument's
History of files in a file system to their corresponding
BaseSchemaDocument.
Creates this resolver.
docFactory - generates BaseSchemaDocument's Resolves the external dependencies for xsds.
An external dependency is a dependency an xsd has that is contained in a
different parent folder than the xsd. This check is done by seeing if a
dependency is in the set of xsds found recursively from the xsdDir
defined in JaxbExtension.
This method returns nothing, but the flag hasDependencies is set
on an XsdNamespace if a namespace contains only internal (not
external) dependencies or if a namespaces total dependencies do not equal its
total external dependencies.
xsds - all xsds under xsdDirnamespaces - list of namespaces xsds are grouped byResolves dependencies of an external dependency. Recursively slurps and searches for a files dependencies, until there are none left to search for.
XsdNamespacedocument - external xsd file that needs to be process and slurpedGroovy Documentation