Class GetCompleteImpl
- java.lang.Object
-
- com.sun.identity.saml2.protocol.impl.GetCompleteImpl
-
- All Implemented Interfaces:
GetComplete
public class GetCompleteImpl extends Object implements GetComplete
This class contains methods for theGetComplete
Element in the SAMLv2 Protocol Schema.GetComplete
Element specifies a URI which resolves to the complete IDPList.
-
-
Constructor Summary
Constructors Constructor Description GetCompleteImpl()
Constructor createsGetComplete
objectGetCompleteImpl(String xmlString)
Constructor createsGetComplete
objectGetCompleteImpl(Element element)
Constructor createsGetComplete
object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValue()
Returns the value of theGetComplete
URI.boolean
isMutable()
Returns true if object is mutable.void
makeImmutable()
Makes this object immutable.void
setValue(String value)
Sets the value of theGetComplete
URI.
String
toXMLString()
Returns a String representation of this Object.String
toXMLString(boolean includeNSPrefix, boolean declareNS)
Returns a String representation of this Object.
-
-
-
Constructor Detail
-
GetCompleteImpl
public GetCompleteImpl()
Constructor createsGetComplete
object
-
GetCompleteImpl
public GetCompleteImpl(Element element) throws SAML2Exception
Constructor createsGetComplete
object- Parameters:
element
- the Document Element object.- Throws:
SAML2Exception
- if error creatingGetComplete
object.
-
GetCompleteImpl
public GetCompleteImpl(String xmlString) throws SAML2Exception
Constructor createsGetComplete
object- Parameters:
xmlString
- the XML String.- Throws:
SAML2Exception
- if error creatingGetComplete
object.
-
-
Method Detail
-
getValue
public String getValue()
Returns the value of theGetComplete
URI.- Specified by:
getValue
in interfaceGetComplete
- Returns:
- value of the
GetComplete
URI. - See Also:
setValue(String)
-
setValue
public void setValue(String value) throws SAML2Exception
Sets the value of theGetComplete
URI.
- Specified by:
setValue
in interfaceGetComplete
- Parameters:
value
- new value of theGetComplete
URI.
- Throws:
SAML2Exception
- if the object is immutable.- See Also:
getValue()
-
toXMLString
public String toXMLString() throws SAML2Exception
Returns a String representation of this Object.- Specified by:
toXMLString
in interfaceGetComplete
- Returns:
- a String representation of this Object.
- Throws:
SAML2Exception
- if cannot convert to String.
-
toXMLString
public String toXMLString(boolean includeNSPrefix, boolean declareNS) throws SAML2Exception
Returns a String representation of this Object.- Specified by:
toXMLString
in interfaceGetComplete
- Parameters:
includeNSPrefix
- determines whether or not the namespace qualifier is prepended to the Element when converted.declareNS
- determines whether or not the namespace is declared. within the Element.- Returns:
- String representation of this object.
- Throws:
SAML2Exception
- if cannot convert to String.
-
makeImmutable
public void makeImmutable()
Makes this object immutable.- Specified by:
makeImmutable
in interfaceGetComplete
-
isMutable
public boolean isMutable()
Returns true if object is mutable.- Specified by:
isMutable
in interfaceGetComplete
- Returns:
- true if object is mutable.
-
-