DESY ACOP Beans Home

com.cosylab.util
Class XMLTransformer

java.lang.Object
  extended by com.cosylab.util.XMLTransformer

public class XMLTransformer
extends java.lang.Object

A simple runnable class that transforms a stylesheet and an XML document into a HTML document. It works by using default Java 1.4 XML transformer.


Constructor Summary
XMLTransformer()
           
 
Method Summary
static void main(java.lang.String[] args)
          Starts the transformer and transforms XML document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLTransformer

public XMLTransformer()
Method Detail

main

public static void main(java.lang.String[] args)
Starts the transformer and transforms XML document. As an input, the main method takes two string arguments: As a result, the program places the HTML file into the directory, where the source XML was found. The resulting filename is the same as the filename of the input XML file, except that the resulting file has HTML extension instead of XML.

Parameters:
args - DOCUMENT ME!


Copyright © 2010. All Rights Reserved.