org.apache.cocoon.formatter
Class OpenXMLFormatter

java.lang.Object
  |
  +--org.apache.cocoon.formatter.OpenXMLFormatter
Direct Known Subclasses:
OpenXMLHTMLFormatter, OpenXMLWMLFormatter, OpenXMLXHTMLFormatter, OpenXMLXMLFormatter

public abstract class OpenXMLFormatter
extends java.lang.Object
implements Formatter, Configurable, Status

This class implements an abstract formatter based on OpenXML publishing API.

Version:
$Revision: 1.4 $ $Date: 1999/10/22 22:17:51 $
Author:
Stefano Mazzocchi

Field Summary
protected  java.lang.String format
           
protected  java.lang.String printer
           
protected  java.lang.String publicID
           
private  org.openxml.x3p.StreamFormat sf
           
protected  java.lang.String spaces
           
protected  java.lang.String systemID
           
protected  java.lang.String type
           
protected  java.lang.String width
           
 
Constructor Summary
OpenXMLFormatter()
           
 
Method Summary
 void format(org.w3c.dom.Document document, java.io.Writer writer, java.util.Dictionary parameters)
          Prints the give document into a page.
 void init(Configurations conf)
          Initialize the class by passing its configurations.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

sf

private org.openxml.x3p.StreamFormat sf

type

protected java.lang.String type

publicID

protected java.lang.String publicID

systemID

protected java.lang.String systemID

format

protected java.lang.String format

width

protected java.lang.String width

spaces

protected java.lang.String spaces

printer

protected java.lang.String printer
Constructor Detail

OpenXMLFormatter

public OpenXMLFormatter()
Method Detail

init

public void init(Configurations conf)
Description copied from interface: Configurable
Initialize the class by passing its configurations.
Specified by:
init in interface Configurable

format

public void format(org.w3c.dom.Document document,
                   java.io.Writer writer,
                   java.util.Dictionary parameters)
            throws java.lang.Exception
Description copied from interface: Formatter
Prints the give document into a page.
Specified by:
format in interface Formatter


Copyright 1999 Java Apache Project. All Rights Reserved.