org.eclipse.swordfish.registry
Class DefaultResource

java.lang.Object
  extended by org.eclipse.swordfish.registry.DefaultResource
All Implemented Interfaces:
Resource
Direct Known Subclasses:
ListResource, PolicyResource, WSDLListHtmlResource, WSILResource

public class DefaultResource
extends java.lang.Object
implements Resource


Constructor Summary
DefaultResource()
           
 
Method Summary
 void appendContent(java.io.Writer writer)
           
 void delete()
           
 void get(java.io.Writer writer)
           
 java.lang.String getCharacterEncoding()
           
 java.lang.String getContentType()
           
 java.lang.String getId()
           
 void put(java.io.Reader reader)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultResource

public DefaultResource()
Method Detail

appendContent

public void appendContent(java.io.Writer writer)
                   throws java.io.IOException
Specified by:
appendContent in interface Resource
Throws:
java.io.IOException

delete

public void delete()
            throws VerbNotSupportedException,
                   java.io.IOException
Specified by:
delete in interface Resource
Throws:
VerbNotSupportedException
java.io.IOException

get

public void get(java.io.Writer writer)
         throws VerbNotSupportedException,
                java.io.IOException
Specified by:
get in interface Resource
Throws:
VerbNotSupportedException
java.io.IOException

getCharacterEncoding

public java.lang.String getCharacterEncoding()
Specified by:
getCharacterEncoding in interface Resource

getContentType

public java.lang.String getContentType()
Specified by:
getContentType in interface Resource

put

public void put(java.io.Reader reader)
         throws VerbNotSupportedException,
                java.io.IOException
Specified by:
put in interface Resource
Throws:
VerbNotSupportedException
java.io.IOException

getId

public java.lang.String getId()