Interface LocationReferenceCreator<L,LR>
- Type Parameters:
L- Location typeLR- Location Reference type
public interface LocationReferenceCreator<L,LR>
Creates location references from locations.
Instances of LocationReferenceCreator can be obtained using the factory object LocationReferenceCreators.
-
Method Summary
-
Method Details
-
create
Creates a location reference for the given location.- Parameters:
location- The location for which to create a location reference.- Returns:
- The created location reference.
- Throws:
LocationReferenceCreatorException- in case the creation fails for any reason.
-