com.sun.identity.saml2.assertion
クラス AssertionFactory

java.lang.Object
  上位を拡張 com.sun.identity.saml2.assertion.AssertionFactory

public class AssertionFactory
extends Object

This is the factory class to obtain instances of the objects defined in assertion schema. There are three ways to obtain an instance of a object type: with no parameters, with a DOM tree element, or with an XML String.


メソッドの概要
 Action createAction()
          Returns a new instance of Action.
 Action createAction(Element elem)
          Returns a new instance of Action.
 Action createAction(String xml)
          Returns a new instance of Action.
 Advice createAdvice()
          Returns a new instance of Advice.
 Advice createAdvice(Element elem)
          Returns a new instance of Advice.
 Advice createAdvice(String xml)
          Returns a new instance of Advice The return object is immutable.
 Assertion createAssertion()
          Returns a new instance of Assertion.
 Assertion createAssertion(Element elem)
          Returns a new instance of Assertion.
 Assertion createAssertion(String xml)
          Returns a new instance of Assertion.
 AssertionIDRef createAssertionIDRef()
          Returns a new instance of AssertionIDRef.
 AssertionIDRef createAssertionIDRef(Element elem)
          Returns a new instance of AssertionIDRef.
 AssertionIDRef createAssertionIDRef(String xml)
          Returns a new instance of AssertionIDRef.
 Attribute createAttribute()
          Returns a new instance of Attribute.
 Attribute createAttribute(Element elem)
          Returns a new instance of Attribute.
 Attribute createAttribute(String xml)
          Returns a new instance of Attribute.
 AttributeStatement createAttributeStatement()
          Returns a new instance of AttributeStatement.
 AttributeStatement createAttributeStatement(Element elem)
          Returns a new instance of AttributeStatement.
 AttributeStatement createAttributeStatement(String xml)
          Returns a new instance of AttributeStatement.
 AudienceRestriction createAudienceRestriction()
          Returns a new instance of AudienceRestriction.
 AudienceRestriction createAudienceRestriction(Element elem)
          Returns a new instance of AudienceRestriction.
 AudienceRestriction createAudienceRestriction(String xml)
          Returns a new instance of AudienceRestriction.
 AuthnContext createAuthnContext()
          Returns a new instance of AuthnContext.
 AuthnContext createAuthnContext(Element elem)
          Returns a new instance of AuthnContext.
 AuthnContext createAuthnContext(String xml)
          Returns a new instance of AuthnContext.
 AuthnStatement createAuthnStatement()
          Returns a new instance of AuthnStatement.
 AuthnStatement createAuthnStatement(Element elem)
          Returns a new instance of AuthnStatement.
 AuthnStatement createAuthnStatement(String xml)
          Returns a new instance of AuthnStatement.
 AuthzDecisionStatement createAuthzDecisionStatement()
          Returns a new instance of AuthzDecisionStatement.
 AuthzDecisionStatement createAuthzDecisionStatement(Element elem)
          Returns a new instance of AuthzDecisionStatement.
 AuthzDecisionStatement createAuthzDecisionStatement(String xml)
          Returns a new instance of AuthzDecisionStatement.
 BaseID createBaseID()
          Returns a new instance of BaseID.
 BaseID createBaseID(Element elem)
          Returns a new instance of BaseID.
 BaseID createBaseID(String xml)
          Returns a new instance of BaseID.
 Condition createCondition()
          Returns a new instance of Condition.
 Condition createCondition(Element elem)
          Returns a new instance of Condition.
 Condition createCondition(String xml)
          Returns a new instance of Condition.
 Conditions createConditions()
          Returns a new instance of Conditions.
 Conditions createConditions(Element elem)
          Returns a new instance of Conditions.
 Conditions createConditions(String xml)
          Returns a new instance of Conditions.
 EncryptedAssertion createEncryptedAssertion(Element elem)
          Returns a new instance of EncryptedAssertion.
 EncryptedAssertion createEncryptedAssertion(String xml)
          Returns a new instance of EncryptedAssertion.
 EncryptedAttribute createEncryptedAttribute(Element elem)
          Returns a new instance of EncryptedAttribute.
 EncryptedAttribute createEncryptedAttribute(String xml)
          Returns a new instance of EncryptedAttribute.
 EncryptedID createEncryptedID(Element elem)
          Returns a new instance of EncryptedID.
 EncryptedID createEncryptedID(String xml)
          Returns a new instance of EncryptedID.
 Evidence createEvidence()
          Returns a new instance of Evidence.
 Evidence createEvidence(Element elem)
          Returns a new instance of Evidence.
 Evidence createEvidence(String xml)
          Returns a new instance of Evidence.
 Issuer createIssuer()
          Returns a new instance of Issuer.
 Issuer createIssuer(Element elem)
          Returns a new instance of Issuer.
 Issuer createIssuer(String xml)
          Returns a new instance of Issuer.
 KeyInfoConfirmationData createKeyInfoConfirmationData()
          Returns a new instance of KeyInfoConfirmationData.
 KeyInfoConfirmationData createKeyInfoConfirmationData(Element elem)
          Returns a new instance of KeyInfoConfirmationData.
 KeyInfoConfirmationData createKeyInfoConfirmationData(String xml)
          Returns a new instance of KeyInfoConfirmationData.
 NameID createNameID()
          Returns a new instance of NameID.
 NameID createNameID(Element elem)
          Returns a new instance of NameID.
 NameID createNameID(String xml)
          Returns a new instance of NameID.
 OneTimeUse createOneTimeUse()
          Returns a new instance of OneTimeUse.
 OneTimeUse createOneTimeUse(Element elem)
          Returns a new instance of OneTimeUse.
 OneTimeUse createOneTimeUse(String xml)
          Returns a new instance of OneTimeUse.
 ProxyRestriction createProxyRestriction()
          Returns a new instance of ProxyRestriction.
 ProxyRestriction createProxyRestriction(Element elem)
          Returns a new instance of ProxyRestriction.
 ProxyRestriction createProxyRestriction(String xml)
          Returns a new instance of ProxyRestriction.
 Subject createSubject()
          Returns a new instance of Subject.
 Subject createSubject(Element elem)
          Returns a new instance of Subject.
 Subject createSubject(String xml)
          Returns a new instance of Subject.
 SubjectConfirmation createSubjectConfirmation()
          Returns a new instance of SubjectConfirmation.
 SubjectConfirmation createSubjectConfirmation(Element elem)
          Returns a new instance of SubjectConfirmation.
 SubjectConfirmation createSubjectConfirmation(String xml)
          Returns a new instance of SubjectConfirmation.
 SubjectConfirmationData createSubjectConfirmationData()
          Returns a new instance of SubjectConfirmationData.
 SubjectConfirmationData createSubjectConfirmationData(Element elem)
          Returns a new instance of SubjectConfirmationData.
 SubjectConfirmationData createSubjectConfirmationData(String xml)
          Returns a new instance of SubjectConfirmationData.
 SubjectLocality createSubjectLocality()
          Returns a new instance of SubjectLocality.
 SubjectLocality createSubjectLocality(Element elem)
          Returns a new instance of SubjectLocality.
 SubjectLocality createSubjectLocality(String xml)
          Returns a new instance of SubjectLocality.
