Package com.sun.identity.saml2.protocol
Interface Extensions
-
- All Known Implementing Classes:
ExtensionsImpl
public interface ExtensionsThe interfaceExtensionsdefines methods for adding protcol message extension elements.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListgetAny()Returns the list ofExtensionsobject.booleanisMutable()Returns value true if object is mutable.voidmakeImmutable()Makes this object immutable.voidsetAny(List value)Sets theExtensionsobject.StringtoXMLString()Returns a String representation of this object.StringtoXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representation of this object.
-
-
-
Method Detail
-
setAny
void setAny(List value) throws SAML2Exception
Sets theExtensionsobject.- Parameters:
value- List of Document ElementsExtensionsobjects- Throws:
SAML2Exception- if the object is immutable.- See Also:
getAny()
-
getAny
List getAny()
Returns the list ofExtensionsobject.- Returns:
- a List of Document Elements
Extensionsobjects. - 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.
-
-