Class StyleFactoryResolver
- java.lang.Object
-
- lumis.portal.serviceinterface.style.StyleFactoryResolver
-
public class StyleFactoryResolver extends java.lang.Object
IStyleFactory
resolver.- Since:
- 8.1.0
- Version:
- $Revision: 25123 $ $Date: 2022-07-05 13:15:45 -0300 (Tue, 05 Jul 2022) $
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StyleFactoryResolver.StyleType
Enumeration of all known style types supported by the portal.
-
Constructor Summary
Constructors Constructor Description StyleFactoryResolver()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IStyleFactory
getStyleFactory(StyleFactoryResolver.StyleType styleType)
Returns thestyle factory
for the given style type.static IStyleFactory
getStyleFactoryByStylePath(java.lang.String stylePath)
Resolves theIStyleFactory
accordingly to the style path.static StyleFactoryResolver.StyleType
getStyleType(java.lang.String stylePath)
Returns theStyleFactoryResolver.StyleType
for the given style file path.
-
-
-
Method Detail
-
getStyleFactoryByStylePath
public static IStyleFactory getStyleFactoryByStylePath(java.lang.String stylePath)
Resolves theIStyleFactory
accordingly to the style path.- Parameters:
stylePath
- the style path- Returns:
- the resolved style factory.
- Since:
- 8.1.0
-
getStyleFactory
public static IStyleFactory getStyleFactory(StyleFactoryResolver.StyleType styleType)
Returns thestyle factory
for the given style type.- Parameters:
styleType
- the style type.- Returns:
- the
style factory
for the given style type. - Since:
- 8.1.0
-
getStyleType
public static StyleFactoryResolver.StyleType getStyleType(java.lang.String stylePath)
Returns theStyleFactoryResolver.StyleType
for the given style file path.- Parameters:
stylePath
- the file path.- Returns:
- the
StyleFactoryResolver.StyleType
for the given style file path. - Since:
- 8.1.0
-
-