You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should this even be a method in NamespaceMetaData? I dont think so
What does Find namespaces do?
it starts at a baseDirectory and find al files recursively with an extension of .xsd
add these certain files to a file list that is then iterated over
the iteration runs a closure gatherXsdTargetNamespaces and populates a map of unique namespaces and a List of associated files that declare the same import
input is schemaDoc
if @targetNamespace is empty, will populate with a “null”
Then should throw a warning if encountering a null when running XJC
Instead of populating a map as an intermediary, populate the NamespaceMetaData appropriately
if you do above, can move from out of it’s own class and just use the methods and closures in another class
What does ExternalNamespaceResolver <– good class name btw!
fields
externalImportStartLocation : type File
starting abslute file location of the externally imported namespace
schemaLocationsToParse
externallyImportedNamespaces
targetDir
This is the parentFile of the current schema being slurped
runs a method resolveExternalImportedNamespaces
this
What does OrderGraph do? <– bad name by the way
OrderGraph is a class that contains data for the namespace Graph Order, contains a list of NamespaceMetaData
also contains a List of Lists called orderGraph that is a list of lists of String values that are namespaces
contains a