lapis.swing
Class SwingDocument.Factory

java.lang.Object
  extended bylapis.DocumentFactory
      extended bylapis.swing.SwingDocument.Factory
Enclosing class:
SwingDocument

public static class SwingDocument.Factory
extends DocumentFactory

Factory for creating SwingDocuments.


Field Summary
 
Fields inherited from class lapis.DocumentFactory
debug
 
Constructor Summary
SwingDocument.Factory()
           
 
Method Summary
 Document make(Document src, String contentType)
           
 Document make(Reader in, String contentType)
           
 Document make(String content, String contentType)
           
 
Methods inherited from class lapis.DocumentFactory
make, make, make, make, make, make, make, make, make, make, makeWriter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwingDocument.Factory

public SwingDocument.Factory()
Method Detail

make

public Document make(Reader in,
                     String contentType)
              throws IOException
Specified by:
make in class DocumentFactory
Throws:
IOException

make

public Document make(String content,
                     String contentType)
Specified by:
make in class DocumentFactory

make

public Document make(Document src,
                     String contentType)
Specified by:
make in class DocumentFactory