public class DataXMLOptions extends Object
Constructor and Description |
---|
DataXMLOptions() |
DataXMLOptions(DataOptions dataOptions) |
Modifier and Type | Method and Description |
---|---|
org.apache.sling.api.resource.Resource |
getAemFormContainer()
Container (if any) resource in which the form is being embedded.
|
String |
getDataRef()
path of the XML being passed as the sling request parameter or request attribute.
|
org.apache.sling.api.resource.Resource |
getFormResource()
Form resource present inside DAM for which the data is required.
|
String |
getPagePath()
Path of the page where the form resides.
|
Map |
getParams()
Returns the parameter map
|
String |
getServiceName()
returns the name of the service to be used for getting the data xml.
|
DataXMLOptions |
setAemFormContainer(org.apache.sling.api.resource.Resource aemFormContainer)
Container (if any) resource in which the form is being embedded.
|
DataXMLOptions |
setDataRef(String dataRef)
set the path of the XML from where the data has to be obtained
|
DataXMLOptions |
setFormResource(org.apache.sling.api.resource.Resource formResource)
Form resource present inside DAM for which the data is required.
|
DataXMLOptions |
setPagePath(String pagePath)
Path of the page/profile (for MF) where the form resides.
|
DataXMLOptions |
setParams(Map paramMap)
Sets the parameter map.
|
DataXMLOptions |
setServiceName(String serviceName)
set the name of the service to be used for getting the data xml.
|
public DataXMLOptions()
public DataXMLOptions(DataOptions dataOptions)
public String getDataRef()
public DataXMLOptions setDataRef(String dataRef)
dataRef
- path of the XML from where the data has to be obtainedpublic org.apache.sling.api.resource.Resource getFormResource()
public DataXMLOptions setFormResource(org.apache.sling.api.resource.Resource formResource)
formResource
- Form resource present inside DAM for which the data is required.public String getPagePath()
public DataXMLOptions setPagePath(String pagePath)
pagePath
- Path of the page/profile (for MF) where the form resides.public org.apache.sling.api.resource.Resource getAemFormContainer()
public DataXMLOptions setAemFormContainer(org.apache.sling.api.resource.Resource aemFormContainer)
aemFormContainer
- Container (if any) resource in which the form is being embedded.public String getServiceName()
public DataXMLOptions setServiceName(String serviceName)
serviceName
- name of the service to be used for getting the data xmlpublic Map getParams()
public DataXMLOptions setParams(Map paramMap)
paramMap
- map of parametersCopyright © 1982–2023 Adobe Systems Incorporated. All rights reserved.