return dSize = new DefaultSize();
else
throw new BuildException("Only one nested <default-size> element is allowed in an <compc> task.");
}
else if (elSpec.matches(name)) {
FlexFileSet fs = new FlexSwcFileSet(elSpec, true);
nestedFileSets.add(fs);
return fs;
}
else if (ilSpec.matches(name)) {
FlexFileSet fs = new FlexSwcFileSet(ilSpec, true);
nestedFileSets.add(fs);
return fs;
}
else if (lpSpec.matches(name)) {
FlexFileSet fs = new FlexSwcFileSet(lpSpec, true);
nestedFileSets.add(fs);
return fs;
}
else if (thSpec.matches(name)) {
FlexFileSet fs = new FlexFileSet(thSpec);
nestedFileSets.add(fs);
return fs;
}
else if (exSpec.matches(name)) {
return createExterns();
}
/* The following are unique to compc */
else if (icSpec.matches(name)) {
return createElem("class", icSpec);
}
else if (ifSpec.matches(name)) {
return createElem(new String[] { "name", "path" }, ifSpec);
}
else if (insSpec.matches(name)) {
return createElemAllowAppend(new String[] { "uri" }, insSpec);
}
else if (isSpec.matches(name)) {
FlexFileSet fs = new FlexFileSet(isSpec, true);
nestedFileSets.add(fs);
return fs;
}
else if (irSpec.matches(name)) {
return createElem("bundle", irSpec);