| org.apache.jetspeed.rewriter.rules.Rule
All known Subclasses: org.apache.jetspeed.rewriter.rules.impl.RuleImpl,
Method Summary | |
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. |
getPopup | boolean getPopup()(Code) | | Flag indicating whether to rewrite links as popups.
The default setting is false, do not rewrite as a popup.
true if this rule rewrites links as popups |
getSuffix | String getSuffix()(Code) | | Suffix string to append to the rewritten URL.
the value of the suffix string. |
getUseBase | boolean getUseBase()(Code) | | Flag indicating whether to use the Base URL for this rewriter.
The default setting is true, use the rewriter's Base URL.
true if this rule uses the Base URL |
setPopup | void setPopup(boolean flag)(Code) | | Flag indicating whether to rewrite links as popups.
The default setting is false, do not rewrite as a popup.
true if this rule rewrites links as popups |
setSuffix | void setSuffix(String suffix)(Code) | | Suffix string to append to the rewritten URL.
Parameters: the - value of the suffix string. |
setUseBase | void setUseBase(boolean flag)(Code) | | Flag indicating whether to use the Base URL for this rewriter.
The default setting is true, use the rewriter's Base URL.
true if this rule uses the Base URL |
shouldRewrite | boolean shouldRewrite(String url)(Code) | | Checks to see if a URL should be rewritten or not.
Parameters: url - |
|
|