|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jetspeed.rewriter.rules.impl.IdentifiedImpl
org.apache.jetspeed.rewriter.rules.impl.RuleImpl
public class RuleImpl
Rule
Field Summary | |
---|---|
private List |
ignorePrefixes
|
private boolean |
popup
|
private String |
prefixes
|
private String |
suffix
|
private boolean |
useBase
|
Fields inherited from class org.apache.jetspeed.rewriter.rules.impl.IdentifiedImpl |
---|
id |
Constructor Summary | |
---|---|
RuleImpl()
|
Method Summary | |
---|---|
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()
|
Methods inherited from class org.apache.jetspeed.rewriter.rules.impl.IdentifiedImpl |
---|
getId, setId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.jetspeed.rewriter.rules.Identified |
---|
getId, setId |
Field Detail |
---|
private boolean useBase
private boolean popup
private String suffix
private String prefixes
private List ignorePrefixes
Constructor Detail |
---|
public RuleImpl()
Method Detail |
---|
public String toString()
toString
in class Object
public boolean getPopup()
Rule
getPopup
in interface Rule
public String getSuffix()
Rule
getSuffix
in interface Rule
public boolean getUseBase()
Rule
getUseBase
in interface Rule
public void setPopup(boolean b)
Rule
setPopup
in interface Rule
public void setSuffix(String string)
Rule
setSuffix
in interface 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |