Class AnnotationFactory


  • public class AnnotationFactory
    extends java.lang.Object
    AnnotationFactory is a utility class for making Annotations from Maps. Shared by the search and homology builders. Now public to allow use by anyone making custom handlers.
    Since:
    1.2
    Author:
    Keith James, Thomas Down
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Annotation makeAnnotation​(java.util.Map m)
      makeAnnotation creates the annotation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AnnotationFactory

        public AnnotationFactory()
    • Method Detail

      • makeAnnotation

        public static Annotation makeAnnotation​(java.util.Map m)
        makeAnnotation creates the annotation.
        Parameters:
        m - a Map of raw data.
        Returns:
        an Annotation.