org.exist.xmldb
Class AbstractEXistResource
java.lang.Object
org.exist.xmldb.AbstractEXistResource
- All Implemented Interfaces:
- EXistResource
- Direct Known Subclasses:
- LocalBinaryResource, LocalXMLResource
- public abstract class AbstractEXistResource
- extends java.lang.Object
- implements EXistResource
Abstract base implementation of interface EXistResource.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
user
protected User user
pool
protected BrokerPool pool
parent
protected LocalCollection parent
docId
protected java.lang.String docId
mimeType
protected java.lang.String mimeType
isNewResource
protected boolean isNewResource
AbstractEXistResource
public AbstractEXistResource(User user,
BrokerPool pool,
LocalCollection parent,
java.lang.String docId,
java.lang.String mimeType)
getCreationTime
public abstract java.util.Date getCreationTime()
throws XMLDBException
- Specified by:
getCreationTime in interface EXistResource
- Throws:
XMLDBException
getLastModificationTime
public abstract java.util.Date getLastModificationTime()
throws XMLDBException
- Specified by:
getLastModificationTime in interface EXistResource
- Throws:
XMLDBException
getPermissions
public abstract Permission getPermissions()
throws XMLDBException
- Specified by:
getPermissions in interface EXistResource
- Throws:
XMLDBException
setLexicalHandler
public void setLexicalHandler(org.xml.sax.ext.LexicalHandler handler)
- Specified by:
setLexicalHandler in interface EXistResource
setMimeType
public void setMimeType(java.lang.String mime)
- Specified by:
setMimeType in interface EXistResource
getMimeType
public java.lang.String getMimeType()
throws XMLDBException
- Specified by:
getMimeType in interface EXistResource
- Throws:
XMLDBException
openDocument
protected DocumentImpl openDocument(DBBroker broker,
int lockMode)
throws XMLDBException
- Throws:
XMLDBException
closeDocument
protected void closeDocument(DocumentImpl doc,
int lockMode)
throws XMLDBException
- Throws:
XMLDBException
getDocType
public org.w3c.dom.DocumentType getDocType()
throws XMLDBException
- Specified by:
getDocType in interface EXistResource
- Throws:
XMLDBException
setDocType
public void setDocType(org.w3c.dom.DocumentType doctype)
throws XMLDBException
- Specified by:
setDocType in interface EXistResource
- Throws:
XMLDBException
<oXygen/>
XML Editor
provides support for editing and debugging XQuery
expressions against the eXist XML Database.