com.sun.identity.saml2.protocol
Interface Extensions


public interface Extensions

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


Method Summary
 java.util.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(java.util.List value)
          Sets the Extensions object.
 java.lang.String toXMLString()
          Returns a String representation of this object.
 java.lang.String toXMLString(boolean includeNSPrefix, boolean declareNS)
          Returns a String representation of this object.
 

Method Detail

setAny

public void setAny(java.util.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:
getAny()

getAny

public java.util.List getAny()
Returns the list of Extensions object.

Returns:
a List of Document Elements Extensions objects.
See Also:
setAny(List)

toXMLString

public java.lang.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

public java.lang.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

public void makeImmutable()
Makes this object immutable.


isMutable

public boolean isMutable()
Returns value true if object is mutable.

Returns:
true if object is mutable.


Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.