public class Pattern
extends java.lang.Object
$[attribute set key].[attribute name]$
For example,
$request.requestor_email$ $ctx.user_id$
| Constructor and Description |
|---|
Pattern(java.lang.String s)
Constructs a pattern object with the given string.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
substitute(AttrSetCollection attrSetCollection)
Subtitutes this pattern with the given attribute set.
|
java.lang.String |
substitute(java.lang.String key,
IAttrSet attrSet)
Subtitutes this pattern with the given attribute set.
|
java.lang.String |
substitute2(java.lang.String key,
IAttrSet attrSet)
Subtitutes this pattern with the given attribute set.
|
public Pattern(java.lang.String s)
s - string with pattern (i.e. $request.requestor_email$)public java.lang.String substitute(java.lang.String key,
IAttrSet attrSet)
key - key name of the given attribute setattrSet - attribute setpublic java.lang.String substitute(AttrSetCollection attrSetCollection)
attrSetCollection - attribute set collectionpublic java.lang.String substitute2(java.lang.String key,
IAttrSet attrSet)
key - key name of the given attribute setattrSet - attribute set