Class StyleFactoryResolver
- java.lang.Object
-
- lumis.portal.serviceinterface.style.StyleFactoryResolver
-
public class StyleFactoryResolver extends Object
IStyleFactory
resolver.- Since:
- 8.1.0
- Version:
- $Revision: 22435 $ $Date: 2019-02-20 16:36:36 -0300 (Wed, 20 Feb 2019) $
-
-
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(String stylePath)
Resolves theIStyleFactory
accordingly to the style path.static StyleFactoryResolver.StyleType
getStyleType(String stylePath)
Returns theStyleFactoryResolver.StyleType
for the given style file path.
-
-
-
Method Detail
-
getStyleFactoryByStylePath
public static IStyleFactory getStyleFactoryByStylePath(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(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
-
-