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.xsltjd.xml.xslt.trax.TransformerFactoryImpl
Saxonnet.sf.saxon.TransformerFactoryImpl
Cauchocom.caucho.xsl.Xsl
Xalan interpeterorg.apache.xalan.processor.TransformerFactory
Xalan xsltcorg.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()
void
update(Object arg)

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

public void update(Object arg)