112113114115116117118119120121122
break; case OBJECT_NODE_TYPE: tmpNodeType = new ObjectNodeType(); break; case RESOURCE_NODE_TYPE: tmpNodeType = new ResourceNodeType(); break; default: throw new IllegalArgumentException("Cannot read class type: " + b); } return tmpNodeType;