public class StaticTemplatesAssignmentHandler.AssignmentCondition extends Object
| Modifier and Type | Field and Description |
|---|---|
private String |
_rePath |
private boolean |
_reverse |
private String |
_skinName |
private String |
_templateName |
| Constructor and Description |
|---|
AssignmentCondition(String skinName,
String templateName)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getSkinName()
Get the skin name
|
String |
getTemplateName()
Get the template name
|
boolean |
matchCondition(Page page)
Test if page matches condition
|
void |
setRegExpPath(String rePath,
boolean reverse)
Set the RegExp for path
|
private String _templateName
private boolean _reverse
public AssignmentCondition(String skinName, String templateName)
skinName - the skin nametemplateName - the template namepublic void setRegExpPath(String rePath, boolean reverse)
rePath - the RegExp for pathreverse - true to reverse modepublic boolean matchCondition(Page page)
page - the page to testpublic String getSkinName()
public String getTemplateName()