com.googlecode.lightest.core
Class LightestTransformer
java.lang.Object
com.googlecode.lightest.core.CustomizedTransformer
com.googlecode.lightest.core.LightestTransformer
- All Implemented Interfaces:
- groovy.lang.GroovyObject
public class LightestTransformer
- extends CustomizedTransformer
- implements groovy.lang.GroovyObject
The Lightest customizations to the TestNG XSLT report transforms.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XSL_NS
public static final String XSL_NS
SVG_NS
public static final String SVG_NS
builder
protected groovy.xml.DOMBuilder builder
LightestTransformer
public LightestTransformer()
getTransformAsStream
public InputStream getTransformAsStream()
- Description copied from class:
CustomizedTransformer
- Returns the XSL transform source as an InputStream.
- Specified by:
getTransformAsStream in class CustomizedTransformer
eval
protected List eval(String xpathExpr,
Object context)
customize
public void customize(Document doc)
- Description copied from class:
CustomizedTransformer
- Customizes the XSL transform XML. This will be invoked before the
transform is applied to the source document.
- Specified by:
customize in class CustomizedTransformer
- Parameters:
doc - the document object of the XSLT document.
main
public static void main(Object args)
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass in interface groovy.lang.GroovyObject- Overrides:
getMetaClass in class CustomizedTransformer
setMetaClass
public void setMetaClass(groovy.lang.MetaClass metaClass)
- Specified by:
setMetaClass in interface groovy.lang.GroovyObject- Overrides:
setMetaClass in class CustomizedTransformer
invokeMethod
public Object invokeMethod(String name,
Object args)
- Specified by:
invokeMethod in interface groovy.lang.GroovyObject- Overrides:
invokeMethod in class CustomizedTransformer
getProperty
public Object getProperty(String name)
- Specified by:
getProperty in interface groovy.lang.GroovyObject- Overrides:
getProperty in class CustomizedTransformer
setProperty
public void setProperty(String name,
Object value)
- Specified by:
setProperty in interface groovy.lang.GroovyObject- Overrides:
setProperty in class CustomizedTransformer
Copyright © 2009. All Rights Reserved.