Adding JMCR-Stable version
[Benchmarks_CSolver.git] / JMCR-Stable / real-world application / jigsaw / src / org / w3c / tools / resources / MetaDataFrame.java
diff --git a/JMCR-Stable/real-world application/jigsaw/src/org/w3c/tools/resources/MetaDataFrame.java b/JMCR-Stable/real-world application/jigsaw/src/org/w3c/tools/resources/MetaDataFrame.java
new file mode 100644 (file)
index 0000000..ba57fef
--- /dev/null
@@ -0,0 +1,33 @@
+// MetaDataFrame.java\r
+// $Id: MetaDataFrame.java,v 1.1 2010/06/15 12:20:18 smhuang Exp $\r
+// (c) COPYRIGHT MIT and INRIA, 1996.\r
+// Please first read the full copyright statement in file COPYRIGHT.html\r
+\r
+package org.w3c.tools.resources ;\r
+\r
+public class MetaDataFrame extends ResourceFrame {\r
+\r
+    /**\r
+     * Get our target resource.\r
+     */\r
+    public Resource getTargetResource() {\r
+       Resource target = (Resource) getResource();\r
+       while (target instanceof ResourceFrame) {\r
+           target = ((ResourceFrame)target).getResource();\r
+       }\r
+       return target;\r
+    }\r
+\r
+    /**\r
+     * Perform the request, return null in MetaDataFrame.\r
+     * @param request the incomming request\r
+     * @exception ProtocolException If an error relative to the protocol occurs\r
+     * @exception ResourceException If an error not relative to the \r
+     * protocol occurs\r
+     */ \r
+    public ReplyInterface perform(RequestInterface request) \r
+       throws ProtocolException, ResourceException\r
+    {\r
+       return null;\r
+    }\r
+}\r