com.sun.identity.saml2.protocol
Interface Extensions


public interface Extensions

The interface Extensions defines methods for adding protcol message extension elements.


Method Summary
 List getAny()
          Returns the list of Extensions object.
 boolean isMutable()
          Returns value true if object is mutable.
 void makeImmutable()
          Makes this object immutable.
 void setAny(List value)
          Sets the Extensions 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 the Extensions object.

Parameters:
value - List of Document Elements Extensions objects
Throws:
SAML2Exception - if the object is immutable.
See Also:
Extensions.getAny()

getAny

List getAny()
Returns the list of Extensions object.

Returns:
a List of Document Elements Extensions objects.
See Also:
Extensions.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 converted
declareNS - 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.