org.exist.xmldb
Interface EXistResource

All Known Implementing Classes:
AbstractEXistResource, AbstractRemoteResource, LocalBinaryResource, LocalXMLResource, RemoteBinaryResource, RemoteXMLResource

public interface EXistResource

Defines additional methods implemented by XML and binary resources.

Author:
wolf

Method Summary
 void freeResources()
           
 long getContentLength()
           
 Date getCreationTime()
           
 DocumentType getDocType()
           
 Date getLastModificationTime()
           
 String getMimeType()
           
 Permission getPermissions()
           
 void setDocType(DocumentType doctype)
           
 void setLexicalHandler(LexicalHandler handler)
           
 void setMimeType(String mime)
           
 

Method Detail

getCreationTime

Date getCreationTime()
                     throws XMLDBException
Throws:
XMLDBException

getLastModificationTime

Date getLastModificationTime()
                             throws XMLDBException
Throws:
XMLDBException

getPermissions

Permission getPermissions()
                          throws XMLDBException
Throws:
XMLDBException

getContentLength

long getContentLength()
                      throws XMLDBException
Throws:
XMLDBException

setLexicalHandler

void setLexicalHandler(LexicalHandler handler)

setMimeType

void setMimeType(String mime)

getMimeType

String getMimeType()
                   throws XMLDBException
Throws:
XMLDBException

getDocType

DocumentType getDocType()
                        throws XMLDBException
Throws:
XMLDBException

setDocType

void setDocType(DocumentType doctype)
                throws XMLDBException
Throws:
XMLDBException

freeResources

void freeResources()
                   throws XMLDBException
Throws:
XMLDBException


Copyright (C) The eXist-db Project. All rights reserved.