org.exist.xmldb
Class RemoteXMLResource
java.lang.Object
org.exist.xmldb.RemoteXMLResource
- All Implemented Interfaces:
- EXistResource, org.xmldb.api.base.Resource, org.xmldb.api.modules.XMLResource
public class RemoteXMLResource
- extends java.lang.Object
- implements org.xmldb.api.modules.XMLResource, EXistResource
Fields inherited from interface org.xmldb.api.modules.XMLResource |
RESOURCE_TYPE |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoteXMLResource
public RemoteXMLResource(RemoteCollection parent,
XmldbURI docId,
java.lang.String id)
throws org.xmldb.api.base.XMLDBException
- Throws:
org.xmldb.api.base.XMLDBException
RemoteXMLResource
public RemoteXMLResource(RemoteCollection parent,
int handle,
int pos,
XmldbURI docId,
java.lang.String id)
throws org.xmldb.api.base.XMLDBException
- Throws:
org.xmldb.api.base.XMLDBException
getCreationTime
public java.util.Date getCreationTime()
throws org.xmldb.api.base.XMLDBException
- Specified by:
getCreationTime
in interface EXistResource
- Throws:
org.xmldb.api.base.XMLDBException
getLastModificationTime
public java.util.Date getLastModificationTime()
throws org.xmldb.api.base.XMLDBException
- Specified by:
getLastModificationTime
in interface EXistResource
- Throws:
org.xmldb.api.base.XMLDBException
getContent
public java.lang.Object getContent()
throws org.xmldb.api.base.XMLDBException
- Specified by:
getContent
in interface org.xmldb.api.base.Resource
- Throws:
org.xmldb.api.base.XMLDBException
getContentAsDOM
public org.w3c.dom.Node getContentAsDOM()
throws org.xmldb.api.base.XMLDBException
- Specified by:
getContentAsDOM
in interface org.xmldb.api.modules.XMLResource
- Throws:
org.xmldb.api.base.XMLDBException
getContentAsSAX
public void getContentAsSAX(org.xml.sax.ContentHandler handler)
throws org.xmldb.api.base.XMLDBException
- Specified by:
getContentAsSAX
in interface org.xmldb.api.modules.XMLResource
- Throws:
org.xmldb.api.base.XMLDBException
getNodeId
public java.lang.String getNodeId()
getDocumentId
public java.lang.String getDocumentId()
throws org.xmldb.api.base.XMLDBException
- Specified by:
getDocumentId
in interface org.xmldb.api.modules.XMLResource
- Throws:
org.xmldb.api.base.XMLDBException
getId
public java.lang.String getId()
throws org.xmldb.api.base.XMLDBException
- Specified by:
getId
in interface org.xmldb.api.base.Resource
- Throws:
org.xmldb.api.base.XMLDBException
getParentCollection
public org.xmldb.api.base.Collection getParentCollection()
throws org.xmldb.api.base.XMLDBException
- Specified by:
getParentCollection
in interface org.xmldb.api.base.Resource
- Throws:
org.xmldb.api.base.XMLDBException
getResourceType
public java.lang.String getResourceType()
throws org.xmldb.api.base.XMLDBException
- Specified by:
getResourceType
in interface org.xmldb.api.base.Resource
- Throws:
org.xmldb.api.base.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 org.xmldb.api.base.XMLDBException
- Specified by:
setContent
in interface org.xmldb.api.base.Resource
- Throws:
org.xmldb.api.base.XMLDBException
setContentAsDOM
public void setContentAsDOM(org.w3c.dom.Node root)
throws org.xmldb.api.base.XMLDBException
- Specified by:
setContentAsDOM
in interface org.xmldb.api.modules.XMLResource
- Throws:
org.xmldb.api.base.XMLDBException
setContentAsSAX
public org.xml.sax.ContentHandler setContentAsSAX()
throws org.xmldb.api.base.XMLDBException
- Specified by:
setContentAsSAX
in interface org.xmldb.api.modules.XMLResource
- Throws:
org.xmldb.api.base.XMLDBException
getSAXFeature
public boolean getSAXFeature(java.lang.String arg0)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
- Specified by:
getSAXFeature
in interface org.xmldb.api.modules.XMLResource
- 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
- Specified by:
setSAXFeature
in interface org.xmldb.api.modules.XMLResource
- Throws:
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
setContentLength
public void setContentLength(int len)
getContentLength
public int getContentLength()
throws org.xmldb.api.base.XMLDBException
- Specified by:
getContentLength
in interface EXistResource
- Throws:
org.xmldb.api.base.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
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 org.xmldb.api.base.XMLDBException
- Specified by:
getDocType
in interface EXistResource
- Throws:
org.xmldb.api.base.XMLDBException
setDocType
public void setDocType(org.w3c.dom.DocumentType doctype)
throws org.xmldb.api.base.XMLDBException
- Specified by:
setDocType
in interface EXistResource
- Throws:
org.xmldb.api.base.XMLDBException
Copyright (C) Wolfgang Meier. All rights reserved.