public void sendOperation(FeedOperation op) {
        switch (op.getType()) {
            case DOCUMENT:
                sender.put(op.getDocumentPut());
                break;
            case REMOVE:
                sender.remove(op.getDocumentRemove());
                break;
            case UPDATE:
                sender.update(op.getDocumentUpdate());
                break;
        }
    }
Wrapper class for SimpleFeedAccess to send various XML operations.
vespaclient-core/src/main/java/com/yahoo/feedapi/VespaFeedSender.java