Doc
Interface Doc
- All Known Implementing Classes:
- SimpleDoc
public interface Doc
Interface Doc specifies the interface for an object that supplies one piece of print data for a Print Job. "Doc" is a short, easy-to-pronounce term that means "a piece of print data." The client passes to the Print Job an object that implements interface Doc, and the Print Job calls methods on that object to obtain the print data. The Doc interface lets a Print Job:
- Determine the format, or "doc flavor" (class
DocFlavor
), in which the print data is available- A doc flavor designates the print data format (a MIME type) and the representation class of the object from which the print data comes- - Obtain the print data representation object, which is an instance of the doc flavor's representation class- The Print