org.specrunner.dumper.core
Class SourceDumperGroupImpl

java.lang.Object
  extended by org.specrunner.util.composite.core.CompositeImpl<ISourceDumperGroup,ISourceDumper>
      extended by org.specrunner.dumper.core.SourceDumperGroupImpl
All Implemented Interfaces:
ISourceDumper, ISourceDumperGroup, IEncoded, IComposite<ISourceDumperGroup,ISourceDumper>

public class SourceDumperGroupImpl
extends CompositeImpl<ISourceDumperGroup,ISourceDumper>
implements ISourceDumperGroup

Default implementation of a source dumper group.

Author:
Thiago Santos

Field Summary
 
Fields inherited from interface org.specrunner.source.IEncoded
DEFAULT_ENCODING, FEATURE_ENCODING
 
Constructor Summary
SourceDumperGroupImpl()
           
 
Method Summary
 void dump(ISource source, IResultSet result, Map<String,Object> model)
          Extra information to be dumped.
 String getEncoding()
          Return the encoding.
 
Methods inherited from class org.specrunner.util.composite.core.CompositeImpl
add, getChildren, isEmpty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.specrunner.util.composite.IComposite
add, getChildren, isEmpty
 

Constructor Detail

SourceDumperGroupImpl

public SourceDumperGroupImpl()
Method Detail

getEncoding

public String getEncoding()
Description copied from interface: IEncoded
Return the encoding.

Specified by:
getEncoding in interface IEncoded
Returns:
The encoding charset.

dump

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

Specified by:
dump in interface ISourceDumper
Parameters:
source - The specification input.
result - The result.
model - Extra information model.
Throws:
SourceDumperException - On dumping error.


Copyright © 2014. All rights reserved.