| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
  |
  +--com.sun.identity.saml.assertion.Condition
        |
        +--com.sun.identity.saml.assertion.AudienceRestrictionCondition
This is an implementation of the abstract Condition class, which
specifes that the assertion this AuthenticationCondition is part of, is 
addressed to one or more specific audience.
| Fields inherited from class com.sun.identity.saml.assertion.Condition | 
| INDETERMINATE, INVALID, VALID | 
| Constructor Summary | |
| AudienceRestrictionCondition(org.w3c.dom.Element audienceRestrictionConditionElement)Constructs an AudienceRestrictionConditionelement from an
 existing XML block. | |
| AudienceRestrictionCondition(java.util.List audience)This constructor takes in a Listof audience for this 
condition, each of them being a String. | |
| Method Summary | |
|  boolean | addAudience(java.lang.String audience)Add an audience to this Condition element | 
|  boolean | containsAudience(java.lang.String audience)Returns true if a particular audience string is contained within this AudienceRestrictionConditionobject | 
|  int | evaluate()A method which can be overridden by a plug-in maybe which provides means of evaluating this condition | 
|  java.util.List | getAudience()LIst of Audience held within this Condition element | 
|  boolean | removeAudience(java.lang.String audience)Remove an audience from the Listwithin this Condition element | 
|  boolean | setAudience(java.util.List audience)Add a Listof audience held within this Condition element | 
|  java.lang.String | toString()Returns a String representation of the element. | 
|  java.lang.String | toString(boolean includeNS,
         boolean declareNS)Returns a String representation of the <AudienceRestrictionCondition>element. | 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
public AudienceRestrictionCondition(org.w3c.dom.Element audienceRestrictionConditionElement)
                             throws SAMLException
AudienceRestrictionCondition element from an
 existing XML block.audienceRestrictionConditionElement - A
        org.w3c.dom.Element representing DOM tree for
        AudienceRestrictionCondition object.SAMLException - if it could not process the 
            org.w3c.dom.Element properly, implying that there
            is an error in the sender or in the element definition.
public AudienceRestrictionCondition(java.util.List audience)
                             throws SAMLException
List of audience for this 
condition, each of them being a String.audience - A List of audience to be included within this conditionSAMLException - if the List is empty or if there is 
some error in processing the contents of the List| Method Detail | 
public boolean addAudience(java.lang.String audience)
audience - audience to be addedpublic boolean setAudience(java.util.List audience)
List of audience held within this Condition elementaudience - A List of audience to be included within 
this conditionpublic java.util.List getAudience()
List of Audience within this Condition elementpublic boolean containsAudience(java.lang.String audience)
AudienceRestrictionCondition objectaudience - audience to be checkedpublic boolean removeAudience(java.lang.String audience)
List within this Condition elementaudience - A string representing the value of the Audiencepublic java.lang.String toString()
toString in class java.lang.Object<saml:AudienceRestrictionCondition>.
public java.lang.String toString(boolean includeNS,
                                 boolean declareNS)
<AudienceRestrictionCondition> element.toString in class ConditionincludeNS - Determines whether or not the namespace qualifier is 
        prepended to the Element when converteddeclareNS - Determines whether or not the namespace is declared
        within the Element.public int evaluate()
evaluate in class Condition| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||