package net.wotonomy.web; import net.wotonomy.foundation.NSData; import net.wotonomy.foundation.NSDictionary; public class WOResourceURL extends WODynamicElement { public WOResourceURL() { super(); } public WOResourceURL(String aName, NSDictionary assocs, WOElement template) { super(aName, assocs, template); } public void appendToResponse(WOResponse r, WOContext c) { String fname = stringForProperty("filename", c.component()); if (fname != null) { String fwk = stringForProperty("framework", c.component()); return; } NSData data = (NSData) valueForProperty("data", c.component()); if (data != null) { String mime = stringForProperty("mimeType", c.component()); String key = stringForProperty("key", c.component()); return; } } }