super(sampleFileFactory);
}
@Override
protected GeneratedXsds generateXsds(SampleFile sampleFile) throws Exception {
XsdGenerator generator = new XsdGenerator(sampleFile.getFile());
String xsdFileName = getXsdFileName();
if (StringUtils.isBlank(xsdFileName)) {
xsdFileName = sampleFile.getSuggestedXsdName();
setXsdFileName(xsdFileName);
}
generator.setXsdFileName(xsdFileName);
generator.setIncludeMainXsdNameInSecondarySchemaNames(true);
return generator.generate();
}