|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.livecycle.output.client.Rule
public class Rule
Enables the creation of search rules that results in the Output service searching the input data that is passed with the request and using a different form design based on the data content. To see this class used within a code example, see the Creating search rules using the Java API quick start in Programming with Adobe Experience Manager forms.
Constructor Summary | |
---|---|
Rule()
A standard constructor that creates a Rule object. |
|
Rule(java.lang.String mPattern,
java.lang.String mForm)
A standard constructor that accepts a form design and a text pattern to search for. |
Method Summary | |
---|---|
java.lang.String |
getForm()
Returns the form design to use if the pattern is located within the input data. |
java.lang.String |
getPattern()
Returns the text pattern for which the Output service searches. |
void |
setForm(java.lang.String form)
Sets the form design to use if the pattern is located within the input data. |
void |
setPattern(java.lang.String pattern)
Sets the text pattern for which the Output service searches. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Rule()
Rule
object.
public Rule(java.lang.String mPattern, java.lang.String mForm)
mPattern
- A string value that represents the text pattern.mForm
- A string value that represents the form design.Method Detail |
---|
public java.lang.String getForm()
public void setForm(java.lang.String form)
setContentRoot
method.
To see this method used within a code example, see the Creating search rules using the Java API quick start in Programming with Adobe Experience Manager forms.
form
- The form design to use if the pattern that is defined by this rule is located within the input data.setContentRoot
public java.lang.String getPattern()
public void setPattern(java.lang.String pattern)
lookAhead
value to specify the number of bytes to use from the beginning of the input data to
scan for the pattern. If the pattern is located, the form design that is specified by the setForm
method is used.
If you, for example,
pass the value CoverLetter
to this method,
then the Output service searches the input data for CoverLetter.
To see this method used within a code example, see the Creating search rules using the Java API quick start in Programming with Adobe Experience Manager forms.
pattern
- A string value that specifies the text patten.setLookAhead
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |