|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.social.common.xmlprocessor.model.XMLTagFilterPolicy
public class XMLTagFilterPolicy
Contains the set of XMLTagFilterPolicy.AllowedTag.
| Nested Class Summary | |
|---|---|
static class |
XMLTagFilterPolicy.AllowedTag
The allowed tags: tagName and tagAttributes to be configured for allowed tags. |
static class |
XMLTagFilterPolicy.AllowedTagPlugin
The plugin component for configuring the list of XMLTagFilterPolicy.AllowedTag. |
| Constructor Summary | |
|---|---|
XMLTagFilterPolicy()
Default constructor |
|
| Method Summary | |
|---|---|
void |
addAllowedTag(String tagName,
Set<String> tagAttributes)
Adds allowed tagName and its allowed attributes. |
void |
addAllowedTag(XMLTagFilterPolicy.AllowedTag allowedTag)
Adds allowed tag. |
void |
addAllowedTags(String... tagNames)
Adds many tags at once with empty attributes. |
Set<XMLTagFilterPolicy.AllowedTag> |
getAllowedTagSet()
Gets allowed tag set. |
void |
removeAllowedTag(XMLTagFilterPolicy.AllowedTag allowedTag)
Removed allowed tag. |
void |
setAllowedTagPlugin(XMLTagFilterPolicy.AllowedTagPlugin allowedTagPlugin)
Sets XMLTagFilterPolicy.AllowedTagPlugin. |
void |
setAllowedTagSet(Set<XMLTagFilterPolicy.AllowedTag> allowedTagSet)
Sets allowed tag set. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLTagFilterPolicy()
| Method Detail |
|---|
public Set<XMLTagFilterPolicy.AllowedTag> getAllowedTagSet()
public void setAllowedTagSet(Set<XMLTagFilterPolicy.AllowedTag> allowedTagSet)
allowedTagSet - the allowed tag setpublic void addAllowedTags(String... tagNames)
tagNames -
public void addAllowedTag(String tagName,
Set<String> tagAttributes)
tagName - the tag nametagAttributes - the set of attributespublic void addAllowedTag(XMLTagFilterPolicy.AllowedTag allowedTag)
allowedTag - the allowed tagpublic void removeAllowedTag(XMLTagFilterPolicy.AllowedTag allowedTag)
allowedTag - the allowed tagpublic void setAllowedTagPlugin(XMLTagFilterPolicy.AllowedTagPlugin allowedTagPlugin)
XMLTagFilterPolicy.AllowedTagPlugin.
allowedTagPlugin -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||