}
}
public void checkParams(ErrorVisitor errs) throws ToolException {
super.checkParams(errs);
CommandDocument doc = super.getCommandDocument();
if (doc.hasParameter(ToolConstants.CFG_FRONTEND)) {
String ft = doc.getParameter(ToolConstants.CFG_FRONTEND);
if (!ToolConstants.JAXWS_FRONTEND.equals(ft)
&& !ToolConstants.SIMPLE_FRONTEND.equals(ft)) {
Message msg = new Message("INVALID_FRONTEND", LOG, new Object[] {ft});
errs.add(new ErrorVisitor.UserError(msg.toString()));
}
if (ToolConstants.SIMPLE_FRONTEND.equals(ft)
&& doc.getParameter(ToolConstants.CFG_DATABINDING) != null
&& !ToolConstants.
AEGIS_DATABINDING.equals(doc.getParameter(ToolConstants.CFG_DATABINDING))) {
Message msg = new Message("INVALID_DATABINDING_FOR_SIMPLE", LOG);
errs.add(new ErrorVisitor.UserError(msg.toString()));
}
}
if (doc.hasParameter(ToolConstants.CFG_WRAPPERBEAN)) {
String ft = doc.getParameter(ToolConstants.CFG_FRONTEND);
if (ft != null && !ToolConstants.JAXWS_FRONTEND.equals(ft)) {
Message msg = new Message("WRAPPERBEAN_WITHOUT_JAXWS", LOG);
errs.add(new ErrorVisitor.UserError(msg.toString()));
}
}