com.opensymphony.provider.xmlprinter
Class DefaultXMLPrinterProvider

java.lang.Object
  extended bycom.opensymphony.provider.xmlprinter.DefaultXMLPrinterProvider
All Implemented Interfaces:
Provider, XMLPrinterProvider

public class DefaultXMLPrinterProvider
extends Object
implements XMLPrinterProvider

XMLPrinterProvider implementation with no dependencies to other printers. Uses very simple recursive walk down tree writing as it goes. Lacks many features (including support for namespaces), normalization, and flexible formatting options, but it's fast, very small and standalone.

Version:
$Revision: 1.1.1.1 $
Author:
Joe Walnes

Constructor Summary
DefaultXMLPrinterProvider()
           
 
Method Summary
 void destroy()
          Shutdown Provider.
 void init()
          Startup Provider.
 void print(org.w3c.dom.Document doc, Writer out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultXMLPrinterProvider

public DefaultXMLPrinterProvider()
Method Detail

destroy

public void destroy()
Description copied from interface: Provider
Shutdown Provider.

Specified by:
destroy in interface Provider

init

public void init()
          throws ProviderConfigurationException
Description copied from interface: Provider
Startup Provider.

Specified by:
init in interface Provider
Throws:
ProviderConfigurationException - thrown if error in startup or configuration.

print

public void print(org.w3c.dom.Document doc,
                  Writer out)
           throws IOException
Specified by:
print in interface XMLPrinterProvider
Throws:
IOException

OSCore Project Page