}
}
}
} else if (PHASE_ORDER.equals(ST)) {
int attribCount = pullparser.getAttributeCount();
DeploymentData tempdata = DeploymentData.getInstance();
if (attribCount > 0) {
for (int i = 0; i < attribCount; i++) {
String attname = pullparser.getAttributeLocalName(i);
String attvalue = pullparser.getAttributeValue(i);
if (TYPE.equals(attname)) {
if (INFLOWST.equals(attvalue)) {
tempdata.setINPhases(processPhaseOrder());
} else if (OUTFLOWST.equals(attvalue)) {
tempdata.setOUTPhases(processPhaseOrder());
} else if (IN_FAILTFLOW.equals(attvalue)) {
tempdata.setIN_FaultPhases(processPhaseOrder());
} else if (OUT_FAILTFLOW.equals(attvalue)) {
tempdata.setOUT_FaultPhases(processPhaseOrder());
} else {
throw new DeploymentException(
"un defined flow type " + ST);
}
}