|
|||||||||||
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
Ruleset
Field Summary | |
private boolean |
removeComments
|
private Map |
ruleMap
|
private Collection |
rules
|
private Map |
tagMap
|
private Collection |
tags
|
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(String ruleId)
Given a rule identifier, lookup and return a rule object. |
Collection |
getRules()
Get a collection of rules for this rule set. |
Tag |
getTag(String tagId)
Given a tag identifier, lookup and return a tag object. |
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(Collection rules)
Castor setter |
void |
setTags(Collection tags)
Castor setter |
void |
sync()
Synchronize the Ruleset |
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 Collection rules
private Collection tags
private Map ruleMap
private Map tagMap
private boolean removeComments
Constructor Detail |
public RulesetImpl()
Method Detail |
public Tag getTag(String tagId)
Ruleset
getTag
in interface Ruleset
tagId
- the unique tag identifier
public Rule getRule(String ruleId)
Ruleset
getRule
in interface Ruleset
ruleId
- the unique rule identifier
public String toString()
public void sync()
Ruleset
sync
in interface Ruleset
public void setRules(Collection rules)
rules
- public Collection getRules()
Ruleset
getRules
in interface Ruleset
public void setTags(Collection tags)
public Collection getTags()
Ruleset
getTags
in interface Ruleset
public boolean getRemoveComments()
Ruleset
getRemoveComments
in interface Ruleset
public void setRemoveComments(boolean b)
Ruleset
setRemoveComments
in interface Ruleset
b
- True if comments should be removed.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |