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 ReferencedPoliciesTypeReferencedPolicie child.Fields inherited from interface org.opensaml.saml.saml2.core.Statement
DEFAULT_ELEMENT_NAME, TYPE_NAMEFields 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
ConstructorsModifierConstructorDescriptionprotectedXACMLPolicyStatementTypeImpl(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.voidsetReferencedPolicies(ReferencedPoliciesType policies) Sets the referenced policies.Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, ensureDOM, 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, setSchemaTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensaml.core.xml.XMLObject
detach, ensureDOM, 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:
getOrderedChildrenin interfaceXMLObject- Returns:
- ordered list of child elements
-
getPolicies
Return the XACMLPolicy inside the policy statement.- Specified by:
getPoliciesin interfaceXACMLPolicyStatementType- Returns:
- the Policy
-
getPolicySets
Return the XACMLPolicySet inside the policy statement.- Specified by:
getPolicySetsin interfaceXACMLPolicyStatementType- Returns:
- the PolicySet
-
getReferencedPolicies
Gets the referenced policies.- Specified by:
getReferencedPoliciesin interfaceXACMLPolicyStatementType- Returns:
- referenced policies
-
setReferencedPolicies
Sets the referenced policies.- Specified by:
setReferencedPoliciesin interfaceXACMLPolicyStatementType- Parameters:
policies- the referenced policies
-