net.sf.nxqd.xmldb
Class NxqdXMLResource
java.lang.Object
net.sf.nxqd.xmldb.NxqdService
net.sf.nxqd.xmldb.NxqdXMLResource
- All Implemented Interfaces:
- Configurable, Resource, Service, XMLResource
public class NxqdXMLResource
- extends NxqdService
- implements XMLResource
- Version:
- 1.0
- Author:
- See Also:
XMLResource
NxqdXMLResource
public NxqdXMLResource(Collection parent,
String id,
String type)
throws NxqdException,
XMLDBException
- The a new
NxqdXMLResource
constructor creates a new instance
of NxqdXMLResource.
- Throws:
NxqdException
XMLDBException
getDocumentId
public String getDocumentId()
throws XMLDBException
- Specified by:
getDocumentId
in interface XMLResource
- Throws:
XMLDBException
- See Also:
XMLResource.getDocumentId()
getSAXFeature
public boolean getSAXFeature(String feature)
throws SAXNotRecognizedException,
SAXNotSupportedException
- Specified by:
getSAXFeature
in interface XMLResource
- Throws:
SAXNotRecognizedException
SAXNotSupportedException
- See Also:
XMLResource.getSAXFeature(java.lang.String)
setSAXFeature
public void setSAXFeature(String feature,
boolean value)
throws SAXNotRecognizedException,
SAXNotSupportedException
- Specified by:
setSAXFeature
in interface XMLResource
- Throws:
SAXNotRecognizedException
SAXNotSupportedException
- See Also:
XMLResource.setSAXFeature(java.lang.String, boolean)
setContentAsSAX
public ContentHandler setContentAsSAX()
throws XMLDBException
- Specified by:
setContentAsSAX
in interface XMLResource
- Throws:
XMLDBException
- See Also:
XMLResource.setContentAsSAX()
getContentAsSAX
public void getContentAsSAX(ContentHandler handler)
throws XMLDBException
- Specified by:
getContentAsSAX
in interface XMLResource
- Throws:
XMLDBException
- See Also:
XMLResource.getContentAsSAX(org.xml.sax.ContentHandler)
setContentAsDOM
public void setContentAsDOM(Node root)
throws XMLDBException
- Specified by:
setContentAsDOM
in interface XMLResource
- Throws:
XMLDBException
- See Also:
XMLResource.setContentAsDOM(org.w3c.dom.Node)
getContentAsDOM
public Node getContentAsDOM()
throws XMLDBException
- Specified by:
getContentAsDOM
in interface XMLResource
- Throws:
XMLDBException
- See Also:
XMLResource.getContentAsDOM()
asString
public String asString()
throws XMLDBException
- Throws:
XMLDBException
getContent
public Object getContent()
throws XMLDBException
- Specified by:
getContent
in interface Resource
- Throws:
XMLDBException
- See Also:
Resource.getContent()
setContent
public void setContent(Object value)
throws XMLDBException
- Specified by:
setContent
in interface Resource
- Throws:
XMLDBException
- See Also:
Resource.setContent(java.lang.Object)
getResourceType
public String getResourceType()
throws XMLDBException
- Specified by:
getResourceType
in interface Resource
- Throws:
XMLDBException
- See Also:
Resource.getResourceType()
getId
public String getId()
throws XMLDBException
- Specified by:
getId
in interface Resource
- Throws:
XMLDBException
- See Also:
Resource.getId()
getParentCollection
public Collection getParentCollection()
throws XMLDBException
- Specified by:
getParentCollection
in interface Resource
- Throws:
XMLDBException
- See Also:
Resource.getParentCollection()
Copyright © 2005-2006 nxqd. All Rights Reserved.