|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.netscape.certsrv.pattern.Pattern
public class Pattern
This is a generic pattern subtitution engine. The pattern format should be:
$[attribute set key].[attribute name]$
For example,
$request.requestor_email$ $ctx.user_id$
| Constructor Summary | |
|---|---|
Pattern(java.lang.String s)
Constructs a pattern object with the given string. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Pattern(java.lang.String s)
s - string with pattern (i.e. $request.requestor_email$)| Method Detail |
|---|
public java.lang.String substitute(java.lang.String key,
IAttrSet attrSet)
key - key name of the given attribute setattrSet - attribute set
public java.lang.String substitute(AttrSetCollection attrSetCollection)
attrSetCollection - attribute set collection
public java.lang.String substitute2(java.lang.String key,
IAttrSet attrSet)
key - key name of the given attribute setattrSet - attribute set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||