org.schmant.task.xml.dom
Class DomParseXmlTF

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.template.xml.AbstractParseXmlTaskFactory<DomParseXmlTF,DomParseXmlTask>
              extended by org.schmant.task.xml.dom.DomParseXmlTF
All Implemented Interfaces:
ActionTaskConfigurable<DomParseXmlTF>, ActionTaskFactory<DomParseXmlTF,DomParseXmlTask>, LoggingConfigurable<DomParseXmlTF>, SourceConfigurable<DomParseXmlTF>, TaskFactory<DomParseXmlTF,DomParseXmlTask>, TaskRunnable

public final class DomParseXmlTF
extends AbstractParseXmlTaskFactory<DomParseXmlTF,DomParseXmlTask>

Factory for the DomParseXmlTask.

See DomParseXmlTF

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

Constructor Summary
DomParseXmlTF()
           
 
Method Summary
 DomParseXmlTF addAttribute(String name, Object value)
           
 DomParseXmlTF addAttributes(Object o)
           
 DomParseXmlTF clearAttributes()
           
protected  DomParseXmlTask createSpecification()
          Subclasses implement this to create the task specification object that this factory uses to configure the task that it is creating.
 DomParseXmlTF setDocumentBuilderFactoryClassName(String n)
           
 DomParseXmlTF setEntityResolver(EntityResolver er)
           
 DomParseXmlTF setEntityResolverDecorator(EntityResolverDecorator<?> er)
           
 DomParseXmlTF setNamespaceAware(boolean b)
           
 DomParseXmlTF setSchema(Object o)
           
 DomParseXmlTF setUseFileInsteadOfInputStream(boolean b)
           
 DomParseXmlTF setValidating(boolean b)
           
 DomParseXmlTF setXIncludeAware(boolean b)
           
 
Methods inherited from class org.schmant.task.template.xml.AbstractParseXmlTaskFactory
clearFeatures, putFeature, putFeatures, setErrorHandler
 
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
 

Constructor Detail

DomParseXmlTF

public DomParseXmlTF()
Method Detail

setNamespaceAware

public DomParseXmlTF setNamespaceAware(boolean b)

setValidating

public DomParseXmlTF setValidating(boolean b)

setEntityResolverDecorator

public DomParseXmlTF setEntityResolverDecorator(EntityResolverDecorator<?> er)

setEntityResolver

public DomParseXmlTF setEntityResolver(EntityResolver er)

setUseFileInsteadOfInputStream

public DomParseXmlTF setUseFileInsteadOfInputStream(boolean b)

setDocumentBuilderFactoryClassName

public DomParseXmlTF setDocumentBuilderFactoryClassName(String n)

setXIncludeAware

public DomParseXmlTF setXIncludeAware(boolean b)

addAttribute

public DomParseXmlTF addAttribute(String name,
                                  Object value)

addAttributes

public DomParseXmlTF addAttributes(Object o)

clearAttributes

public DomParseXmlTF clearAttributes()

setSchema

public DomParseXmlTF setSchema(Object o)

createSpecification

protected DomParseXmlTask 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<DomParseXmlTF,DomParseXmlTask>