org.exist.xmldb
Class RemoteBinaryResource

java.lang.Object
  extended byorg.exist.xmldb.RemoteBinaryResource
All Implemented Interfaces:
EXistResource

public class RemoteBinaryResource
extends java.lang.Object
implements EXistResource

Author:
wolf

Field Summary
protected  java.util.Date datecreated
           
protected  java.util.Date datemodified
           
 
Constructor Summary
RemoteBinaryResource(RemoteCollection parent, java.lang.String documentName)
           
 
Method Summary
 java.lang.Object getContent()
           
 int getContentLength()
           
 java.util.Date getCreationTime()
           
 org.w3c.dom.DocumentType getDocType()
           
 java.lang.String getId()
           
 java.util.Date getLastModificationTime()
           
 java.lang.String getMimeType()
           
 Collection getParentCollection()
           
 Permission getPermissions()
           
 java.lang.String getResourceType()
           
 void setContent(java.lang.Object obj)
           
 void setContentLength(int len)
           
 void setDocType(org.w3c.dom.DocumentType doctype)
           
 void setLexicalHandler(org.xml.sax.ext.LexicalHandler handler)
           
 void setMimeType(java.lang.String mime)
           
 void setPermissions(Permission perms)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

datecreated

protected java.util.Date datecreated

datemodified

protected java.util.Date datemodified
Constructor Detail

RemoteBinaryResource

public RemoteBinaryResource(RemoteCollection parent,
                            java.lang.String documentName)
                     throws XMLDBException
Method Detail

getParentCollection

public Collection getParentCollection()
                               throws XMLDBException
Throws:
XMLDBException

getId

public java.lang.String getId()
                       throws XMLDBException
Throws:
XMLDBException

getResourceType

public java.lang.String getResourceType()
                                 throws XMLDBException
Throws:
XMLDBException

getContent

public java.lang.Object getContent()
                            throws XMLDBException
Throws:
XMLDBException

setContent

public void setContent(java.lang.Object obj)
                throws XMLDBException
Throws:
XMLDBException

getCreationTime

public java.util.Date getCreationTime()
                               throws XMLDBException
Specified by:
getCreationTime in interface EXistResource
Throws:
XMLDBException

getLastModificationTime

public java.util.Date getLastModificationTime()
                                       throws XMLDBException
Specified by:
getLastModificationTime in interface EXistResource
Throws:
XMLDBException

setPermissions

public void setPermissions(Permission perms)

getPermissions

public Permission getPermissions()
Specified by:
getPermissions in interface EXistResource

setContentLength

public void setContentLength(int len)

getContentLength

public int getContentLength()
                     throws XMLDBException
Specified by:
getContentLength 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()
Specified by:
getMimeType in interface EXistResource

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.