javax.print
Class DocFlavor.SERVICE_FORMATTED

java.lang.Object
  extended by javax.print.DocFlavor
      extended by javax.print.DocFlavor.SERVICE_FORMATTED
All Implemented Interfaces:
Serializable, Cloneable
Enclosing class:
DocFlavor

public static class DocFlavor.SERVICE_FORMATTED
extends DocFlavor

Predefined static DocFlavor objects for document types which use service formatted print data.

All the defined doc flavors have a MIME type of "application/x-java-jvm-local-objectref".

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.print.DocFlavor
DocFlavor.BYTE_ARRAY, DocFlavor.CHAR_ARRAY, DocFlavor.INPUT_STREAM, DocFlavor.READER, DocFlavor.SERVICE_FORMATTED, DocFlavor.STRING, DocFlavor.URL
 
Field Summary
static DocFlavor.SERVICE_FORMATTED PAGEABLE
          Service formatted doc flavor with a representation class of "java.awt.print.Pageable".
static DocFlavor.SERVICE_FORMATTED PRINTABLE
          Service formatted doc flavor with a representation class of "java.awt.print.Printable".
static DocFlavor.SERVICE_FORMATTED RENDERABLE_IMAGE
          Service formatted doc flavor with a representation class of "java.awt.image.renderable.RenderableImage".
 
Fields inherited from class javax.print.DocFlavor
hostEncoding
 
Constructor Summary
DocFlavor.SERVICE_FORMATTED(String className)
          Constructor for doc flavor objects with a MIME type of "application/x-java-jvm-local-objectref" and the given print data representation classname.
 
Method Summary
 
Methods inherited from class javax.print.DocFlavor
equals, getMediaSubtype, getMediaType, getMimeType, getParameter, getRepresentationClassName, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

PAGEABLE

public static final DocFlavor.SERVICE_FORMATTED PAGEABLE
Service formatted doc flavor with a representation class of "java.awt.print.Pageable".


PRINTABLE

public static final DocFlavor.SERVICE_FORMATTED PRINTABLE
Service formatted doc flavor with a representation class of "java.awt.print.Printable".


RENDERABLE_IMAGE

public static final DocFlavor.SERVICE_FORMATTED RENDERABLE_IMAGE
Service formatted doc flavor with a representation class of "java.awt.image.renderable.RenderableImage".

Constructor Detail

DocFlavor.SERVICE_FORMATTED

public DocFlavor.SERVICE_FORMATTED(String className)
Constructor for doc flavor objects with a MIME type of "application/x-java-jvm-local-objectref" and the given print data representation classname.

Parameters:
className - the representation classname
Throws:
NullPointerException - if className is null.