Package com.sun.identity.saml2.assertion
Interface Action
-
- All Known Implementing Classes:
ActionImpl
public interface ActionTheActionelement specifies an action on the specified resource for which permission is sought. Its type isActionType.<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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetNamespace()Returns the value ofNamespaceattribute.StringgetValue()Returns the value of theAction.booleanisMutable()Returns the mutability of the object.voidmakeImmutable()Makes the object immutable.voidsetNamespace(String value)Sets the value of theNamespaceattribute.voidsetValue(String value)Sets the value of thisAction.StringtoXMLString()Returns a String representation of the element.StringtoXMLString(boolean includeNS, boolean declareNS)Returns a String representation of the element.
-
-
-
Method Detail
-
makeImmutable
void makeImmutable()
Makes the object immutable.
-
isMutable
boolean isMutable()
Returns the mutability of the object.- Returns:
trueif the object is mutable;falseotherwise.
-
getValue
String getValue()
Returns the value of theAction.- Returns:
- the value of this
Action. - See Also:
setValue(String)
-
setValue
void setValue(String value) throws SAML2Exception
Sets the value of thisAction.- Parameters:
value- newAction.- Throws:
SAML2Exception- if the object is immutable.- See Also:
getValue()
-
getNamespace
String getNamespace()
Returns the value ofNamespaceattribute.- Returns:
- the value of
Namespaceattribute. - See Also:
setNamespace(String)
-
setNamespace
void setNamespace(String value) throws SAML2Exception
Sets the value of theNamespaceattribute.- Parameters:
value- new value ofNamespaceattribute.- Throws:
SAML2Exception- if the object is immutable.- See Also:
getNamespace()
-
toXMLString
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
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 converteddeclareNS- 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.
-
-