Package de.xima.fc.form.common.models
Class GetWidgetResourceParams
- java.lang.Object
-
- de.xima.fc.form.common.models.GetWidgetResourceParams
-
- All Implemented Interfaces:
IGetWidgetResourceParams
public final class GetWidgetResourceParams extends Object implements IGetWidgetResourceParams
POJO implementation ofIGetWidgetResourceParams.- Since:
- 8.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description GetWidgetResourceParams(String baseUrl, boolean inline)A new instance with the given data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBaseUrl()Get the base URL to the formcycle application, may or may not include the scheme/domain/port, e.g.booleanisInline()Whether the form is rendered inline.
-
-
-
Constructor Detail
-
GetWidgetResourceParams
public GetWidgetResourceParams(String baseUrl, boolean inline)
A new instance with the given data.- Parameters:
baseUrl- Gets the base URL of the formcycle application, including the scheme, the domain, the port, and the context path, including a final slash at the end.inline- Whether the form is rendered inline. In inline mode, all resource files should be standalone and not reference any other external resources, e.g. by inlining all fonts as base64 within the CSS file.
-
-
Method Detail
-
getBaseUrl
public String getBaseUrl()
Description copied from interface:IGetWidgetResourceParamsGet the base URL to the formcycle application, may or may not include the scheme/domain/port, e.g. http://localhost:8080/xima-formcycle/ or/xima-formcycle/.- Specified by:
getBaseUrlin interfaceIGetWidgetResourceParams- Returns:
- The base URL to the formcycle application.
-
isInline
public boolean isInline()
Description copied from interface:IGetWidgetResourceParamsWhether the form is rendered inline. In inline mode, all resource files should be standalone and not reference any other external resources, e.g. by inlining all fonts as base64 within the CSS file.- Specified by:
isInlinein interfaceIGetWidgetResourceParams- Returns:
- Whether the form is rendered inline.
-
-