com.sun.identity.saml.assertion
Class  Evidence
java.lang.Object
  |
  +--com.sun.identity.saml.assertion.EvidenceBase
        |
        +--com.sun.identity.saml.assertion.Evidence
- public class Evidence- extends EvidenceBase
The Evidence element specifies an assertion either by 
reference or by value. An assertion is specified by reference to the value of 
the assertion's  AssertionIDReference element.
An assertion is specified by value by including the entire 
Assertion object
| Constructor Summary | 
| Evidence(org.w3c.dom.Element assertionSpecifierElement)Constructs an
 Evidenceobject from a block of existing XML
 that has already been built into a DOM. | 
| Evidence(java.util.Set evidenceContent)Constructs a new
 Evidence>element containing a
 set ofAssertionobjects. | 
| Evidence(java.util.Set assertionIDRef,
         java.util.Set assertion)Constructs an Evidence from a Set of
 AssertionandAssertionIDReferenceobjects. | 
 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
Evidence
public Evidence(org.w3c.dom.Element assertionSpecifierElement)
         throws SAMLException
- Constructs an Evidenceobject from a block of existing XML
 that has already been built into a DOM.
- 
- Parameters:
- assertionSpecifierElement- A- org.w3c.dom.Elementrepresenting DOM tree for- Evidenceobject.
- Throws:
- SAMLException- if it could not process the Element properly, 
            implying that there is an error in the sender or in the
            element definition.
 
Evidence
public Evidence(java.util.Set evidenceContent)
         throws SAMLException
- Constructs a new Evidence>element containing a
 set ofAssertionobjects.
- 
- Parameters:
- evidenceContent- A set of- Assertionand- AssertionIDReferenceobjects to be put within the- Evidenceelement. The same Set contains both type
        of elements.
- Throws:
- SAMLException- if the Set is empty or has invalid object.
 
Evidence
public Evidence(java.util.Set assertionIDRef,
                java.util.Set assertion)
         throws SAMLException
- Constructs an Evidence from a Set of AssertionandAssertionIDReferenceobjects.
- 
- Parameters:
- assertionIDRef- Set of- AssertionIDReferenceobjects.
- assertion- Set of- Assertionobjects.
- Throws:
- SAMLException- if either Set is empty or has invalid object.
 
Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.