static AssertionFactory getInstance()
          Returns the instance of AssertionFactory.
 

メソッドの詳細

getInstance

public static AssertionFactory getInstance()
Returns the instance of AssertionFactory.

戻り値:
AssertionFactory.

createAdvice

public Advice createAdvice()
Returns a new instance of Advice.

戻り値:
a new instance of Advice

createAdvice

public Advice createAdvice(Element elem)
                    throws SAML2Exception
Returns a new instance of Advice. The return object is immutable.

パラメータ:
elem - a DOM Element representation of Advice
戻り値:
a new instance of Advice
例外:
SAML2Exception - if error occurs while processing the DOM Element

createAdvice

public Advice createAdvice(String xml)
                    throws SAML2Exception
Returns a new instance of Advice The return object is immutable.

パラメータ:
xml - a XML string representation of Advice
戻り値:
a new instance of Advice
例外:
SAML2Exception - if error occurs while processing the XML string

createAssertion

public Assertion createAssertion()
Returns a new instance of Assertion.

戻り値:
a new instance of Assertion

createAssertion

public Assertion createAssertion(Element elem)
                          throws SAML2Exception
Returns a new instance of Assertion. The return object is immutable.

パラメータ:
elem - a DOM Element representation of Assertion
戻り値:
a new instance of Assertion
例外:
SAML2Exception - if error occurs while processing the DOM Element

createAssertion

public Assertion createAssertion(String xml)
                          throws SAML2Exception
Returns a new instance of Assertion. The return object is immutable.

パラメータ:
xml - a XML string representation of Assertion
戻り値:
a new instance of Assertion
例外:
SAML2Exception - if error occurs while processing the XML string

createAssertionIDRef

public AssertionIDRef createAssertionIDRef()
Returns a new instance of AssertionIDRef.

戻り値:
a new instance of AssertionIDRef

createAssertionIDRef

public AssertionIDRef createAssertionIDRef(Element elem)
                                    throws SAML2Exception
Returns a new instance of AssertionIDRef. The return object is immutable.

パラメータ:
elem - a DOM Element representation of AssertionIDRef
戻り値:
a new instance of AssertionIDRef
例外:
SAML2Exception - if error occurs while processing the DOM Element

createAssertionIDRef

public AssertionIDRef createAssertionIDRef(String xml)
                                    throws SAML2Exception
Returns a new instance of AssertionIDRef. The return object is immutable.

パラメータ:
xml - a XML string representation of AssertionIDRef
戻り値:
a new instance of AssertionIDRef
例外:
SAML2Exception - if error occurs while processing the XML string

createAudienceRestriction

public AudienceRestriction createAudienceRestriction()
Returns a new instance of AudienceRestriction.

戻り値:
a new instance of AudienceRestriction

createAudienceRestriction

public AudienceRestriction createAudienceRestriction(Element elem)
                                              throws SAML2Exception
Returns a new instance of AudienceRestriction. The return object is immutable.

パラメータ:
elem - a DOM Element representation of AudienceRestriction
戻り値:
a new instance of AudienceRestriction
例外:
SAML2Exception - if error occurs while processing the DOM Element

createAudienceRestriction

public AudienceRestriction createAudienceRestriction(String xml)
                                              throws SAML2Exception
Returns a new instance of AudienceRestriction. The return object is immutable.

パラメータ:
xml - a XML string representation of AudienceRestriction
戻り値:
a new instance of AudienceRestriction
例外:
SAML2Exception - if error occurs while processing the XML string

createBaseID

public BaseID createBaseID()
Returns a new instance of BaseID.

戻り値:
a new instance of BaseID

createBaseID

public BaseID createBaseID(Element elem)
                    throws SAML2Exception
Returns a new instance of BaseID. The return object is immutable.

パラメータ:
elem - a DOM Element representation of BaseID
戻り値:
a new instance of BaseID
例外:
SAML2Exception - if error occurs while processing the DOM Element

createBaseID

public BaseID createBaseID(String xml)
                    throws SAML2Exception
Returns a new instance of BaseID. The return object is immutable.

パラメータ:
xml - a XML string representation of BaseID
戻り値:
a new instance of BaseID
例外:
SAML2Exception - if error occurs while processing the XML string

createCondition

public Condition createCondition()
Returns a new instance of Condition.

戻り値:
a new instance of Condition

createCondition

public Condition createCondition(Element elem)
                          throws SAML2Exception
Returns a new instance of Condition. The return object is immutable.

パラメータ:
elem - a DOM Element representation of Condition
戻り値:
a new instance of Condition
例外:
SAML2Exception - if error occurs while processing the DOM Element

createCondition

public Condition createCondition(String xml)
                          throws SAML2Exception
Returns a new instance of Condition. The return object is immutable.

パラメータ:
xml - a XML string representation of Condition
戻り値:
a new instance of Condition
例外:
SAML2Exception - if error occurs while processing the XML string

createConditions

public Conditions createConditions()
Returns a new instance of Conditions.

戻り値:
a new instance of Conditions

createConditions

public Conditions createConditions(Element elem)
                            throws SAML2Exception
