org.torweg.pulse.vfs.filebrowser
Class AbstractDescriptor
java.lang.Object
org.torweg.pulse.vfs.filebrowser.AbstractDescriptor
- All Implemented Interfaces:
- JDOMable
- Direct Known Subclasses:
- VFSDirectoryDescriptor, VFSFileDescriptor
public abstract class AbstractDescriptor
- extends java.lang.Object
- implements JDOMable
contains common methods for descriptors of the VirtualFileSystem .
- Version:
- $Revision: 1640 $
- Author:
- Thomas Weber
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractDescriptor
public AbstractDescriptor()
insertVirtualFileInformation
public final org.jdom.Element insertVirtualFileInformation(org.jdom.Element e, VirtualFile f, ServiceRequest req)
- inserts the information of the given
VirtualFile into the given
Element.
This is a utility method for the JDOM deserialisation.
- Parameters:
e - the elementf - the filereq - the current request
- Returns:
- an
Element with the information of the given VirtualFile inserted
setServiceRequest
public final void setServiceRequest(ServiceRequest r)
- sets the current
ServiceRequest for the descriptor.
- Parameters:
r - the current ServiceRequest
getServiceRequest
protected final ServiceRequest getServiceRequest()
- returns the current
ServiceRequest.
- Returns:
- the current
ServiceRequest