org.apache.tools.ant.taskdefs.optional.junit
Class Xalan1Executor
java.lang.Object
org.apache.tools.ant.taskdefs.optional.junit.XalanExecutor
org.apache.tools.ant.taskdefs.optional.junit.Xalan1Executor
public class Xalan1Executor
extends org.apache.tools.ant.taskdefs.optional.junit.XalanExecutor
Xalan 1 executor. It will need a lot of things in the classpath:
xerces for the serialization, xalan and bsf for the extension.
- do everything via reflection to avoid compile problems ?
protected String | getImplementation() - This methods should return the classname implementation of the
underlying xslt processor
|
protected String | getProcVersion(String classNameImpl) - Try to discover the xslt processor version based on the
className.
|
Xalan1Executor
public Xalan1Executor()
getImplementation
protected String getImplementation()
This methods should return the classname implementation of the
underlying xslt processor
- getImplementation in interface org.apache.tools.ant.taskdefs.optional.junit.XalanExecutor
- the classname of the implementation, for example:
org.apache.xalan.processor.TransformerFactoryImpl
getProcVersion(String)
getProcVersion
protected String getProcVersion(String classNameImpl)
throws BuildException
Try to discover the xslt processor version based on the
className. There is nothing carved in stone and it can change
anytime, so this is just for the sake of giving additional
information if we can find it.
- getProcVersion in interface org.apache.tools.ant.taskdefs.optional.junit.XalanExecutor
classNameImpl
- the classname of the underlying xslt processor
- a string representing the implementation version.
BuildException
-
Copyright B) 2000-2005 Apache Software Foundation. All Rights Reserved.