org.schmant.task.xml.xslt
Class XsltTF

java.lang.Object
  extended by org.schmant.task.stub.AbstractTaskFactory<T,U>
      extended by org.schmant.task.stub.AbstractActionTaskFactory<T,U>
          extended by org.schmant.task.stub.AbstractProcessTaskFactory<XsltTF,XsltTask>
              extended by org.schmant.task.xml.xslt.XsltTF
All Implemented Interfaces:
ActionTaskConfigurable<XsltTF>, ActionTaskFactory<XsltTF,XsltTask>, LoggingConfigurable<XsltTF>, OverwriteConfigurable<XsltTF>, SourceConfigurable<XsltTF>, TargetConfigurable<XsltTF>, GeneratorTaskConfigurable<XsltTF>, GeneratorTaskFactory<XsltTF,XsltTask>, ProcessTaskConfigurable<XsltTF>, ProcessTaskFactory<XsltTF,XsltTask>, TaskFactory<XsltTF,XsltTask>, TaskRunnable, StylesheetCompilerConfigurable<XsltTF>

public final class XsltTF
extends AbstractProcessTaskFactory<XsltTF,XsltTask>
implements StylesheetCompilerConfigurable<XsltTF>

Factory for the XsltTask.

See XsltTF

Since:
0.5
Author:
Karl Gustafsson
See Also:
XsltTask
Task_package:
org.schmant.task.base

Field Summary
 
Fields inherited from interface org.schmant.task.confable.OverwriteConfigurable
DEFAULT_OVERWRITE_STRATEGY
 
Constructor Summary
XsltTF()
           
 
Method Summary
 XsltTF addOutputProperties(Properties p)
           
 XsltTF addOutputProperty(String key, String value)
           
 XsltTF clearAttributes()
           
 XsltTF clearFeatures()
           
 XsltTF clearOutputProperties()
           
protected  XsltTask createSpecification()
          Subclasses implement this to create the task specification object that this factory uses to configure the task that it is creating.
 XsltTF setAttribute(String name, Object value)
           
 XsltTF setAttributes(Object o)
           
 XsltTF setFeature(String name, boolean b)
           
 XsltTF setFeatures(Map<String,Boolean> m)
           
 XsltTF setParameter(String key, Object value)
           
 XsltTF setParameters(Map<String,?> m)
           
 XsltTF setStylesheet(Object o)
           
 XsltTF setTemplates(Object o)
           
 XsltTF setTransformerFactoryClassName(String fqn)
           
 XsltTF setUriResolver(URIResolver r)
           
 XsltTF setUriResolverDecorator(UriResolverDecorator<?> urd)
           
 XsltTF setXmlUriResolver(URIResolver r)
           
 XsltTF setXmlUriResolverDecorator(UriResolverDecorator<?> urd)
           
 XsltTF setXslUriResolver(URIResolver r)
           
 XsltTF setXslUriResolverDecorator(UriResolverDecorator<?> urd)
           
 
Methods inherited from class org.schmant.task.stub.AbstractProcessTaskFactory
setOverwrite, setOverwriteStrategy, setTarget
 
Methods inherited from class org.schmant.task.stub.AbstractActionTaskFactory
addSource, addSources, clearSources, setRelativeToBase, setSource, setSources
 
Methods inherited from class org.schmant.task.stub.AbstractTaskFactory
copy, create, getLastCreated, getSpecification, getThis, run, setLogFooter, setLogHeader, setReportLevel, setTraceLogging, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.schmant.task.TaskFactory
copy, create, getLastCreated, getSpecification
 
Methods inherited from interface org.schmant.task.confable.LoggingConfigurable
setLogFooter, setLogHeader, setReportLevel, setTraceLogging
 
Methods inherited from interface org.schmant.task.TaskRunnable
run
 
Methods inherited from interface org.schmant.task.confable.SourceConfigurable
addSource, addSources, clearSources, setRelativeToBase, setSource, setSources
 

Constructor Detail

XsltTF

public XsltTF()
Method Detail

setStylesheet

public XsltTF setStylesheet(Object o)

setTemplates

public XsltTF setTemplates(Object o)

setParameter

public XsltTF setParameter(String key,
                           Object value)

setParameters

public XsltTF setParameters(Map<String,?> m)

setUriResolverDecorator

public XsltTF setUriResolverDecorator(UriResolverDecorator<?> urd)

setUriResolver

public XsltTF setUriResolver(URIResolver r)

setXslUriResolverDecorator

public XsltTF setXslUriResolverDecorator(UriResolverDecorator<?> urd)
Specified by:
setXslUriResolverDecorator in interface StylesheetCompilerConfigurable<XsltTF>

setXslUriResolver

public XsltTF setXslUriResolver(URIResolver r)
Specified by:
setXslUriResolver in interface StylesheetCompilerConfigurable<XsltTF>

setXmlUriResolverDecorator

public XsltTF setXmlUriResolverDecorator(UriResolverDecorator<?> urd)

setXmlUriResolver

public XsltTF setXmlUriResolver(URIResolver r)

addOutputProperty

public XsltTF addOutputProperty(String key,
                                String value)

addOutputProperties

public XsltTF addOutputProperties(Properties p)

clearOutputProperties

public XsltTF clearOutputProperties()

setTransformerFactoryClassName

public XsltTF setTransformerFactoryClassName(String fqn)
Specified by:
setTransformerFactoryClassName in interface StylesheetCompilerConfigurable<XsltTF>

setFeature

public XsltTF setFeature(String name,
                         boolean b)
Specified by:
setFeature in interface StylesheetCompilerConfigurable<XsltTF>

setFeatures

public XsltTF setFeatures(Map<String,Boolean> m)
Specified by:
setFeatures in interface StylesheetCompilerConfigurable<XsltTF>

clearFeatures

public XsltTF clearFeatures()
Specified by:
clearFeatures in interface StylesheetCompilerConfigurable<XsltTF>

setAttribute

public XsltTF setAttribute(String name,
                           Object value)
Specified by:
setAttribute in interface StylesheetCompilerConfigurable<XsltTF>

setAttributes

public XsltTF setAttributes(Object o)
Specified by:
setAttributes in interface StylesheetCompilerConfigurable<XsltTF>

clearAttributes

public XsltTF clearAttributes()
Specified by:
clearAttributes in interface StylesheetCompilerConfigurable<XsltTF>

createSpecification

protected XsltTask createSpecification()
Description copied from class: AbstractTaskFactory
Subclasses implement this to create the task specification object that this factory uses to configure the task that it is creating.

Specified by:
createSpecification in class AbstractTaskFactory<XsltTF,XsltTask>