com.sun.identity.saml2.assertion
Interface Action


public interface Action

The Action element specifies an action on the specified resource for which permission is sought. Its type is ActionType.

 <complexType name="ActionType">
   <simpleContent>
     <extension base="<http://www.w3.org/2001/XMLSchema>string">
       <attribute name="Namespace" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
     </extension>
   </simpleContent>
 </complexType>
 


Method Summary
 java.lang.String getNamespace()
          Returns the value of Namespace attribute.
 java.lang.String getValue()
          Returns the value of the Action.
 boolean isMutable()
          Returns the mutability of the object.
 void makeImmutable()
          Makes the object immutable.
 void setNamespace(java.lang.String value)
          Sets the value of the Namespace attribute.
 void setValue(java.lang.String value)
          Sets the value of this Action.
 java.lang.String toXMLString()
          Returns a String representation of the element.
 java.lang.String toXMLString(boolean includeNS, boolean declareNS)
          Returns a String representation of the element.
 

Method Detail

makeImmutable

public void makeImmutable()
Makes the object immutable.


isMutable

public boolean isMutable()
Returns the mutability of the object.

Returns:
true if the object is mutable; false otherwise.

getValue

public java.lang.String getValue()
Returns the value of the Action.

Returns:
the value of this Action.
See Also:
setValue(String)

setValue

public void setValue(java.lang.String value)
              throws SAML2Exception
Sets the value of this Action.

Parameters:
value - new Action.
Throws:
SAML2Exception - if the object is immutable.
See Also:
getValue()

getNamespace

public java.lang.String getNamespace()
Returns the value of Namespace attribute.

Returns:
the value of Namespace attribute.
See Also:
setNamespace(String)

setNamespace

public void setNamespace(java.lang.String value)
                  throws SAML2Exception
Sets the value of the Namespace attribute.

Parameters:
value - new value of Namespace attribute.
Throws:
SAML2Exception - if the object is immutable.
See Also:
getNamespace()

toXMLString

public java.lang.String toXMLString()
                             throws SAML2Exception
Returns a String representation of the element.

Returns:
A string containing the valid XML for this element. By default name space name is prepended to the element name.
Throws:
SAML2Exception - if the object does not conform to the schema.

toXMLString

public java.lang.String toXMLString(boolean includeNS,
                                    boolean declareNS)
                             throws SAML2Exception
Returns a String representation of the element.

Parameters:
includeNS - 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:
A string containing the valid XML for this element
Throws:
SAML2Exception - if the object does not conform to the schema.


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