final String role = tag.getAttribute("role");
if(role!=null)
{
module.attPools.getOrCreate(role).exported = true;
return new ChildlessState();
}
// base class may process this element.
}
if(tag.localName.equals("hedgeExport"))
{
final String label = tag.getAttribute("label");
if(label==null)
reader.reportError(RELAXCoreIslandSchemaReader.ERR_MISSING_ATTRIBUTE,"hedgeExport","label");
// recover by ignoring this hedgeExport
else
module.hedgeRules.getOrCreate(label).exported = true;
return new ChildlessState();
}
return super.createChildState(tag);
}