org.specrunner.dumper.core
Class SourceDumperCenter

java.lang.Object
  extended by org.specrunner.source.core.EncodedImpl
      extended by org.specrunner.dumper.core.AbstractSourceDumperFile
          extended by org.specrunner.dumper.core.SourceDumperCenter
All Implemented Interfaces:
ISourceDumper, IEncoded

public class SourceDumperCenter
extends AbstractSourceDumperFile

Dump the central part of the result report (the 'center' element of the framed version).

Author:
Thiago Santos

Field Summary
 
Fields inherited from class org.specrunner.dumper.core.AbstractSourceDumperFile
GAP, outputDirectory, outputFile, outputName
 
Fields inherited from interface org.specrunner.source.IEncoded
DEFAULT_ENCODING, FEATURE_ENCODING
 
Constructor Summary
SourceDumperCenter()
           
 
Method Summary
protected  void addLinkToFrame(nu.xom.Document document, IResultSet result, Map<String,Object> model)
          Add a link to body.
 void dump(ISource source, IResultSet result, Map<String,Object> model)
          Extra information to be dumped.
 
Methods inherited from class org.specrunner.dumper.core.AbstractSourceDumperFile
appendResources, checkParent, clean, detailReport, getOutputDirectory, getOutputFile, getOutputName, getSerializer, outputDirectory, outputName, saveTo, set, setFeatures, setOutputDirectory, setOutputFile, setOutputName
 
Methods inherited from class org.specrunner.source.core.EncodedImpl
getEncoding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.specrunner.source.IEncoded
getEncoding
 

Constructor Detail

SourceDumperCenter

public SourceDumperCenter()
Method Detail

dump

public void dump(ISource source,
                 IResultSet result,
                 Map<String,Object> model)
          throws SourceDumperException
Description copied from interface: ISourceDumper
Extra information to be dumped.

Parameters:
source - The specification input.
result - The result.
model - Extra information model.
Throws:
SourceDumperException - On dumping error.

addLinkToFrame

protected void addLinkToFrame(nu.xom.Document document,
                              IResultSet result,
                              Map<String,Object> model)
Add a link to body.

Parameters:
document - The document.
result - The result.
model - The model.


Copyright © 2014. All rights reserved.