org.xmldb.api.reference
public class ResourceSetImpl extends SimpleResourceSet
ResourceSet contains a set of resources as returned from a query
or other operation.
| Constructor Summary | |
|---|---|
| ResourceSetImpl(Collection collection) | |
| Method Summary | |
|---|---|
| void | addResource(String documentId, NodeList nodes) |
| Resource | getMembersAsResource()
Returns a Resource containing an XML representation of all
resources stored in the set.
|
| String | serialize(Node node) |
Resource containing an XML representation of all
resources stored in the set.
Returns: A Resource instance containing an XML representation
of all set members.
Throws: XMLDBException