public interface URLFactory
URLFactory
defines a means of obtaining a URL
associated with an object. The URL returned may be based on any
property of the object, for example its Java class, methods or
fields or its Annotation
. As the criteria by which the
URL are created will be highly variable it is left to the
implementation to cast the Object
argument and perform
any necessary checks. An implementation may make any additional
checks such as applying PropertyConstraint
s or
checking an AnnotationType
.
An example use case is in obtaining hyperlink target to associate with a sequence hit in a database search which will then be placed in an image map.
Copyright © 2014 BioJava. All rights reserved.