| Modifier and Type | Method and Description | 
|---|---|
static ILocationPointService | 
getLocationPointService(IServiceProvider provider)
Gets the  
ILocationPointService provided by an object. | 
static ILocationPointService | 
getLocationPointService(IServiceProvider provider,
                       String exceptionMessage)
Gets the  
ILocationPointService provided by an object. | 
static ILocationPointService | 
getOptionalLocationPointService(IServiceProvider provider)
Gets the  
ILocationPointService provided by an object, or null if the service does not exist. | 
static Point | 
getPoint(IServiceProvider provider)
Gets the  
Point from the ILocationPointService provided by an object. | 
static Point | 
getPoint(IServiceProvider provider,
        String exceptionMessage)
Gets the  
Point from the ILocationPointService provided by an object. | 
@Nonnull public static ILocationPointService getLocationPointService(@Nonnull IServiceProvider provider)
ILocationPointService provided by an object.provider - The object from which to obtain the service.ArgumentNullException - Thrown when provider is null.ServiceNotAvailableException - Thrown when provider does not provide ILocationPointService.@Nonnull public static ILocationPointService getLocationPointService(@Nonnull IServiceProvider provider, String exceptionMessage)
ILocationPointService provided by an object.provider - The object from which to obtain the service.exceptionMessage - An error message to include in the exception if the service is unavailable.ArgumentNullException - Thrown when provider is null.ServiceNotAvailableException - Thrown when provider does not provide ILocationPointService.@Nullable public static ILocationPointService getOptionalLocationPointService(@Nonnull IServiceProvider provider)
ILocationPointService provided by an object, or null if the service does not exist.provider - The object from which to obtain the service.null if the service does not exist.ArgumentNullException - Thrown when provider is null.public static Point getPoint(@Nonnull IServiceProvider provider)
Point from the ILocationPointService provided by an object.provider - The object from which to obtain the ILocationPointService service.Point from the ILocationPointService.ArgumentNullException - Thrown when provider is null.ServiceNotAvailableException - Thrown when provider does not provide ILocationPointService.public static Point getPoint(@Nonnull IServiceProvider provider, String exceptionMessage)
Point from the ILocationPointService provided by an object.provider - The object from which to obtain the ILocationPointService service.exceptionMessage - An error message to include in the exception if the ILocationPointService service is unavailable.Point from the ILocationPointService.ArgumentNullException - Thrown when provider is null.ServiceNotAvailableException - Thrown when provider does not provide ILocationPointService.