com.sun.xml.wss.saml.assertion.saml11.jaxb20
Class AttributeStatement

java.lang.Object
  extended by com.sun.xml.wss.saml.internal.saml11.jaxb20.StatementAbstractType
      extended by com.sun.xml.wss.saml.internal.saml11.jaxb20.SubjectStatementAbstractType
          extended by com.sun.xml.wss.saml.internal.saml11.jaxb20.AttributeStatementType
              extended by com.sun.xml.wss.saml.assertion.saml11.jaxb20.AttributeStatement
All Implemented Interfaces:
AttributeStatement

public class AttributeStatement
extends AttributeStatementType
implements AttributeStatement

The AttributeStatement element supplies a statement by the issuer that the specified subject is associated with the specified attributes.


Field Summary
protected static Logger log
           
 
Fields inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb20.AttributeStatementType
attribute
 
Fields inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb20.SubjectStatementAbstractType
subject
 
Constructor Summary
AttributeStatement(AttributeStatementType attStmtType)
           
AttributeStatement(Subject subj, List attr)
          Dafault constructor
 
Method Summary
static AttributeStatementType fromElement(Element element)
          Constructs an AttributStatement element from an existing XML block
 List<Attribute> getAttributes()
          Gets the value of the attribute property.
 Subject getSubject()
          Gets the value of the subject property.
 
Methods inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb20.AttributeStatementType
getAttribute
 
Methods inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb20.SubjectStatementAbstractType
setSubject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final Logger log
Constructor Detail

AttributeStatement

public AttributeStatement(Subject subj,
                          List attr)
Dafault constructor


AttributeStatement

public AttributeStatement(AttributeStatementType attStmtType)
Method Detail

fromElement

public static AttributeStatementType fromElement(Element element)
                                          throws SAMLException
Constructs an AttributStatement element from an existing XML block

Parameters:
element - representing a DOM tree element
Throws:
SAMLException - if there is an error in the sender or in the element definition.

getAttributes

public List<Attribute> getAttributes()
Description copied from interface: AttributeStatement
Gets the value of the attribute property. Objects of the following type(s) are in the list Attribute

Specified by:
getAttributes in interface AttributeStatement

getSubject

public Subject getSubject()
Description copied from class: SubjectStatementAbstractType
Gets the value of the subject property.

Specified by:
getSubject in interface AttributeStatement
Overrides:
getSubject in class SubjectStatementAbstractType
Returns:
possible object is SubjectType


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.