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 withAssertionIDRef
in xml string format.AssertionIDRefImpl(Element element)
Class constructor withAssertionIDRef
inElement
format.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValue()
Returns the value of theAssertionIDRef
.boolean
isMutable()
Returns the mutability of the object.void
makeImmutable()
Makes the object immutable.void
setValue(String value)
Sets the value of thisAssertionIDRef
.String
toXMLString()
Returns a String representation of the element.String
toXMLString(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 withAssertionIDRef
inElement
format.- Parameters:
element
- AElement
representing DOM tree forAssertionIDRef
object- Throws:
SAML2Exception
- if it could not process the Element
-
AssertionIDRefImpl
public AssertionIDRefImpl(String xmlString) throws SAML2Exception
Class constructor withAssertionIDRef
in xml string format.- Parameters:
xmlString
- AString
representing aAssertionIDRef
object- Throws:
SAML2Exception
- if it could not process the XML string
-
-
Method Detail
-
getValue
public String getValue()
Returns the value of theAssertionIDRef
.- Specified by:
getValue
in 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:
setValue
in interfaceAssertionIDRef
- Parameters:
value
- newAssertionIDRef
.- Throws:
SAML2Exception
- if the object is immutable.- See Also:
getValue()
-
makeImmutable
public void makeImmutable()
Makes the object immutable.- Specified by:
makeImmutable
in interfaceAssertionIDRef
-
isMutable
public boolean isMutable()
Returns the mutability of the object.- Specified by:
isMutable
in 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:
toXMLString
in 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:
toXMLString
in 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.
-
-