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, setId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getId, setId
public boolean getPopup()
Rule
public String getSuffix()
Rule
public boolean getUseBase()
Rule
getUseBase
in interface Rule
public void setPopup(boolean b)
Rule
public void setSuffix(String string)
Rule
public void setUseBase(boolean b)
Rule
setUseBase
in interface Rule
public void setIgnorePrefixes(String prefixes)
public String getIgnorePrefixes()
public boolean shouldRewrite(String url)
Rule
shouldRewrite
in interface Rule
Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.