public class RulesetImpl extends IdentifiedImpl implements Ruleset
id| Constructor and Description |
|---|
RulesetImpl() |
| Modifier and Type | Method and Description |
|---|---|
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() |
getId, setIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetId, setIdpublic Tag getTag(String tagId)
Rulesetpublic Rule getRule(String ruleId)
Rulesetpublic void sync()
Rulesetpublic void setRules(Collection rules)
rules - public Collection getRules()
Rulesetpublic void setTags(Collection tags)
rules - public Collection getTags()
Rulesetpublic boolean getRemoveComments()
RulesetgetRemoveComments in interface Rulesetpublic void setRemoveComments(boolean b)
RulesetsetRemoveComments in interface Rulesetb - True if comments should be removed.Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.