[Yanel-commits] rev 26964 -
public/yanel/contributions/realms/foaf/src/resources/findfriend/src/java/org/wyona/yanel/impl/resources/findfriend
michi at wyona.com
michi at wyona.com
Sun Aug 26 23:09:43 CEST 2007
Author: michi
Date: 2007-08-26 23:09:43 +0200 (Sun, 26 Aug 2007)
New Revision: 26964
Modified:
public/yanel/contributions/realms/foaf/src/resources/findfriend/src/java/org/wyona/yanel/impl/resources/findfriend/FindFriendResource.java
Log:
viewable started
Modified: public/yanel/contributions/realms/foaf/src/resources/findfriend/src/java/org/wyona/yanel/impl/resources/findfriend/FindFriendResource.java
===================================================================
--- public/yanel/contributions/realms/foaf/src/resources/findfriend/src/java/org/wyona/yanel/impl/resources/findfriend/FindFriendResource.java 2007-08-26 20:56:26 UTC (rev 26963)
+++ public/yanel/contributions/realms/foaf/src/resources/findfriend/src/java/org/wyona/yanel/impl/resources/findfriend/FindFriendResource.java 2007-08-26 21:09:43 UTC (rev 26964)
@@ -9,6 +9,8 @@
import org.wyona.yanel.core.attributes.viewable.View;
import org.wyona.yanel.core.attributes.viewable.ViewDescriptor;
+import org.wyona.meguni.util.ResultSet;
+
/**
*
*/
@@ -45,7 +47,11 @@
*
*/
public View getView(String viewId) {
- return null;
+ ResultSet resultSet = getSearchResults();
+ View view = new View();
+ view.setInputStream(new java.io.StringBufferInputStream(new StringBuffer("<foaf/>").toString()));
+ view.setMimeType(getMimeType(viewId));
+ return view;
}
/**
@@ -54,4 +60,11 @@
public ViewDescriptor[] getViewDescriptors() {
return null;
}
+
+ /**
+ *
+ */
+ private ResultSet getSearchResults() {
+ return null;
+ }
}
More information about the Yanel-commits
mailing list