org.exoplatform.social.common.xmlprocessor.model
Class XMLTagFilterPolicy.AllowedTag

java.lang.Object
  extended by org.exoplatform.social.common.xmlprocessor.model.XMLTagFilterPolicy.AllowedTag
Enclosing class:
XMLTagFilterPolicy

public static class XMLTagFilterPolicy.AllowedTag
extends Object

The allowed tags: tagName and tagAttributes to be configured for allowed tags.


Constructor Summary
XMLTagFilterPolicy.AllowedTag()
          Default constructor.
XMLTagFilterPolicy.AllowedTag(String tagName)
          Constructor with tagName.
XMLTagFilterPolicy.AllowedTag(String tagName, Set<String> tagAttributes)
          Constructor with tagName and tagAttributes.
 
Method Summary
 Set<String> getTagAttributes()
          Gets the tag attributes.
 String getTagName()
          Gets the tag name.
 void setTagAttributes(Set<String> tagAttributes)
          Sets the tag attributes.
 void setTagName(String setTagName)
          Sets the tag name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLTagFilterPolicy.AllowedTag

public XMLTagFilterPolicy.AllowedTag()
Default constructor.


XMLTagFilterPolicy.AllowedTag

public XMLTagFilterPolicy.AllowedTag(String tagName)
Constructor with tagName.

Parameters:
tagName -

XMLTagFilterPolicy.AllowedTag

public XMLTagFilterPolicy.AllowedTag(String tagName,
                                     Set<String> tagAttributes)
Constructor with tagName and tagAttributes.

Parameters:
tagName - the tag name
tagAttributes - the tag attributes
Method Detail

getTagName

public String getTagName()
Gets the tag name.

Returns:
the tag name

setTagName

public void setTagName(String setTagName)
Sets the tag name.

Parameters:
setTagName - the tag name

setTagAttributes

public void setTagAttributes(Set<String> tagAttributes)
Sets the tag attributes.

Parameters:
tagAttributes - the tag attributes

getTagAttributes

public Set<String> getTagAttributes()
Gets the tag attributes.

Returns:
the tag attributes


Copyright © 2003–2014 eXo Platform SAS. All rights reserved.