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, setId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getId, setId
public Tag getTag(String tagId)
Ruleset
public Rule getRule(String ruleId)
Ruleset
public void sync()
Ruleset
public void setRules(Collection rules)
rules
- public Collection getRules()
Ruleset
public void setTags(Collection tags)
rules
- public Collection getTags()
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.Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.