public interface Rule extends Identified
Modifier and Type | Method and Description |
---|---|
boolean |
getPopup()
Flag indicating whether to rewrite links as popups.
|
String |
getSuffix()
Suffix string to append to the rewritten URL.
|
boolean |
getUseBase()
Flag indicating whether to use the Base URL for this rewriter.
|
void |
setPopup(boolean flag)
Flag indicating whether to rewrite links as popups.
|
void |
setSuffix(String suffix)
Suffix string to append to the rewritten URL.
|
void |
setUseBase(boolean flag)
Flag indicating whether to use the Base URL for this rewriter.
|
boolean |
shouldRewrite(String url)
Checks to see if a URL should be rewritten or not.
|
getId, setId
boolean getUseBase()
void setUseBase(boolean flag)
true
- if this rule uses the Base URLString getSuffix()
void setSuffix(String suffix)
the
- value of the suffix string.boolean getPopup()
void setPopup(boolean flag)
true
- if this rule rewrites links as popupsboolean shouldRewrite(String url)
url
- Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.