Class XACMLPolicyStatementTypeImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.xacml.profile.saml.impl.XACMLPolicyStatementTypeImpl
- All Implemented Interfaces:
XMLObject
,SAMLObject
,Statement
,XACMLPolicyStatementType
,XACMLObject
public class XACMLPolicyStatementTypeImpl
extends AbstractXMLObject
implements XACMLPolicyStatementType
Concrete implementation of
XACMLPolicyStatementType
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate IndexedXMLObjectChildrenList<XACMLObject>
Choice group in element.private ReferencedPoliciesType
ReferencedPolicie child.Fields inherited from interface org.opensaml.saml.saml2.core.Statement
DEFAULT_ELEMENT_NAME, TYPE_NAME
Fields inherited from interface org.opensaml.xacml.profile.saml.XACMLPolicyStatementType
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
XACMLPolicyStatementTypeImpl
(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.Return the XACMLPolicy inside the policy statement.Return the XACMLPolicySet inside the policy statement.Gets the referenced policies.void
setReferencedPolicies
(ReferencedPoliciesType policies) Sets the referenced policies.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
-
choiceGroup
Choice group in element. -
referencedPolicies
ReferencedPolicie child.
-
-
Constructor Details
-
XACMLPolicyStatementTypeImpl
protected XACMLPolicyStatementTypeImpl(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
-
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
-
getPolicies
Return the XACMLPolicy inside the policy statement.- Specified by:
getPolicies
in interfaceXACMLPolicyStatementType
- Returns:
- the Policy
-
getPolicySets
Return the XACMLPolicySet inside the policy statement.- Specified by:
getPolicySets
in interfaceXACMLPolicyStatementType
- Returns:
- the PolicySet
-
getReferencedPolicies
Gets the referenced policies.- Specified by:
getReferencedPolicies
in interfaceXACMLPolicyStatementType
- Returns:
- referenced policies
-
setReferencedPolicies
Sets the referenced policies.- Specified by:
setReferencedPolicies
in interfaceXACMLPolicyStatementType
- Parameters:
policies
- the referenced policies
-