Class XACMLAuthzDecisionStatementTypeImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.xacml.profile.saml.impl.XACMLAuthzDecisionStatementTypeImpl
- All Implemented Interfaces:
XMLObject
,SAMLObject
,Statement
,XACMLAuthzDecisionStatementType
,XACMLObject
public class XACMLAuthzDecisionStatementTypeImpl
extends AbstractXMLObject
implements XACMLAuthzDecisionStatementType
A concrete implementation of
XACMLAuthzDecisionStatementType
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate RequestType
The request of the authorization request.private ResponseType
The response of the authorization request.Fields inherited from interface org.opensaml.saml.saml2.core.Statement
DEFAULT_ELEMENT_NAME, TYPE_NAME
Fields inherited from interface org.opensaml.xacml.profile.saml.XACMLAuthzDecisionStatementType
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME_XACML10, DEFAULT_ELEMENT_NAME_XACML11, DEFAULT_ELEMENT_NAME_XACML20, DEFAULT_ELEMENT_NAME_XACML30, TYPE_LOCAL_NAME, TYPE_NAME_XACML10, TYPE_NAME_XACML11, TYPE_NAME_XACML20, TYPE_NAME_XACML30
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
XACMLAuthzDecisionStatementTypeImpl
(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets an unmodifiable list of child elements in the order that they will appear in the DOM.Get's theRequestType
from theXACMLAuthzDecisionStatement
.Get's theResponseType
from theXACMLAuthzDecisionStatement
.void
setRequest
(RequestType req) Sets aResponseType
to theXACMLAuthzDecisionStatement
.void
setResponse
(ResponseType resp) Sets aResponseType
to theXACMLAuthzDecisionStatement
.Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
request
The request of the authorization request. -
response
The response of the authorization request.
-
-
Constructor Details
-
XACMLAuthzDecisionStatementTypeImpl
protected XACMLAuthzDecisionStatementTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor.- Parameters:
namespaceURI
- the namespace the element is inelementLocalName
- the local name of the XML element this Object representsnamespacePrefix
- the prefix for the given namespace
-
-
Method Details
-
getRequest
Get's theRequestType
from theXACMLAuthzDecisionStatement
.- Specified by:
getRequest
in interfaceXACMLAuthzDecisionStatementType
- Returns:
- the
RequestType
inside theXACMLAuthzDecisionStatement
-
getResponse
Get's theResponseType
from theXACMLAuthzDecisionStatement
.- Specified by:
getResponse
in interfaceXACMLAuthzDecisionStatementType
- Returns:
- the
ResponseType
inside theXACMLAuthzDecisionStatement
-
setRequest
Sets aResponseType
to theXACMLAuthzDecisionStatement
.- Specified by:
setRequest
in interfaceXACMLAuthzDecisionStatementType
- Parameters:
req
-RequestType
-
setResponse
Sets aResponseType
to theXACMLAuthzDecisionStatement
.- Specified by:
setResponse
in interfaceXACMLAuthzDecisionStatementType
- Parameters:
resp
-ResponseType
-
getOrderedChildren
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.- Specified by:
getOrderedChildren
in interfaceXMLObject
- Returns:
- ordered list of child elements
-