public class ResourceSetImpl extends SimpleResourceSet
ResourceSet contains a set of resources as returned from a query
or other operation.collection, RESOURCE_SET_NS, resources| Constructor and Description |
|---|
ResourceSetImpl(Collection collection) |
| Modifier and Type | Method and Description |
|---|---|
void |
addResource(java.lang.String documentId,
org.w3c.dom.NodeList nodes) |
Resource |
getMembersAsResource()
Returns a
Resource containing an XML representation of all
resources stored in the set. |
java.lang.String |
serialize(org.w3c.dom.Node node) |
addResource, buildMembersAsResourceDocument, clear, getIterator, getResource, getSize, removeResourcepublic ResourceSetImpl(Collection collection) throws XMLDBException
XMLDBExceptionpublic void addResource(java.lang.String documentId,
org.w3c.dom.NodeList nodes)
throws XMLDBException
XMLDBExceptionpublic Resource getMembersAsResource() throws XMLDBException
Resource containing an XML representation of all
resources stored in the set.getMembersAsResource in interface ResourceSetgetMembersAsResource in class SimpleResourceSetResource instance containing an XML representation
of all set members.XMLDBExceptionpublic java.lang.String serialize(org.w3c.dom.Node node)