Package com.sun.identity.saml2.protocol
Interface Extensions
-
@SupportedAll public interface Extensions
The interfaceExtensions
defines methods for adding protcol message extension elements.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List
getAny()
Returns the list ofExtensions
object.boolean
isMutable()
Returns value true if object is mutable.void
makeImmutable()
Makes this object immutable.void
setAny(List value)
Sets theExtensions
object.String
toXMLString()
Returns a String representation of this object.String
toXMLString(boolean includeNSPrefix, boolean declareNS)
Returns a String representation of this object.
-
-
-
Method Detail
-
setAny
void setAny(List value) throws SAML2Exception
Sets theExtensions
object.- Parameters:
value
- List of Document ElementsExtensions
objects- Throws:
SAML2Exception
- if the object is immutable.- See Also:
getAny()
-
getAny
List getAny()
Returns the list ofExtensions
object.- Returns:
- a List of Document Elements
Extensions
objects. - See Also:
setAny(List)
-
toXMLString
String toXMLString() throws SAML2Exception
Returns a String representation of this object.- Returns:
- a String representation of this object.
- Throws:
SAML2Exception
- if cannot convert to String.
-
toXMLString
String toXMLString(boolean includeNSPrefix, boolean declareNS) throws SAML2Exception
Returns a String representation of this object.- Parameters:
includeNSPrefix
- 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:
- the String representation of this Object.
- Throws:
SAML2Exception
- if cannot convert to String.
-
makeImmutable
void makeImmutable()
Makes this object immutable.
-
isMutable
boolean isMutable()
Returns value true if object is mutable.- Returns:
- true if object is mutable.
-
-