Returns a new instance of Conditions. The return object is immutable.

パラメータ:
elem - a DOM Element representation of Conditions
戻り値:
a new instance of Conditions
例外:
SAML2Exception - if error occurs while processing the DOM Element

createConditions

public Conditions createConditions(String xml)
                            throws SAML2Exception
Returns a new instance of Conditions. The return object is immutable.

パラメータ:
xml - a XML string representation of Conditions
戻り値:
a new instance of Conditions
例外:
SAML2Exception - if error occurs while processing the XML string

createEncryptedAssertion

public EncryptedAssertion createEncryptedAssertion(Element elem)
                                            throws SAML2Exception
Returns a new instance of EncryptedAssertion. The return object is immutable.

パラメータ:
elem - a DOM Element representation of EncryptedAssertion
戻り値:
a new instance of EncryptedAssertion
例外:
SAML2Exception - if error occurs while processing the DOM Element

createEncryptedAssertion

public EncryptedAssertion createEncryptedAssertion(String xml)
                                            throws SAML2Exception
Returns a new instance of EncryptedAssertion. The return object is immutable.

パラメータ:
xml - a XML string representation of EncryptedAssertion
戻り値:
a new instance of EncryptedAssertion
例外:
SAML2Exception - if error occurs while processing the XML string

createEncryptedID

public EncryptedID createEncryptedID(Element elem)
                              throws SAML2Exception
Returns a new instance of EncryptedID. The return object is immutable.

パラメータ:
elem - a DOM Element representation of EncryptedID
戻り値:
a new instance of EncryptedID
例外:
SAML2Exception - if error occurs while processing the DOM Element

createEncryptedID

public EncryptedID createEncryptedID(String xml)
                              throws SAML2Exception
Returns a new instance of EncryptedID. The return object is immutable.

パラメータ:
xml - a XML string representation of EncryptedID
戻り値:
a new instance of EncryptedID
例外:
SAML2Exception - if error occurs while processing the XML string

createIssuer

public Issuer createIssuer()
Returns a new instance of Issuer.

戻り値:
a new instance of Issuer

createIssuer

public Issuer createIssuer(Element elem)
                    throws SAML2Exception
Returns a new instance of Issuer. The return object is immutable.

パラメータ:
elem - a DOM Element representation of Issuer
戻り値:
a new instance of Issuer
例外:
SAML2Exception - if error occurs while processing the DOM Element

createIssuer

public Issuer createIssuer(String xml)
                    throws SAML2Exception
Returns a new instance of Issuer. The return object is immutable.

パラメータ:
xml - a XML string representation of Issuer
戻り値:
a new instance of Issuer
例外:
SAML2Exception - if error occurs while processing the XML string

createKeyInfoConfirmationData

public KeyInfoConfirmationData createKeyInfoConfirmationData()
Returns a new instance of KeyInfoConfirmationData.

戻り値:
a new instance of KeyInfoConfirmationData

createKeyInfoConfirmationData

public KeyInfoConfirmationData createKeyInfoConfirmationData(Element elem)
                                                      throws SAML2Exception
Returns a new instance of KeyInfoConfirmationData. The return object is immutable.

パラメータ:
elem - a DOM Element representation of KeyInfoConfirmationData
戻り値:
a new instance of KeyInfoConfirmationData
例外:
SAML2Exception - if error occurs while processing the DOM Element

createKeyInfoConfirmationData

public KeyInfoConfirmationData createKeyInfoConfirmationData(String xml)
                                                      throws SAML2Exception
Returns a new instance of KeyInfoConfirmationData. The return object is immutable.

パラメータ:
xml - a XML string representation of KeyInfoConfirmationData
戻り値:
a new instance of KeyInfoConfirmationData
例外:
SAML2Exception - if error occurs while processing the XML string

createNameID

public NameID createNameID()
Returns a new instance of NameID.

戻り値:
a new instance of NameID

createNameID

public NameID createNameID(Element elem)
                    throws SAML2Exception
Returns a new instance of NameID. The return object is immutable.

パラメータ:
elem - a DOM Element representation of NameID
戻り値:
a new instance of NameID
例外:
SAML2Exception - if error occurs while processing the DOM Element

