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 int
BYTECODE
static int
MULTI_XML
static int
SINGLE_XML

Constructor Summary

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

Method Summary

static void
main(String[] args)
int
process()
protected void
update(Object arg, int n)

Field Details

BYTECODE

public static final int BYTECODE

Field Value:
1


MULTI_XML

public static final int MULTI_XML

Field Value:
2


SINGLE_XML

public static final int SINGLE_XML

Field Value:
3

Constructor Details

Processor

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

Method Details

main

public static void main(String[] args)
            throws Exception


process

public int process()
            throws TransformerException,
                   IOException,
                   SAXException


update

protected void update(Object arg,
                      int n)