Interface WebResourceTranslator
Deprecated.
Interface used by WebResourceRegistryInterceptor to translate WebResources before rendering.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
shouldTranslate
(WebResource resource) Deprecated.Verifies if the WebResource matches for this translator.void
translate
(WebResource resource) Deprecated.Modifies the WebResource.
-
Method Details
-
shouldTranslate
Deprecated.Verifies if the WebResource matches for this translator. Calls to shouldTranslate() should never modify the WebResource.- Parameters:
resource
- WebResource to inspect if it needs to be translated.- Returns:
- True if the resource should be modified.
-
translate
Deprecated.Modifies the WebResource.- Parameters:
resource
- WebResource to inspect and modify.
-
WebResourceRegistry
are being removed