createNameID

public NameID createNameID(String xml)
                    throws SAML2Exception
Returns a new instance of NameID. The return object is immutable.

パラメータ:
xml - a XML string representation of NameID
戻り値:
a new instance of NameID
例外:
SAML2Exception - if error occurs while processing the XML string

createOneTimeUse

public OneTimeUse createOneTimeUse()
Returns a new instance of OneTimeUse.

戻り値:
a new instance of OneTimeUse

createOneTimeUse

public OneTimeUse createOneTimeUse(Element elem)
                            throws SAML2Exception
Returns a new instance of OneTimeUse. The return object is immutable.

パラメータ:
elem - a DOM Element representation of OneTimeUse
戻り値:
a new instance of OneTimeUse
例外:
SAML2Exception - if error occurs while processing the DOM Element

createOneTimeUse

public OneTimeUse createOneTimeUse(String xml)
                            throws SAML2Exception
Returns a new instance of OneTimeUse. The return object is immutable.

パラメータ:
xml - a XML string representation of OneTimeUse
戻り値:
a new instance of OneTimeUse
例外:
SAML2Exception - if error occurs while processing the XML string

createProxyRestriction

public ProxyRestriction createProxyRestriction()
Returns a new instance of ProxyRestriction.

戻り値:
a new instance of ProxyRestriction

createProxyRestriction

public ProxyRestriction createProxyRestriction(Element elem)
                                        throws SAML2Exception
Returns a new instance of ProxyRestriction. The return object is immutable.

パラメータ:
elem - a DOM Element representation of ProxyRestriction
戻り値:
a new instance of ProxyRestriction
例外:
SAML2Exception - if error occurs while processing the DOM Element

createProxyRestriction

public ProxyRestriction createProxyRestriction(String xml)
                                        throws SAML2Exception
Returns a new instance of ProxyRestriction. The return object is immutable.

パラメータ:
xml - a XML string representation of ProxyRestriction
戻り値:
a new instance of ProxyRestriction
例外:
SAML2Exception - if error occurs while processing the XML string

createSubject

public Subject createSubject()
Returns a new instance of Subject.

戻り値:
a new instance of Subject

createSubject

public Subject createSubject(Element elem)
                      throws SAML2Exception
Returns a new instance of Subject. The return object is immutable.

パラメータ:
elem - a DOM Element representation of Subject
戻り値:
a new instance of Subject
例外:
SAML2Exception - if error occurs while processing the DOM Element

createSubject

public Subject createSubject(String xml)
                      throws SAML2Exception
Returns a new instance of Subject. The return object is immutable.

パラメータ:
xml - a XML string representation of Subject
戻り値:
a new instance of Subject
例外:
SAML2Exception - if error occurs while processing the XML string

createSubjectConfirmation

public SubjectConfirmation createSubjectConfirmation()
Returns a new instance of SubjectConfirmation.

戻り値:
a new instance of SubjectConfirmation

createSubjectConfirmation

public SubjectConfirmation createSubjectConfirmation(Element elem)
                                              throws SAML2Exception
Returns a new instance of SubjectConfirmation. The return object is immutable.

パラメータ:
elem - a DOM Element representation of SubjectConfirmation
戻り値:
a new instance of SubjectConfirmation
例外:
SAML2Exception - if error occurs while processing the DOM Element

createSubjectConfirmation

public SubjectConfirmation createSubjectConfirmation(String xml)
                                              throws SAML2Exception
Returns a new instance of SubjectConfirmation. The return object is immutable.

パラメータ:
xml - a XML string representation of SubjectConfirmation
戻り値:
a new instance of SubjectConfirmation
例外:
SAML2Exception - if error occurs while processing the XML string

createSubjectConfirmationData

public SubjectConfirmationData createSubjectConfirmationData()
Returns a new instance of SubjectConfirmationData.

戻り値:
a new instance of SubjectConfirmationData

createSubjectConfirmationData

public SubjectConfirmationData createSubjectConfirmationData(Element elem)
                                                      throws SAML2Exception
Returns a new instance of SubjectConfirmationData. The return object is immutable.

