Interface WebResourceTranslator
Deprecated.
Interface used by WebResourceRegistryInterceptor to translate WebResources before rendering.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanshouldTranslate(WebResource resource) Deprecated.Verifies if the WebResource matches for this translator.voidtranslate(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.
-
WebResourceRegistryare being removed