de.smartics.resteasy.hypermedia.renderer
Interface LocalizationProvider

Package class diagram package LocalizationProvider

public interface LocalizationProvider

Provides access to localized information to be requested by representation renderers.


Method Summary
 LinkMetadata getLinkMetadata(String id)
          Returns a copy of the link metadata for the given identifier.
 Locale getLocale()
          Returns the locale the provider provides resources for.
 

Method Detail

getLocale

Locale getLocale()
Returns the locale the provider provides resources for.

Returns:
the locale the provider provides resources for.

getLinkMetadata

LinkMetadata getLinkMetadata(String id)
Returns a copy of the link metadata for the given identifier. The copy may be changed by the client to add additional context information.

Parameters:
id - the identifier of the localized information requested.
Returns:
the localized link metadata information.


Copyright © 2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.