Class AssertionIDRefImpl
- java.lang.Object
-
- com.sun.identity.saml2.assertion.impl.AssertionIDRefImpl
-
- All Implemented Interfaces:
AssertionIDRef
public class AssertionIDRefImpl extends Object implements AssertionIDRef
This class represents the AssertionIDRef element.The following schema fragment specifies the expected content contained within this java content object.
<element name="AssertionIDRef" type="NCName"/>
-
-
Constructor Summary
Constructors Constructor Description AssertionIDRefImpl()Class constructor.AssertionIDRefImpl(String xmlString)Class constructor withAssertionIDRefin xml string format.AssertionIDRefImpl(Element element)Class constructor withAssertionIDRefinElementformat.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()Returns the value of theAssertionIDRef.booleanisMutable()Returns the mutability of the object.voidmakeImmutable()Makes the object immutable.voidsetValue(String value)Sets the value of thisAssertionIDRef.StringtoXMLString()Returns a String representation of the element.StringtoXMLString(boolean includeNS, boolean declareNS)Returns a String representation of the element.
-
-
-
Constructor Detail
-
AssertionIDRefImpl
public AssertionIDRefImpl()
Class constructor. Caller may need to call setters to populate the object.
-
AssertionIDRefImpl
public AssertionIDRefImpl(Element element) throws SAML2Exception
Class constructor withAssertionIDRefinElementformat.- Parameters:
element- AElementrepresenting DOM tree forAssertionIDRefobject- Throws:
SAML2Exception- if it could not process the Element
-
AssertionIDRefImpl
public AssertionIDRefImpl(String xmlString) throws SAML2Exception
Class constructor withAssertionIDRefin xml string format.- Parameters:
xmlString- AStringrepresenting aAssertionIDRefobject- Throws:
SAML2Exception- if it could not process the XML string
-
-
Method Detail
-
getValue
public String getValue()
Returns the value of theAssertionIDRef.- Specified by:
getValuein interfaceAssertionIDRef- Returns:
- the value of this
AssertionIDRef. - See Also:
setValue(String)
-
setValue
public void setValue(String value) throws SAML2Exception
Sets the value of thisAssertionIDRef.- Specified by:
setValuein interfaceAssertionIDRef- Parameters:
value- newAssertionIDRef.- Throws:
SAML2Exception- if the object is immutable.- See Also:
getValue()
-
makeImmutable
public void makeImmutable()
Makes the object immutable.- Specified by:
makeImmutablein interfaceAssertionIDRef
-
isMutable
public boolean isMutable()
Returns the mutability of the object.- Specified by:
isMutablein interfaceAssertionIDRef- Returns:
- true if the object is mutable; false otherwise.
-
toXMLString
public String toXMLString() throws SAML2Exception
Returns a String representation of the element.- Specified by:
toXMLStringin interfaceAssertionIDRef- Returns:
- A string containing the valid XML for this element. By default name space name is prepended to the element name.
- Throws:
SAML2Exception- if the object does not conform to the schema.
-
toXMLString
public String toXMLString(boolean includeNS, boolean declareNS) throws SAML2Exception
Returns a String representation of the element.- Specified by:
toXMLStringin interfaceAssertionIDRef- Parameters:
includeNS- Determines whether or not the namespace qualifier is prepended to the Element when converteddeclareNS- Determines whether or not the namespace is declared within the Element.- Returns:
- A string containing the valid XML for this element
- Throws:
SAML2Exception- if the object does not conform to the schema.
-
-