org.opensaml.xacml.profile.saml.impl
Class XACMLPolicyStatementTypeImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.common.impl.AbstractSAMLObject
              extended by org.opensaml.xacml.profile.saml.impl.XACMLPolicyStatementTypeImpl
All Implemented Interfaces:
SAMLObject, Statement, XACMLPolicyStatementType, XACMLObject, ValidatingXMLObject, XMLObject

public class XACMLPolicyStatementTypeImpl
extends AbstractSAMLObject
implements XACMLPolicyStatementType

Concrete implementation of XACMLPolicyStatementType.


Field Summary
private  IndexedXMLObjectChildrenList<XACMLObject> choiceGroup
          Choice group in element.
private  ReferencedPoliciesType referencedPolicies
          ReferencedPolicie child.
 
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
 
Fields inherited from interface org.opensaml.saml2.core.Statement
DEFAULT_ELEMENT_NAME, TYPE_NAME
 
Constructor Summary
protected XACMLPolicyStatementTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 List<XMLObject> getOrderedChildren()
          
 List<PolicyType> getPolicies()
          Return the XACMLPolicy inside the policy statement.
 List<PolicySetType> getPolicySets()
          Return the XACMLPolicySet inside the policy statement.
 ReferencedPoliciesType getReferencedPolicies()
          Gets the referenced policies.
 void setReferencedPolicies(ReferencedPoliciesType policies)
          Sets the referenced policies.
 
Methods inherited from class org.opensaml.common.impl.AbstractSAMLObject
equals, prepareForAssignment
 
Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate, validateChildren
 
Methods inherited from class org.opensaml.xml.AbstractXMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate
 
Methods inherited from interface org.opensaml.xml.XMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Field Detail

choiceGroup

private IndexedXMLObjectChildrenList<XACMLObject> choiceGroup
Choice group in element.


referencedPolicies

private ReferencedPoliciesType referencedPolicies
ReferencedPolicie child.

Constructor Detail

XACMLPolicyStatementTypeImpl

protected XACMLPolicyStatementTypeImpl(String namespaceURI,
                                       String elementLocalName,
                                       String namespacePrefix)
Constructor.

Parameters:
namespaceURI - the namespace the element is in
elementLocalName - the local name of the XML element this Object represents
namespacePrefix - the prefix for the given namespace
Method Detail

getOrderedChildren

public List<XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface XMLObject

getPolicies

public List<PolicyType> getPolicies()
Return the XACMLPolicy inside the policy statement.

Specified by:
getPolicies in interface XACMLPolicyStatementType
Returns:
the Policy

getPolicySets

public List<PolicySetType> getPolicySets()
Return the XACMLPolicySet inside the policy statement.

Specified by:
getPolicySets in interface XACMLPolicyStatementType
Returns:
the PolicySet

getReferencedPolicies

public ReferencedPoliciesType getReferencedPolicies()
Gets the referenced policies.

Specified by:
getReferencedPolicies in interface XACMLPolicyStatementType
Returns:
referenced policies

setReferencedPolicies

public void setReferencedPolicies(ReferencedPoliciesType policies)
Sets the referenced policies.

Specified by:
setReferencedPolicies in interface XACMLPolicyStatementType
Parameters:
policies - the referenced policies


Copyright © 1999-2012. All Rights Reserved.