|
||||||||||
| 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.RulesetImpl
public class RulesetImpl
Ruleset
| Field Summary |
|---|
| Fields inherited from class org.apache.jetspeed.rewriter.rules.impl.IdentifiedImpl |
|---|
id |
| Constructor Summary | |
|---|---|
RulesetImpl()
|
|
| Method Summary | |
|---|---|
boolean |
getRemoveComments()
Get the remove comments flag for removing comments from the markup source. |
Rule |
getRule(java.lang.String ruleId)
Given a rule identifier, lookup and return a rule object. |
java.util.Collection |
getRules()
Get a collection of rules for this rule set. |
Tag |
getTag(java.lang.String tagId)
Given a tag identifier, lookup and return a tag object. |
java.util.Collection |
getTags()
Get a collection of markup tags for this rule set. |
void |
setRemoveComments(boolean b)
Set the remove comments flag for removing comments from the markup source. |
void |
setRules(java.util.Collection rules)
Castor setter |
void |
setTags(java.util.Collection tags)
Castor setter |
void |
sync()
Synchronize the Ruleset |
java.lang.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 |
| Constructor Detail |
|---|
public RulesetImpl()
| Method Detail |
|---|
public Tag getTag(java.lang.String tagId)
Ruleset
getTag in interface RulesettagId - the unique tag identifier
public Rule getRule(java.lang.String ruleId)
Ruleset
getRule in interface RulesetruleId - the unique rule identifier
public java.lang.String toString()
toString in class java.lang.Objectpublic void sync()
Ruleset
sync in interface Rulesetpublic void setRules(java.util.Collection rules)
rules - public java.util.Collection getRules()
Ruleset
getRules in interface Rulesetpublic void setTags(java.util.Collection tags)
rules - public java.util.Collection getTags()
Ruleset
getTags in interface Rulesetpublic boolean getRemoveComments()
Ruleset
getRemoveComments in interface Rulesetpublic void setRemoveComments(boolean b)
Ruleset
setRemoveComments in interface Rulesetb - True if comments should be removed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||