super.checkComponentConfig(comp);
if (action == null) {
String msg = "The action command must be specified.";
throw new BuildException(msg, getLocation());
}
if (!ACTION_MAP.containsKey(action)) {
String msg = "The action command (\"" + action + "\") is invalid.";
throw new BuildException(msg, getLocation());
}
// name must be valid string
String theName = comp.getName();
if ((theName == null) || (theName.length() == 0)) {
String msg = "The component name (\"" + theName + "\") is not valid";
throw new BuildException(msg, getLocation());
}