public class XACMLAuthzDecisionStatementImpl extends Object implements XACMLAuthzDecisionStatement
XACMLAuthzDecisionStatement
.
<xs:element name="XACMLAuthzDecisionStatement" type="xacml-saml:XACMLAuthzDecisionStatementType"/> <xs:complexType name="XACMLAuthzDecisionStatementType"> <xs:complexContent> <xs:extension base="saml:StatementAbstractType"> <xs:sequence> <xs:element ref="xacml-context:Response"/> <xs:element ref="xacml-context:Request" minOccurs="0"/> <xs:sequence> <xs:extension> <xs:complexContent> <xs:complexType>Schema for the base type is
<complexType name="StatementAbstractType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> </restriction> </complexContent> </complexType>
Constructor and Description |
---|
XACMLAuthzDecisionStatementImpl()
Constructs an
XACMLAuthzDecisionStatement object |
XACMLAuthzDecisionStatementImpl(Element element)
Constructs an
XACMLAuthzDecisionStatementImpl object
from an XML DOM element |
XACMLAuthzDecisionStatementImpl(String xml)
Constructs an
XACMLAuthzDecisionStatementImpl object
from an XML string |
Modifier and Type | Method and Description |
---|---|
Request |
getRequest()
Returns
Request element of this object |
Response |
getResponse()
Returns
Response element of this object |
boolean |
isMutable()
Checks if the object is mutable
|
void |
makeImmutable()
Makes the object immutable
|
void |
setRequest(Request request)
Sets
Request element of this object. |
void |
setResponse(Response response)
Sets
Response element of this object |
String |
toXMLString()
Returns a string representation
|
String |
toXMLString(boolean includeNSPrefix,
boolean declareNS)
Returns a string representation
|
public XACMLAuthzDecisionStatementImpl()
XACMLAuthzDecisionStatement
objectpublic XACMLAuthzDecisionStatementImpl(String xml) throws XACMLException
XACMLAuthzDecisionStatementImpl
object
from an XML stringxml
- string representing an
XACMLAuthzDecisionStatementImpl
objectXACMLException
- if the XML string could not be processedpublic XACMLAuthzDecisionStatementImpl(Element element) throws XACMLException
XACMLAuthzDecisionStatementImpl
object
from an XML DOM elementelement
- XML DOM element representing an
XACMLAuthzDecisionStatementImpl
objectXACMLException
- if the DOM element could not be processedpublic Response getResponse()
Response
element of this objectgetResponse
in interface XACMLAuthzDecisionStatement
Response
element of this objectpublic void setResponse(Response response) throws XACMLException
Response
element of this objectsetResponse
in interface XACMLAuthzDecisionStatement
response
- XACML context Response
element to be
set in this object.XACMLException
- if the object is immutable and response is
null.public Request getRequest()
Request
element of this objectgetRequest
in interface XACMLAuthzDecisionStatement
Request
element of this objectpublic void setRequest(Request request) throws XACMLException
Request
element of this object.setRequest
in interface XACMLAuthzDecisionStatement
request
- XACML context Request
element to be
set in this object.XACMLException
- if the object is immutable.public String toXMLString() throws XACMLException
toXMLString
in interface Statement
toXMLString
in interface XACMLAuthzDecisionStatement
XACMLException
- if conversion fails for any reasonpublic String toXMLString(boolean includeNSPrefix, boolean declareNS) throws XACMLException
toXMLString
in interface Statement
toXMLString
in interface XACMLAuthzDecisionStatement
includeNSPrefix
- 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.XACMLException
- if conversion fails for any reasonpublic boolean isMutable()
isMutable
in interface Statement
isMutable
in interface XACMLAuthzDecisionStatement
true
if the object is mutable,
false
otherwisepublic void makeImmutable()
makeImmutable
in interface Statement
makeImmutable
in interface XACMLAuthzDecisionStatement
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.