|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.identity.saml2.assertion.AssertionFactory
public class AssertionFactory
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.
Method Summary | |
---|---|
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 . |
Method Detail |
---|
public static AssertionFactory getInstance()
AssertionFactory
.
AssertionFactory
.public Advice createAdvice()
Advice
.
Advice
public Advice createAdvice(Element elem) throws SAML2Exception
Advice
.
The return object is immutable.
elem
- a DOM Element representation of Advice
Advice
SAML2Exception
- if error occurs while processing the
DOM Elementpublic Advice createAdvice(String xml) throws SAML2Exception
Advice
The return object is immutable.
xml
- a XML string representation of Advice
Advice
SAML2Exception
- if error occurs while processing the
XML stringpublic Assertion createAssertion()
Assertion
.
Assertion
public Assertion createAssertion(Element elem) throws SAML2Exception
Assertion
.
The return object is immutable.
elem
- a DOM Element representation of Assertion
Assertion
SAML2Exception
- if error occurs while processing the
DOM Elementpublic Assertion createAssertion(String xml) throws SAML2Exception
Assertion
.
The return object is immutable.
xml
- a XML string representation of Assertion
Assertion
SAML2Exception
- if error occurs while processing the
XML stringpublic AssertionIDRef createAssertionIDRef()
AssertionIDRef
.
AssertionIDRef
public AssertionIDRef createAssertionIDRef(Element elem) throws SAML2Exception
AssertionIDRef
.
The return object is immutable.
elem
- a DOM Element representation of AssertionIDRef
AssertionIDRef
SAML2Exception
- if error occurs while processing the
DOM Elementpublic AssertionIDRef createAssertionIDRef(String xml) throws SAML2Exception
AssertionIDRef
.
The return object is immutable.
xml
- a XML string representation of AssertionIDRef
AssertionIDRef
SAML2Exception
- if error occurs while processing the
XML stringpublic AudienceRestriction createAudienceRestriction()
AudienceRestriction
.
AudienceRestriction
public AudienceRestriction createAudienceRestriction(Element elem) throws SAML2Exception
AudienceRestriction
.
The return object is immutable.
elem
- a DOM Element representation of
AudienceRestriction
AudienceRestriction
SAML2Exception
- if error occurs while processing the
DOM Elementpublic AudienceRestriction createAudienceRestriction(String xml) throws SAML2Exception
AudienceRestriction
.
The return object is immutable.
xml
- a XML string representation of
AudienceRestriction
AudienceRestriction
SAML2Exception
- if error occurs while processing the
XML stringpublic BaseID createBaseID()
BaseID
.
BaseID
public BaseID createBaseID(Element elem) throws SAML2Exception
BaseID
.
The return object is immutable.
elem
- a DOM Element representation of BaseID
BaseID
SAML2Exception
- if error occurs while processing the
DOM Elementpublic BaseID createBaseID(String xml) throws SAML2Exception
BaseID
.
The return object is immutable.
xml
- a XML string representation of BaseID
BaseID
SAML2Exception
- if error occurs while processing the
XML stringpublic Condition createCondition()
Condition
.
Condition
public Condition createCondition(Element elem) throws SAML2Exception
Condition
.
The return object is immutable.
elem
- a DOM Element representation of Condition
Condition
SAML2Exception
- if error occurs while processing the
DOM Elementpublic Condition createCondition(String xml) throws SAML2Exception
Condition
.
The return object is immutable.
xml
- a XML string representation of Condition
Condition
SAML2Exception
- if error occurs while processing the
XML stringpublic Conditions createConditions()
Conditions
.
Conditions
public Conditions createConditions(Element elem) throws SAML2Exception
Conditions
.
The return object is immutable.
elem
- a DOM Element representation of Conditions
Conditions
SAML2Exception
- if error occurs while processing the
DOM Elementpublic Conditions createConditions(String xml) throws SAML2Exception
Conditions
.
The return object is immutable.
xml
- a XML string representation of Conditions
Conditions
SAML2Exception
- if error occurs while processing the
XML stringpublic EncryptedAssertion createEncryptedAssertion(Element elem) throws SAML2Exception
EncryptedAssertion
.
The return object is immutable.
elem
- a DOM Element representation of
EncryptedAssertion
EncryptedAssertion
SAML2Exception
- if error occurs while processing the
DOM Elementpublic EncryptedAssertion createEncryptedAssertion(String xml) throws SAML2Exception
EncryptedAssertion
.
The return object is immutable.
xml
- a XML string representation of EncryptedAssertion
EncryptedAssertion
SAML2Exception
- if error occurs while processing the
XML stringpublic EncryptedID createEncryptedID(Element elem) throws SAML2Exception
EncryptedID
.
The return object is immutable.
elem
- a DOM Element representation of EncryptedID
EncryptedID
SAML2Exception
- if error occurs while processing the
DOM Elementpublic EncryptedID createEncryptedID(String xml) throws SAML2Exception
EncryptedID
.
The return object is immutable.
xml
- a XML string representation of EncryptedID
EncryptedID
SAML2Exception
- if error occurs while processing the
XML stringpublic Issuer createIssuer()
Issuer
.
Issuer
public Issuer createIssuer(Element elem) throws SAML2Exception
Issuer
.
The return object is immutable.
elem
- a DOM Element representation of Issuer
Issuer
SAML2Exception
- if error occurs while processing the
DOM Elementpublic Issuer createIssuer(String xml) throws SAML2Exception
Issuer
.
The return object is immutable.
xml
- a XML string representation of Issuer
Issuer
SAML2Exception
- if error occurs while processing the
XML stringpublic KeyInfoConfirmationData createKeyInfoConfirmationData()
KeyInfoConfirmationData
.
KeyInfoConfirmationData
public KeyInfoConfirmationData createKeyInfoConfirmationData(Element elem) throws SAML2Exception
KeyInfoConfirmationData
.
The return object is immutable.
elem
- a DOM Element representation of
KeyInfoConfirmationData
KeyInfoConfirmationData
SAML2Exception
- if error occurs while processing the
DOM Elementpublic KeyInfoConfirmationData createKeyInfoConfirmationData(String xml) throws SAML2Exception
KeyInfoConfirmationData
.
The return object is immutable.
xml
- a XML string representation of
KeyInfoConfirmationData
KeyInfoConfirmationData
SAML2Exception
- if error occurs while processing the
XML stringpublic NameID createNameID()
NameID
.
NameID
public NameID createNameID(Element elem) throws SAML2Exception
NameID
.
The return object is immutable.
elem
- a DOM Element representation of NameID
NameID
SAML2Exception
- if error occurs while processing the
DOM Elementpublic NameID createNameID(String xml) throws SAML2Exception
NameID
.
The return object is immutable.
xml
- a XML string representation of NameID
NameID
SAML2Exception
- if error occurs while processing the
XML stringpublic OneTimeUse createOneTimeUse()
OneTimeUse
.
OneTimeUse
public OneTimeUse createOneTimeUse(Element elem) throws SAML2Exception
OneTimeUse
.
The return object is immutable.
elem
- a DOM Element representation of OneTimeUse
OneTimeUse
SAML2Exception
- if error occurs while processing the
DOM Elementpublic OneTimeUse createOneTimeUse(String xml) throws SAML2Exception
OneTimeUse
.
The return object is immutable.
xml
- a XML string representation of OneTimeUse
OneTimeUse
SAML2Exception
- if error occurs while processing the
XML stringpublic ProxyRestriction createProxyRestriction()
ProxyRestriction
.
ProxyRestriction
public ProxyRestriction createProxyRestriction(Element elem) throws SAML2Exception
ProxyRestriction
.
The return object is immutable.
elem
- a DOM Element representation of ProxyRestriction
ProxyRestriction
SAML2Exception
- if error occurs while processing the
DOM Elementpublic ProxyRestriction createProxyRestriction(String xml) throws SAML2Exception
ProxyRestriction
.
The return object is immutable.
xml
- a XML string representation of ProxyRestriction
ProxyRestriction
SAML2Exception
- if error occurs while processing the
XML stringpublic Subject createSubject()
Subject
.
Subject
public Subject createSubject(Element elem) throws SAML2Exception
Subject
.
The return object is immutable.
elem
- a DOM Element representation of Subject
Subject
SAML2Exception
- if error occurs while processing the
DOM Elementpublic Subject createSubject(String xml) throws SAML2Exception
Subject
.
The return object is immutable.
xml
- a XML string representation of Subject
Subject
SAML2Exception
- if error occurs while processing the
XML stringpublic SubjectConfirmation createSubjectConfirmation()
SubjectConfirmation
.
SubjectConfirmation
public SubjectConfirmation createSubjectConfirmation(Element elem) throws SAML2Exception
SubjectConfirmation
.
The return object is immutable.
elem
- a DOM Element representation of
SubjectConfirmation
SubjectConfirmation
SAML2Exception
- if error occurs while processing the
DOM Elementpublic SubjectConfirmation createSubjectConfirmation(String xml) throws SAML2Exception
SubjectConfirmation
. The return
object is immutable.
xml
- a XML string representation of
SubjectConfirmation
SubjectConfirmation
SAML2Exception
- if error occurs while processing the
XML stringpublic SubjectConfirmationData createSubjectConfirmationData()
SubjectConfirmationData
.
SubjectConfirmationData
public SubjectConfirmationData createSubjectConfirmationData(Element elem) throws SAML2Exception
SubjectConfirmationData
. The
return object is immutable.
elem
- a DOM Element representation of
SubjectConfirmationData
SubjectConfirmationData
SAML2Exception
- if error occurs while processing the
DOM Elementpublic SubjectConfirmationData createSubjectConfirmationData(String xml) throws SAML2Exception
SubjectConfirmationData
. The
return object is immutable.
xml
- a XML string representation of
SubjectConfirmationData
SubjectConfirmationData
SAML2Exception
- if error occurs while processing the
XML stringpublic Action createAction()
Action
.
Caller may need to call setters of the class to populate the object.
Action
.public Action createAction(Element elem) throws SAML2Exception
Action
. The return object
is immutable.
elem
- an Element
representing Action
.
Action
.
SAML2Exception
- if error occurs while processing the
Element
.public Action createAction(String xml) throws SAML2Exception
Action
. The return object
is immutable.
xml
- an XML String representing Action
.
Action
.
SAML2Exception
- if error occurs while processing the XML string.public Attribute createAttribute()
Attribute
.
Caller may need to call setters of the class to populate the object.
Attribute
.public Attribute createAttribute(Element elem) throws SAML2Exception
Attribute
. The return object
is immutable.
elem
- an Element
representation of
Attribute
.
Attribute
.
SAML2Exception
- if error occurs while processing the
Element
.public Attribute createAttribute(String xml) throws SAML2Exception
Attribute
. The return object
is immutable.
xml
- an XML String representing Attribute
.
Attribute
.
SAML2Exception
- if error occurs while processing the XML string.public AttributeStatement createAttributeStatement()
AttributeStatement
.
Caller may need to call setters of the class to populate the object.
AttributeStatement
.public AttributeStatement createAttributeStatement(Element elem) throws SAML2Exception
AttributeStatement
. The return
object is immutable.
elem
- an Element
representation of
AttributeStatement
.
AttributeStatement
.
SAML2Exception
- if error occurs while processing the
Element
.public AttributeStatement createAttributeStatement(String xml) throws SAML2Exception
AttributeStatement
. The return
object is immutable.
xml
- an XML String representing AttributeStatement
.
AttributeStatement
.
SAML2Exception
- if error occurs while processing the XML string.public AuthnContext createAuthnContext()
AuthnContext
.
Caller may need to call setters of the class to populate the object.
AuthnContext
.public AuthnContext createAuthnContext(Element elem) throws SAML2Exception
AuthnContext
. The return object
is immutable.
elem
- an Element
representation of
AuthnContext
.
AuthnContext
.
SAML2Exception
- if error occurs
while processing the Element
.public AuthnContext createAuthnContext(String xml) throws SAML2Exception
AuthnContext
. The return object
is immutable.
xml
- an XML String representing AuthnContext
.
AuthnContext
.
SAML2Exception
- if error occurs while processing the XML string.public AuthnStatement createAuthnStatement()
AuthnStatement
.
Caller may need to call setters of the class to populate the object.
AuthnStatement
.public AuthnStatement createAuthnStatement(Element elem) throws SAML2Exception
AuthnStatement
. The return object
is immutable.
elem
- an Element
representation of
AuthnStatement
.
AuthnStatement
.
SAML2Exception
- if error occurs while processing the
Element
.public AuthnStatement createAuthnStatement(String xml) throws SAML2Exception
AuthnStatement
. The return
object is immutable.
xml
- an XML String representing AuthnStatement
.
AuthnStatement
.
SAML2Exception
- if error occurs while processing the XML string.public AuthzDecisionStatement createAuthzDecisionStatement()
AuthzDecisionStatement
.
Caller may need to call setters of the class to populate the object.
AuthzDecisionStatement
.public AuthzDecisionStatement createAuthzDecisionStatement(Element elem) throws SAML2Exception
AuthzDecisionStatement
. The return
object is immutable.
elem
- an Element
representation of
AuthzDecisionStatement
.
AuthzDecisionStatement
.
SAML2Exception
- if error occurs while processing the
Element
.public AuthzDecisionStatement createAuthzDecisionStatement(String xml) throws SAML2Exception
AuthzDecisionStatement
. The return
object is immutable.
xml
- an XML String representing
AuthzDecisionStatement
.
AuthzDecisionStatement
.
SAML2Exception
- if error occurs while processing the XML string.public EncryptedAttribute createEncryptedAttribute(Element elem) throws SAML2Exception
EncryptedAttribute
. The return
object is immutable.
elem
- an Element
representation of
EncryptedAttribute
.
EncryptedAttribute
.
SAML2Exception
- if error occurs
while processing the Element
.public EncryptedAttribute createEncryptedAttribute(String xml) throws SAML2Exception
EncryptedAttribute
. The return
object is immutable.
xml
- an XML String representing EncryptedAttribute
.
.
EncryptedAttribute
.
SAML2Exception
- if error occurs while processing the XML string.public Evidence createEvidence()
Evidence
.
Caller may need to call setters of the class to populate the object.
Evidence
.public Evidence createEvidence(Element elem) throws SAML2Exception
Evidence
. The return object is
immutable.
elem
- a Element
representation of
Evidence
.
Evidence
.
SAML2Exception
- if error occurs
while processing the Element
.public Evidence createEvidence(String xml) throws SAML2Exception
Evidence
. The return object
is immutable.
xml
- an XML String representing Evidence
.
Evidence
.
SAML2Exception
- if error occurs while processing the XML string.public SubjectLocality createSubjectLocality()
SubjectLocality
.
Caller may need to call setters of the class to populate the object.
SubjectLocality
.public SubjectLocality createSubjectLocality(Element elem) throws SAML2Exception
SubjectLocality
. The return object
is immutable.
elem
- an Element
representing
SubjectLocality
.
SubjectLocality
.
SAML2Exception
- if error occurs
while processing the Element
.public SubjectLocality createSubjectLocality(String xml) throws SAML2Exception
SubjectLocality
. The return object
is immutable.
xml
- an XML String representing SubjectLocality
.
SubjectLocality
.
SAML2Exception
- if error occurs while processing the XML string.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |