org.objectweb.asm.xml

Class Processor

public class Processor extends Object

Processor is a command line tool that can be used for bytecode waving directed by XSL transformation.

In order to use a concrete XSLT engine, system property javax.xml.transform.TransformerFactory must be set to one of the following values.

jd.xslt jd.xml.xslt.trax.TransformerFactoryImpl
Saxon net.sf.saxon.TransformerFactoryImpl
Caucho com.caucho.xsl.Xsl
Xalan interpeter org.apache.xalan.processor.TransformerFactory
Xalan xsltc org.apache.xalan.xsltc.trax.TransformerFactoryImpl

Author: Eugene Kuleshov

Field Summary
static intBYTECODE
static intMULTI_XML
static intSINGLE_XML
Constructor Summary
Processor(int inRepresenation, int outRepresentation, InputStream input, OutputStream output, Source xslt)
Method Summary
static voidmain(String[] args)
intprocess()
protected voidupdate(Object arg, int n)

Field Detail

BYTECODE

public static final int BYTECODE

MULTI_XML

public static final int MULTI_XML

SINGLE_XML

public static final int SINGLE_XML

Constructor Detail

Processor

public Processor(int inRepresenation, int outRepresentation, InputStream input, OutputStream output, Source xslt)

Method Detail

main

public static void main(String[] args)

process

public int process()

update

protected void update(Object arg, int n)