Package com.sun.identity.saml2.assertion
Interface Statement
-
- All Known Subinterfaces:
AttributeStatement
,AuthnStatement
,AuthzDecisionStatement
,XACMLAuthzDecisionStatement
@SupportedAll public interface Statement
TheStatement
element is an extension point that allows other assertion-based applications to reuse the SAML assertion framework. SAML itself derives its core statements from this extension point. ItsStatementAbstractType
complex type is abstract and is thus usable only as the base of a derived type.<complexType name="StatementAbstractType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> </restriction> </complexContent> </complexType>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isMutable()
Returns the mutability of the object.void
makeImmutable()
Makes the object immutable.String
toXMLString()
Returns a String representation of the element.String
toXMLString(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:
- true if the object is mutable; false otherwise.
-
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.
-
-