org.specrunner.annotator.core
Class AnnotatorLink
java.lang.Object
org.specrunner.annotator.core.AnnotatorLink
- All Implemented Interfaces:
- IAnnotator
public class AnnotatorLink
- extends Object
- implements IAnnotator
Add a anchor link (relative) to errors.
- Author:
- Thiago Santos
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotatorLink
public AnnotatorLink()
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.
addLinkToError
protected void addLinkToError(nu.xom.Node node,
Status status,
int statusIndex)
- Add a link to a node.
- Parameters:
node - The node.status - The annotation status.statusIndex - The index number.
Copyright © 2014. All rights reserved.