try {
for( int i = 0; i < size; i++ ) {
JSONObject jobj;
jobj = jArray.getJSONObject(i);
String nodeTypeStr = jobj.getString("PLAN_NODE_TYPE");
PlanNodeType nodeType = PlanNodeType.get( nodeTypeStr );
AbstractPlanNode apn = null;
try {
apn = nodeType.getPlanNodeClass().newInstance();
} catch (InstantiationException e) {
System.err.println( e.getMessage() );
e.printStackTrace();
return;
} catch (IllegalAccessException e) {