public interface Ruleset extends Identified
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 flag)
Set the remove comments flag for removing comments from the markup source.
|
void |
sync()
Synchronize the Ruleset
|
getId, setId
boolean getRemoveComments()
void setRemoveComments(boolean flag)
flag
- True if comments should be removed.Tag getTag(String tagId)
tagId
- the unique tag identifierRule getRule(String ruleId)
ruleId
- the unique rule identifierCollection getRules()
Collection getTags()
void sync()
Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.