|
||||||||||
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
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(org.w3c.dom.Element elem)
Returns a new instance of Action . |
Action |
createAction(java.lang.String xml)
Returns a new instance of Action . |
Advice |
createAdvice()
Returns a new instance of Advice . |
Advice |
createAdvice(org.w3c.dom.Element elem)
Returns a new instance of Advice . |
Advice |
createAdvice(java.lang.String xml)
Returns a new instance of Advice
The return object is immutable. |
Assertion |
createAssertion()
Returns a new instance of Assertion . |
Assertion |
createAssertion(org.w3c.dom.Element elem)
Returns a new instance of Assertion . |
Assertion |
createAssertion(java.lang.String xml)
Returns a new instance of Assertion . |
Attribute |
createAttribute()
Returns a new instance of Attribute . |
Attribute |
createAttribute(org.w3c.dom.Element elem)
Returns a new instance of Attribute . |
Attribute |
createAttribute(java.lang.String xml)
Returns a new instance of Attribute . |
AttributeStatement |
createAttributeStatement()
Returns a new instance of AttributeStatement . |
AttributeStatement |
createAttributeStatement(org.w3c.dom.Element elem)
Returns a new instance of AttributeStatement . |
AttributeStatement |
createAttributeStatement(java.lang.String xml)
Returns a new instance of AttributeStatement . |
AudienceRestriction |
createAudienceRestriction()
Returns a new instance of AudienceRestriction . |
AudienceRestriction |
createAudienceRestriction(org.w3c.dom.Element elem)
Returns a new instance of AudienceRestriction . |
AudienceRestriction |
createAudienceRestriction(java.lang.String xml)
Returns a new instance of AudienceRestriction . |
AuthnContext |
createAuthnContext()
Returns a new instance of AuthnContext . |
AuthnContext |
createAuthnContext(org.w3c.dom.Element elem)
Returns a new instance of AuthnContext . |
AuthnContext |
createAuthnContext(java.lang.String xml)
Returns a new instance of AuthnContext . |
AuthnStatement |
createAuthnStatement()
Returns a new instance of AuthnStatement . |
AuthnStatement |
createAuthnStatement(org.w3c.dom.Element elem)
Returns a new instance of AuthnStatement . |
AuthnStatement |
createAuthnStatement(java.lang.String xml)
Returns a new instance of AuthnStatement . |
AuthzDecisionStatement |
createAuthzDecisionStatement()
Returns a new instance of AuthzDecisionStatement . |
AuthzDecisionStatement |
createAuthzDecisionStatement(org.w3c.dom.Element elem)
Returns a new instance of AuthzDecisionStatement . |
AuthzDecisionStatement |
createAuthzDecisionStatement(java.lang.String xml)
Returns a new instance of AuthzDecisionStatement . |
BaseID |
createBaseID()
Returns a new instance of BaseID . |
BaseID |
createBaseID(org.w3c.dom.Element elem)
Returns a new instance of BaseID . |
BaseID |
createBaseID(java.lang.String xml)
Returns a new instance of BaseID . |
Condition |
createCondition()
Returns a new instance of Condition . |
Condition |
createCondition(org.w3c.dom.Element elem)
Returns a new instance of Condition . |
Condition |
createCondition(java.lang.String xml)
Returns a new instance of Condition . |
Conditions |
createConditions()
Returns a new instance of Conditions . |
Conditions |
createConditions(org.w3c.dom.Element elem)
Returns a new instance of Conditions . |
Conditions |
createConditions(java.lang.String xml)
Returns a new instance of Conditions . |
EncryptedAssertion |
createEncryptedAssertion(org.w3c.dom.Element elem)
Returns a new instance of EncryptedAssertion . |
EncryptedAssertion |
createEncryptedAssertion(java.lang.String xml)
Returns a new instance of EncryptedAssertion . |
EncryptedAttribute |
createEncryptedAttribute(org.w3c.dom.Element elem)
Returns a new instance of EncryptedAttribute . |
EncryptedAttribute |
createEncryptedAttribute(java.lang.String xml)
Returns a new instance of EncryptedAttribute . |
EncryptedID |
createEncryptedID(org.w3c.dom.Element elem)
Returns a new instance of EncryptedID . |
EncryptedID |
createEncryptedID(java.lang.String xml)
Returns a new instance of EncryptedID . |
Evidence |
createEvidence()
Returns a new instance of Evidence . |
Evidence |
createEvidence(org.w3c.dom.Element elem)
Returns a new instance of Evidence . |
Evidence |
createEvidence(java.lang.String xml)
Returns a new instance of Evidence . |
Issuer |
createIssuer()
Returns a new instance of Issuer . |
Issuer |
createIssuer(org.w3c.dom.Element elem)
Returns a new instance of Issuer . |
Issuer |
createIssuer(java.lang.String xml)
Returns a new instance of Issuer . |
KeyInfoConfirmationData |
createKeyInfoConfirmationData()
Returns a new instance of KeyInfoConfirmationData . |
KeyInfoConfirmationData |
createKeyInfoConfirmationData(org.w3c.dom.Element elem)
Returns a new instance of KeyInfoConfirmationData . |
KeyInfoConfirmationData |
createKeyInfoConfirmationData(java.lang.String xml)
Returns a new instance of KeyInfoConfirmationData . |
NameID |
createNameID()
Returns a new instance of NameID . |
NameID |
createNameID(org.w3c.dom.Element elem)
Returns a new instance of NameID . |
NameID |
createNameID(java.lang.String xml)
Returns a new instance of NameID . |
OneTimeUse |
createOneTimeUse()
Returns a new instance of OneTimeUse . |
OneTimeUse |
createOneTimeUse(org.w3c.dom.Element elem)
Returns a new instance of OneTimeUse . |
OneTimeUse |
createOneTimeUse(java.lang.String xml)
Returns a new instance of OneTimeUse . |
ProxyRestriction |
createProxyRestriction()
Returns a new instance of ProxyRestriction . |
ProxyRestriction |
createProxyRestriction(org.w3c.dom.Element elem)
Returns a new instance of ProxyRestriction . |
ProxyRestriction |
createProxyRestriction(java.lang.String xml)
Returns a new instance of ProxyRestriction . |
Subject |
createSubject()
Returns a new instance of Subject . |
Subject |
createSubject(org.w3c.dom.Element elem)
Returns a new instance of Subject . |
Subject |
createSubject(java.lang.String xml)
Returns a new instance of Subject . |
SubjectConfirmation |
createSubjectConfirmation()
Returns a new instance of SubjectConfirmation . |
SubjectConfirmation |
createSubjectConfirmation(org.w3c.dom.Element elem)
Returns a new instance of SubjectConfirmation . |
SubjectConfirmation |
createSubjectConfirmation(java.lang.String xml)
Returns a new instance of SubjectConfirmation . |
SubjectConfirmationData |
createSubjectConfirmationData()
Returns a new instance of SubjectConfirmationData . |
SubjectConfirmationData |
createSubjectConfirmationData(org.w3c.dom.Element elem)
Returns a new instance of SubjectConfirmationData . |
SubjectConfirmationData |
createSubjectConfirmationData(java.lang.String xml)
Returns a new instance of SubjectConfirmationData . |
SubjectLocality |
createSubjectLocality()
Returns a new instance of SubjectLocality . |
SubjectLocality |
createSubjectLocality(org.w3c.dom.Element elem)
Returns a new instance of SubjectLocality . |
SubjectLocality |
createSubjectLocality(java.lang.String xml)
Returns a new instance of SubjectLocality . |
static AssertionFactory |
getInstance()
Returns the instance of AssertionFactory . |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static AssertionFactory getInstance()
AssertionFactory
.
AssertionFactory
.public Advice createAdvice()
Advice
.
Advice
public Advice createAdvice(org.w3c.dom.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(java.lang.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(org.w3c.dom.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(java.lang.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 AudienceRestriction createAudienceRestriction()
AudienceRestriction
.
AudienceRestriction
public AudienceRestriction createAudienceRestriction(org.w3c.dom.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(java.lang.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(org.w3c.dom.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(java.lang.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(org.w3c.dom.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(java.lang.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(org.w3c.dom.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(java.lang.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(org.w3c.dom.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(java.lang.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(org.w3c.dom.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(java.lang.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(org.w3c.dom.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(java.lang.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(org.w3c.dom.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(java.lang.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(org.w3c.dom.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(java.lang.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(org.w3c.dom.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(java.lang.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(org.w3c.dom.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(java.lang.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(org.w3c.dom.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(java.lang.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(org.w3c.dom.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(java.lang.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(org.w3c.dom.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(java.lang.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(org.w3c.dom.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(java.lang.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(org.w3c.dom.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(java.lang.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(org.w3c.dom.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(java.lang.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(org.w3c.dom.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(java.lang.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(org.w3c.dom.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(java.lang.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(org.w3c.dom.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(java.lang.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(org.w3c.dom.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(java.lang.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(org.w3c.dom.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(java.lang.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(org.w3c.dom.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(java.lang.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 |