/** * Creates the validate xml command. * * @return Command */ public Command createValidateXMLCommand() { Command cmd = new ValidateXmlCommand(appClientFile); return cmd; }// createValidateXMLCommand
/** * @see Command */ public void execute() { results = new ArrayList(); validatateXml(); if (isValidateNested()) { List archives = archive.getArchiveFiles(); for (int i = 0; i < archives.size(); i++) { Archive a = (Archive) archives.get(i); if (!a.isModuleFile()) continue; ModuleFile m = (ModuleFile) a; ValidateXmlCommand cmd = new ValidateXmlCommand(m); cmd.execute(); results.addAll(cmd.getResult()); } } }
public Command createValidateXMLCommand() { ValidateXmlCommand cmd = (ValidateXmlCommand) super.createValidateXMLCommand(); cmd.setValidateNested(false); return cmd; }
/** * Creates the validateXML command. * * @return Command */ public Command createValidateXMLCommand() { Command cmd = new ValidateXmlCommand(earFile); return cmd; }// createValidateXMLCommand