org.specrunner.annotator.core
Class AnnotatorLink

java.lang.Object
  extended by 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

Constructor Summary
AnnotatorLink()
           
 
Method Summary
protected  void addLinkToError(nu.xom.Node node, Status status, int statusIndex)
          Add a link to a node.
 void annotate(IResultSet result)
          Annotates the result information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotatorLink

public AnnotatorLink()
Method Detail

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.