Package org.xmldb.api.reference
Class ResourceSetImpl
java.lang.Object
org.xmldb.api.sdk.SimpleResourceSet
org.xmldb.api.reference.ResourceSetImpl
- All Implemented Interfaces:
ResourceSet
ResourceSet
contains a set of resources as returned from a query
or other operation.-
Field Summary
Fields inherited from class org.xmldb.api.sdk.SimpleResourceSet
RESOURCE_SET_NS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addResource
(String documentId, NodeList nodes) Returns aResource
containing an XML representation of all resources stored in the set.Methods inherited from class org.xmldb.api.sdk.SimpleResourceSet
addAll, addResource, buildMembersAsResourceDocument, clear, getIterator, getResource, getSize, removeResource
-
Constructor Details
-
ResourceSetImpl
- Throws:
XMLDBException
-
-
Method Details
-
addResource
- Throws:
XMLDBException
-
getMembersAsResource
Returns aResource
containing an XML representation of all resources stored in the set.- Specified by:
getMembersAsResource
in interfaceResourceSet
- Overrides:
getMembersAsResource
in classSimpleResourceSet
- Returns:
- A
Resource
instance containing an XML representation of all set members. - Throws:
XMLDBException
-
serialize
-