org.schmant.task.template.xml
Class AbstractParseXmlTask<T extends AbstractParseXmlTask<T>>

java.lang.Object
  extended by org.schmant.support.AbstractArgumentChecker
      extended by org.schmant.task.stub.AbstractTask<T>
          extended by org.schmant.task.stub.AbstractActionTask<T>
              extended by org.schmant.task.template.xml.AbstractParseXmlTask<T>
All Implemented Interfaces:
TaskDependency, ActionTaskConfigurable<T>, ActionTaskSpec<T>, LoggingConfigurable<T>, SourceConfigurable<T>, SourceConfigured, Task, TaskRunnable, TaskSpecification<T>
Direct Known Subclasses:
DomParseXmlTask, SchemaFactoryTask

public abstract class AbstractParseXmlTask<T extends AbstractParseXmlTask<T>>
extends AbstractActionTask<T>

Since:
0.9
Author:
Karl Gustafsson

Constructor Summary
AbstractParseXmlTask()
           
 
Method Summary
 void copyProperties(T spec)
          Override the implementation from AbstractTask to copy the source properties.
protected  ErrorHandler getErrorHandler()
           
protected  Map<String,Boolean> getFeatures()
           
 
Methods inherited from class org.schmant.task.stub.AbstractActionTask
addSource, addSources, clearSources, getRelativeToBase, getSource, getSources, isMoreThanOneSourceAllowed, isSourcesMandatory, setRelativeToBase, setSource, setSources, toString, validate
 
Methods inherited from class org.schmant.task.stub.AbstractTask
cancel, createTask, getDefaultLogFooter, getDefaultLogHeader, getDependencyForTasksScheduledByThisTask, getDependencyObservable, getFailureCause, getLogFooter, getLogHeader, getSatisfiedStateLock, getThis, isCancelled, isDone, isInterrupted, isRunning, isSatisfied, isSuccessful, run, runInternal, setLogFooter, setLogHeader, setReportLevel, setTraceLogging
 
Methods inherited from class org.schmant.support.AbstractArgumentChecker
check, check, check, check
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.schmant.task.TaskSpecification
createTask
 
Methods inherited from interface org.schmant.task.confable.LoggingConfigurable
setLogFooter, setLogHeader, setReportLevel, setTraceLogging
 

Constructor Detail

AbstractParseXmlTask

public AbstractParseXmlTask()
Method Detail

getFeatures

protected final Map<String,Boolean> getFeatures()

getErrorHandler

protected final ErrorHandler getErrorHandler()

copyProperties

public void copyProperties(T spec)
Description copied from class: AbstractActionTask
Override the implementation from AbstractTask to copy the source properties. Subclasses must override this to copy their own properties.

Specified by:
copyProperties in interface TaskSpecification<T extends AbstractParseXmlTask<T>>
Overrides:
copyProperties in class AbstractActionTask<T extends AbstractParseXmlTask<T>>
Parameters:
spec - The specification to copy properties to.