パラメータ:
elem - a DOM Element representation of SubjectConfirmationData
戻り値:
a new instance of SubjectConfirmationData
例外:
SAML2Exception - if error occurs while processing the DOM Element

createSubjectConfirmationData

public SubjectConfirmationData createSubjectConfirmationData(String xml)
                                                      throws SAML2Exception
Returns a new instance of SubjectConfirmationData. The return object is immutable.

パラメータ:
xml - a XML string representation of SubjectConfirmationData
戻り値:
a new instance of SubjectConfirmationData
例外:
SAML2Exception - if error occurs while processing the XML string

createAction

public Action createAction()
Returns a new instance of Action. Caller may need to call setters of the class to populate the object.

戻り値:
a new instance of Action.

createAction

public Action createAction(Element elem)
                    throws SAML2Exception
Returns a new instance of Action. The return object is immutable.

パラメータ:
elem - an Element representing Action.
戻り値:
a new instance of Action.
例外:
SAML2Exception - if error occurs while processing the Element.

createAction

public Action createAction(String xml)
                    throws SAML2Exception
Returns a new instance of Action. The return object is immutable.

パラメータ:
xml - an XML String representing Action.
戻り値:
a new instance of Action.
例外:
SAML2Exception - if error occurs while processing the XML string.

createAttribute

public Attribute createAttribute()
Returns a new instance of Attribute. Caller may need to call setters of the class to populate the object.

戻り値:
a new instance of Attribute.

createAttribute

public Attribute createAttribute(Element elem)
                          throws SAML2Exception
Returns a new instance of Attribute. The return object is immutable.

パラメータ:
elem - an Element representation of Attribute.
戻り値:
a new instance of Attribute.
例外:
SAML2Exception - if error occurs while processing the Element.

createAttribute

public Attribute createAttribute(String xml)
                          throws SAML2Exception
Returns a new instance of Attribute. The return object is immutable.

パラメータ:
xml - an XML String representing Attribute.
戻り値:
a new instance of Attribute.
例外:
SAML2Exception - if error occurs while processing the XML string.

createAttributeStatement

public AttributeStatement createAttributeStatement()
Returns a new instance of AttributeStatement. Caller may need to call setters of the class to populate the object.

戻り値:
a new instance of AttributeStatement.

createAttributeStatement

public AttributeStatement createAttributeStatement(Element elem)
                                            throws SAML2Exception
Returns a new instance of AttributeStatement. The return object is immutable.

パラメータ:
elem - an Element representation of AttributeStatement.
戻り値:
a new instance of AttributeStatement.
例外:
SAML2Exception - if error occurs while processing the Element.

createAttributeStatement

public AttributeStatement createAttributeStatement(String xml)
                                            throws SAML2Exception
Returns a new instance of AttributeStatement. The return object is immutable.

パラメータ:
xml - an XML String representing AttributeStatement.
戻り値:
a new instance of AttributeStatement.
例外:
SAML2Exception - if error occurs while processing the XML string.

createAuthnContext

public AuthnContext createAuthnContext()
Returns a new instance of AuthnContext. Caller may need to call setters of the class to populate the object.

戻り値:
a new instance of AuthnContext.

createAuthnContext

public AuthnContext createAuthnContext(Element elem)
                                throws SAML2Exception
Returns a new instance of AuthnContext. The return object is immutable.

パラメータ:
elem - an Element representation of AuthnContext.
戻り値:
a new instance of AuthnContext.
例外:
SAML2Exception - if error occurs while processing the Element.

createAuthnContext

public AuthnContext createAuthnContext(String xml)
                                throws SAML2Exception
Returns a new instance of AuthnContext. The return object is immutable.

パラメータ:
xml - an XML String representing AuthnContext.
戻り値:
a new instance of AuthnContext.
例外:
SAML2Exception - if error occurs while processing the XML string.

createAuthnStatement

public AuthnStatement createAuthnStatement()
Returns a new instance of AuthnStatement. Caller may need to call setters of the class to populate the object.

戻り値:
a new instance of AuthnStatement.

createAuthnStatement

public AuthnStatement createAuthnStatement(Element elem)
                                    throws SAML2Exception
