org.exist.xmldb
Class RemoteXMLResource
java.lang.Object
org.exist.xmldb.RemoteXMLResource
- All Implemented Interfaces:
- EXistResource
- public class RemoteXMLResource
- extends java.lang.Object
- implements EXistResource
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
protected java.lang.String id
documentName
protected java.lang.String documentName
path
protected java.lang.String path
handle
protected int handle
pos
protected int pos
parent
protected RemoteCollection parent
content
protected java.lang.String content
file
protected java.io.File file
permissions
protected Permission permissions
contentLen
protected int contentLen
outputProperties
protected java.util.Properties outputProperties
lexicalHandler
protected org.xml.sax.ext.LexicalHandler lexicalHandler
datecreated
protected java.util.Date datecreated
datemodified
protected java.util.Date datemodified
RemoteXMLResource
public RemoteXMLResource(RemoteCollection parent,
java.lang.String docId,
java.lang.String id)
throws XMLDBException
RemoteXMLResource
public RemoteXMLResource(RemoteCollection parent,
int handle,
int pos,
java.lang.String docId,
java.lang.String id)
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
getContent
public java.lang.Object getContent()
throws XMLDBException
- Throws:
XMLDBException
getContentAsDOM
public org.w3c.dom.Node getContentAsDOM()
throws XMLDBException
- Throws:
XMLDBException
getContentAsSAX
public void getContentAsSAX(org.xml.sax.ContentHandler handler)
throws XMLDBException
- Throws:
XMLDBException
getNodeId
public java.lang.String getNodeId()
getDocumentId
public java.lang.String getDocumentId()
throws XMLDBException
- Throws:
XMLDBException
getId
public java.lang.String getId()
throws XMLDBException
- Throws:
XMLDBException
getParentCollection
public Collection getParentCollection()
throws XMLDBException
- Throws:
XMLDBException
getResourceType
public java.lang.String getResourceType()
throws XMLDBException
- Throws:
XMLDBException
setXMLReader
public void setXMLReader(org.xml.sax.XMLReader xmlReader)
- Sets the external XMLReader to use.
- Parameters:
xmlReader - the XMLReader
setContent
public void setContent(java.lang.Object value)
throws XMLDBException
- Throws:
XMLDBException
setContentAsDOM
public void setContentAsDOM(org.w3c.dom.Node root)
throws XMLDBException
- Throws:
XMLDBException
setContentAsSAX
public org.xml.sax.ContentHandler setContentAsSAX()
throws XMLDBException
- Throws:
XMLDBException
getSAXFeature
public boolean getSAXFeature(java.lang.String arg0)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
- Throws:
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
setSAXFeature
public void setSAXFeature(java.lang.String arg0,
boolean arg1)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
- Throws:
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
getData
protected byte[] getData()
throws XMLDBException
- Force content to be loaded into mem
- Throws:
XMLDBException
setContentLength
public void setContentLength(int len)
getContentLength
public int getContentLength()
throws XMLDBException
- Specified by:
getContentLength in interface EXistResource
- Throws:
XMLDBException
setPermissions
public void setPermissions(Permission perms)
getPermissions
public Permission getPermissions()
- Specified by:
getPermissions in interface EXistResource
setLexicalHandler
public void setLexicalHandler(org.xml.sax.ext.LexicalHandler handler)
- Specified by:
setLexicalHandler in interface EXistResource
setProperties
protected void setProperties(java.util.Properties properties)
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.