org.specrunner.annotator.core
Class AnnotatorTitle
java.lang.Object
org.specrunner.annotator.core.AnnotatorTitle
- All Implemented Interfaces:
- IAnnotator
public class AnnotatorTitle
- extends Object
- implements IAnnotator
Add/Append title with result information.
- Author:
- Thiago Santos
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotatorTitle
public AnnotatorTitle()
annotate
public void annotate(IResultSet result)
throws AnnotatorException
- Description copied from interface:
IAnnotator
- Annotates the result information.
- Specified by:
annotate in interface IAnnotator
- Parameters:
result - The result set.
- Throws:
AnnotatorException - On annotation errors.
addTitle
protected void addTitle(nu.xom.Node node,
String message,
Throwable error)
throws AnnotatorException
- Add title to a node based on error.
- Parameters:
node - The node.message - The message.error - The error.
- Throws:
AnnotatorException - On annotation errors.
Copyright © 2014. All rights reserved.