/** * Bindings classes return a string rather than boolean, which is passed here to set isPartial. * This should be set before setting the collection when creating a bulk response. */ public void setPartialResponse(String isPartial) throws JAXRException { if (collection.size() > 0) { throw new JAXRException( ResourceBundle.getBundle("com/sun/xml/registry/common/LocalStrings") .getString("BulkResponseImpl:Cannot_set_isPartial_with_collection_already_set.")); } this.isPartial = Boolean.valueOf(isPartial).booleanValue(); }