FramedResource resource = new FramedResource();
Hashtable defs = new Hashtable(5) ;
defs.put(id, noext);
ResourceContext context =
updateDefaultChildAttributes(defs);
resource.initialize(defs);
addResource(resource, defs);
// add a NegotiatedFrame.
String variants[] = new String[1] ;
variants[0] = name ;
NegotiatedFrame negotiated = new NegotiatedFrame();