public class RuleImpl extends IdentifiedImpl implements Rule
id| Constructor and Description |
|---|
RuleImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getIgnorePrefixes() |
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 |
setIgnorePrefixes(String prefixes) |
void |
setPopup(boolean b)
Flag indicating whether to rewrite links as popups.
|
void |
setSuffix(String string)
Suffix string to append to the rewritten URL.
|
void |
setUseBase(boolean b)
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.
|
String |
toString() |
getId, setIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetId, setIdpublic boolean getPopup()
Rulepublic String getSuffix()
Rulepublic boolean getUseBase()
RulegetUseBase in interface Rulepublic void setPopup(boolean b)
Rulepublic void setSuffix(String string)
Rulepublic void setUseBase(boolean b)
RulesetUseBase in interface Rulepublic void setIgnorePrefixes(String prefixes)
public String getIgnorePrefixes()
public boolean shouldRewrite(String url)
RuleshouldRewrite in interface RuleCopyright © 2008–2015 The Apache Software Foundation. All rights reserved.