in src/main/java/org/apache/easyant/core/parser/DefaultEasyAntXmlModuleDescriptorParser.java [133:176]
public void startElement(String uri, String localName, String name, Attributes attributes) throws SAXException {
super.startElement(uri, localName, name, attributes);
if (name.equals(easyantPrefix + ":build") && State.EXTRA_INFO == getState()) {
eaBuildStarted(attributes);
}
if (name.equals(easyantPrefix + ":plugin") && State.EXTRA_INFO == getState()) {
pluginStarted(attributes);
}
if (name.equals(easyantPrefix + ":property") && State.EXTRA_INFO == getState()) {
easyantPropertyStarted(attributes);
}
if (name.equals(easyantPrefix + ":bindtarget") && State.EXTRA_INFO == getState()) {
bindTargetStarted(attributes);
}
if (name.equals(easyantPrefix + ":configure-project") && State.EXTRA_INFO == getState()) {
if (easyAntState != EasyAntState.NONE) {
throw new SAXException("configure-project is not supported as a nested element");
}
configureProjectStarted(attributes);
}
if (name.equals(easyantPrefix + ":dependency") && easyAntState == EasyAntState.PLUGIN) {
pluginDependencyStarted(attributes);
}
if (name.equals(easyantPrefix + ":exclude") && easyAntState == EasyAntState.PLUGIN_DEPENDENCY) {
pluginDependencyExcludeStarted(attributes);
}
if (name.equals(easyantPrefix + ":include") && easyAntState == EasyAntState.PLUGIN_DEPENDENCY) {
pluginDependencyIncludeStarted(attributes);
}
if (name.equals(easyantPrefix + ":artifact") && easyAntState == EasyAntState.PLUGIN_DEPENDENCY) {
pluginDependencyIncludeStarted(attributes);
}
if (name.equals(easyantPrefix + ":conf") && easyAntState == EasyAntState.PLUGIN_DEPENDENCY) {
pluginDependencyConfStarted(attributes);
}
if (name.equals(easyantPrefix + ":exclude") && easyAntState == EasyAntState.PLUGIN) {
pluginExcludeStarted(attributes);
}
if (name.equals(easyantPrefix + ":conflict") && easyAntState == EasyAntState.PLUGIN) {
pluginConflictStarted(attributes);
}
}