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 TypeMethodDescriptionvoidaddResource(String documentId, NodeList nodes) Returns aResourcecontaining 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 aResourcecontaining an XML representation of all resources stored in the set.- Specified by:
getMembersAsResourcein interfaceResourceSet- Overrides:
getMembersAsResourcein classSimpleResourceSet- Returns:
- A
Resourceinstance containing an XML representation of all set members. - Throws:
XMLDBException
-
serialize
-