|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.livecycle.formsservice.client.URLSpec
public class URLSpec
Enables you to set URI values that are required by the PDF forms service when rendering forms.
Using this object, you define URI values such as the location where form designs are located.
An object of this type is passed to the following
FormsServiceClient
methods:
To see an instance of this type used in a code example, see the Rendering an interactive PDF form using the Java API quick start in Programming with Adobe Experience Manager forms.
Constructor Summary | |
---|---|
URLSpec()
A standard constructor. |
|
URLSpec(java.lang.String optionsString)
A constructor that enables you to specify a standard query string. |
|
URLSpec(java.lang.String applicationWebRoot,
java.lang.String targetURL,
java.lang.String contentRootURI,
java.lang.String baseURL)
A constructor that enables you to set all options. |
Method Summary | |
---|---|
java.lang.String |
getApplicationWebRoot()
Returns the application's web root. |
java.lang.String |
getBaseURL()
Returns a string value that represents the base URL. |
java.lang.String |
getContentRootURI()
Returns a string value that specifies a URI or an absolute reference to a location from which forms are retrieved. |
java.lang.String |
getOption(java.lang.String key)
Returns the value of the specified option. |
java.lang.String |
getOptions()
For internal use only. |
java.lang.String |
getTargetURL()
Returns a string value that specifies the URL to a web service or Java servlet that receives the posted data from a target device (typically, a web browser). |
void |
setApplicationWebRoot(java.lang.String applicationWebRoot)
Sets the application's web root. |
void |
setBaseURL(java.lang.String baseURL)
Sets the base URL, which must be the HTTP-equivalent of the content root URI and is required for HTML transformations that include HREF references to external dependencies, such as images or scripts. |
void |
setContentRootURI(java.lang.String contentRootURI)
Sets the URI value or an absolute reference to a location from which forms are retrieved. |
void |
setTargetURL(java.lang.String targetURL)
Sets a string value that specifies the URL to a web service or Java servlet that receives the posted data from a target device (typically, a web browser). |
java.lang.String |
toString()
For internal use only. |
void |
updateOptionsBean(java.lang.String options)
For internal purposes only. |
void |
updateOptionsBean(java.lang.String key,
java.lang.String value)
For internal purposes only. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public URLSpec()
public URLSpec(java.lang.String optionsString)
public URLSpec(java.lang.String applicationWebRoot, java.lang.String targetURL, java.lang.String contentRootURI, java.lang.String baseURL)
Method Detail |
---|
public java.lang.String getApplicationWebRoot()
public void setApplicationWebRoot(java.lang.String applicationWebRoot)
To see this method used in a code example, see the Rendering an interactive PDF form using the Java API quick start in Programming with Adobe Experience Manager forms.
applicationWebRoot
- A string value that specifies the application's web root.public java.lang.String getBaseURL()
setBaseURL()
public void setBaseURL(java.lang.String baseURL)
baseURL
- A string value that represents the base URL.getBaseURL()
public java.lang.String getContentRootURI()
renderPDFForm()
)
to construct an
absolute path to the form that is retrieved.
This value can reference the Adobe Experience Manager forms Repository, a local directory, a network directory,
or a web location that is accessible by using HTTP.
setContentRootURI()
public void setContentRootURI(java.lang.String contentRootURI)
renderPDFForm()
)
to construct an
absolute path to the form that is retrieved.
This value can reference the Adobe Experience Manager forms Repository, a local directory, a network directory,
or a web location that is accessible by using HTTP. To reference the
Adobe Experience Manager forms Repository, specify repository://
.
To see this method used in a code example, see the Rendering an interactive PDF form using the Java API quick start in Programming with Adobe Experience Manager forms.
contentRootURI
- A string value that specifies a
URI or an absolute reference to a location from which forms are retrieved.setContentRootURI()
public java.lang.String getTargetURL()
processFormSubmission()
method.
public void setTargetURL(java.lang.String targetURL)
processFormSubmission()
method.
You can submit a form to Workspace using the following URL: http://<server>:<port>/workspace-server/submit
.
To see this method used in a code example, see the Rendering an interactive PDF form using the Java API quick start in Programming with Adobe Experience Manager forms.
targetURL
- A string value that specifies the URL to a web service, Java servlet, or Workspace
that receives the posted data from a target device.public java.lang.String getOptions()
Returns a string representation of the options that are set.
public java.lang.String getOption(java.lang.String key)
key
- A string value that specifies the name of the option.
public void updateOptionsBean(java.lang.String key, java.lang.String value)
public void updateOptionsBean(java.lang.String options)
public java.lang.String toString()
Creates a string represenation of this class.
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |