Project

Profile

Help

Bug #4741

closed

Push API: documentation/usability: how do you use the new document

Added by Michael Kay over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
2020-09-21
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
10, trunk
Fix Committed on Branch:
10, trunk
Fixed in Maintenance Release:
Platforms:

Description

With the new Push API in Saxon 10, it's unclear from the documentation how a newly constructed document can actually be used. The concrete subclass PushToReceiver writes the document to a Receiver which can be a DocumentBuilder, but that takes you out of s9api territory into lower-level interfaces.

The answer seems to be that Processor.newPush() creates a Push bound to a specific 9api Destination, but it's not easy to discover that.

Please register to edit this issue

Also available in: Atom PDF