Returns a new instance of AuthnStatement. The return object is immutable.

パラメータ:
elem - an Element representation of AuthnStatement.
戻り値:
a new instance of AuthnStatement.
例外:
SAML2Exception - if error occurs while processing the Element.

createAuthnStatement

public AuthnStatement createAuthnStatement(String xml)
                                    throws SAML2Exception
Returns a new instance of AuthnStatement. The return object is immutable.

パラメータ:
xml - an XML String representing AuthnStatement.
戻り値:
a new instance of AuthnStatement.
例外:
SAML2Exception - if error occurs while processing the XML string.

createAuthzDecisionStatement

public AuthzDecisionStatement createAuthzDecisionStatement()
Returns a new instance of AuthzDecisionStatement. Caller may need to call setters of the class to populate the object.

戻り値:
a new instance of AuthzDecisionStatement.

createAuthzDecisionStatement

public AuthzDecisionStatement createAuthzDecisionStatement(Element elem)
                                                    throws SAML2Exception
Returns a new instance of AuthzDecisionStatement. The return object is immutable.

パラメータ:
elem - an Element representation of AuthzDecisionStatement.
戻り値:
a new instance of AuthzDecisionStatement.
例外:
SAML2Exception - if error occurs while processing the Element.

createAuthzDecisionStatement

public AuthzDecisionStatement createAuthzDecisionStatement(String xml)
                                                    throws SAML2Exception
Returns a new instance of AuthzDecisionStatement. The return object is immutable.

パラメータ:
xml - an XML String representing AuthzDecisionStatement.
戻り値:
a new instance of AuthzDecisionStatement.
例外:
SAML2Exception - if error occurs while processing the XML string.

createEncryptedAttribute

public EncryptedAttribute createEncryptedAttribute(Element elem)
                                            throws SAML2Exception
Returns a new instance of EncryptedAttribute. The return object is immutable.

パラメータ:
elem - an Element representation of EncryptedAttribute.
戻り値:
a new instance of EncryptedAttribute.
例外:
SAML2Exception - if error occurs while processing the Element.

createEncryptedAttribute

public EncryptedAttribute createEncryptedAttribute(String xml)
                                            throws SAML2Exception
Returns a new instance of EncryptedAttribute. The return object is immutable.

パラメータ:
xml - an XML String representing EncryptedAttribute. .
戻り値:
a new instance of EncryptedAttribute.
例外:
SAML2Exception - if error occurs while processing the XML string.

createEvidence

public Evidence createEvidence()
Returns a new instance of Evidence. Caller may need to call setters of the class to populate the object.

戻り値:
a new instance of Evidence.

createEvidence

public Evidence createEvidence(Element elem)
                        throws SAML2Exception
Returns a new instance of Evidence. The return object is immutable.

パラメータ:
elem - a Element representation of Evidence.
戻り値:
a new instance of Evidence.
例外:
SAML2Exception - if error occurs while processing the Element.

createEvidence

public Evidence createEvidence(String xml)
                        throws SAML2Exception
Returns a new instance of Evidence. The return object is immutable.

パラメータ:
xml - an XML String representing Evidence.
戻り値:
a new instance of Evidence.
例外:
SAML2Exception - if error occurs while processing the XML string.

createSubjectLocality

public SubjectLocality createSubjectLocality()
Returns a new instance of SubjectLocality. Caller may need to call setters of the class to populate the object.

戻り値:
a new instance of SubjectLocality.

createSubjectLocality

public SubjectLocality createSubjectLocality(Element elem)
                                      throws SAML2Exception
Returns a new instance of SubjectLocality. The return object is immutable.

パラメータ:
elem - an Element representing SubjectLocality.
戻り値:
a new instance of SubjectLocality.
例外:
SAML2Exception - if error occurs while processing the Element.

createSubjectLocality

public SubjectLocality createSubjectLocality(String xml)
                                      throws SAML2Exception
Returns a new instance of SubjectLocality. The return object is immutable.

パラメータ:
xml - an XML String representing SubjectLocality.
戻り値:
a new instance of SubjectLocality.
例外:
SAML2Exception - if error occurs while processing the XML string.