/**
*
*/
public void addRequest(Model op, Node node)
{
Model request;
if (node instanceof XMLNode)
{
XMLBuilder builder = new XMLBuilder(unit, typeTable, mxmlConfiguration, document, op);
node.analyze(builder);
request = builder.xml;
}
else
{
ServiceRequestBuilder builder = new ServiceRequestBuilder(unit, typeTable, mxmlConfiguration, document, REQUEST);
node.analyze(builder);
request = builder.graph;
/*
Array argNames = new Array(typeTable, op);
argNames.setXmlLineNumber(node.beginLine);
op.setProperty("argumentNames", argNames);
argNames.setParentIndex("argumentNames");
for (Iterator propNames = request.orderedPropertyNames(); propNames.hasNext();)
{
String s = (String)propNames.next();
argNames.addEntry(s);
}
*/
}
op.setProperty(REQUEST, request);
request.setParentIndex(REQUEST);
request.setParent(op);
}