01: // MetaDataFrame.java
02: // $Id: MetaDataFrame.java,v 1.1 1999/04/26 12:13:12 bmahe Exp $
03: // (c) COPYRIGHT MIT and INRIA, 1996.
04: // Please first read the full copyright statement in file COPYRIGHT.html
05:
06: package org.w3c.tools.resources;
07:
08: public class MetaDataFrame extends ResourceFrame {
09:
10: /**
11: * Get our target resource.
12: */
13: public Resource getTargetResource() {
14: Resource target = (Resource) getResource();
15: while (target instanceof ResourceFrame) {
16: target = ((ResourceFrame) target).getResource();
17: }
18: return target;
19: }
20:
21: /**
22: * Perform the request, return null in MetaDataFrame.
23: * @param request the incomming request
24: * @exception ProtocolException If an error relative to the protocol occurs
25: * @exception ResourceException If an error not relative to the
26: * protocol occurs
27: */
28: public ReplyInterface perform(RequestInterface request)
29: throws ProtocolException, ResourceException {
30: return null;
31: }
32: }
|