Package org.opensaml.xacml.policy.impl
Class PolicyTypeImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.xacml.impl.AbstractXACMLObject
org.opensaml.xacml.policy.impl.PolicyTypeImpl
- All Implemented Interfaces:
XMLObject,PolicyType,XACMLObject
Concrete implemenation of
PolicyType.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate IndexedXMLObjectChildrenList<? extends XACMLObject>Elements within the choice group.private DescriptionTypePolicy description.private ObligationsTypePolicy obligations.private DefaultsTypePolicy defaults.private StringID of this policy.private StringRule combinging algorithm ID.private TargetTypePolicy target.private StringVersion of this policy.Fields inherited from interface org.opensaml.xacml.policy.PolicyType
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, POLICY_ID_ATTRIB_NAME, RULE_COMBINING_ALG_ID_ATTRIB_NAME, SCHEMA_TYPE_LOCAL_NAME, SCHEMA_TYPE_NAME, VERSION_ATTRIB_NAME, VERSION_DEFAULT_VALUE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPolicyTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets the combiner parameters for this policy.Gets the description for this policy.Gets the obligations of this policy.Gets an unmodifiable list of child elements in the order that they will appear in the DOM.Gets the defaults for this policy.Gets the ID of this policy.Gets the rule combiner parameters for this policy.Gets the rule combining algorithm used with this policy.getRules()Gets the rules for this policy.Gets the target of this policy.Gets the variable definition for this policy.Gets the XACML version of this policy.voidsetDescription(DescriptionType newDescription) Sets the description for this policy.voidsetObligations(ObligationsType newObligations) Sets the obligations of this policy.voidsetPolicyDefaults(DefaultsType defaults) Sets the defaults for this policy.voidsetPolicyId(String id) Sets the ID of this policy.voidSets the rule combining algorithm used with this policy.voidsetTarget(TargetType newTarget) Sets the target of this policy.voidsetVersion(String newVersion) Sets the XACML version of this policy.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
-
description
Policy description. -
policyDefaults
Policy defaults. -
target
Policy target. -
choiceGroup
Elements within the choice group. -
obligations
Policy obligations. -
policyId
ID of this policy. -
version
Version of this policy. -
ruleCombiningAlgo
Rule combinging algorithm ID.
-
-
Constructor Details
-
PolicyTypeImpl
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
-
getCombinerParameters
Gets the combiner parameters for this policy.- Specified by:
getCombinerParametersin interfacePolicyType- Returns:
- combiner parameters for this policy
-
getDescription
Gets the description for this policy.- Specified by:
getDescriptionin interfacePolicyType- Returns:
- description for this policy
-
getObligations
Gets the obligations of this policy.- Specified by:
getObligationsin interfacePolicyType- Returns:
- obligations of this policy
-
getPolicyDefaults
Gets the defaults for this policy.- Specified by:
getPolicyDefaultsin interfacePolicyType- Returns:
- defaults for this policy
-
getPolicyId
Gets the ID of this policy.- Specified by:
getPolicyIdin interfacePolicyType- Returns:
- ID of this policy
-
getRuleCombinerParameters
Gets the rule combiner parameters for this policy.- Specified by:
getRuleCombinerParametersin interfacePolicyType- Returns:
- rule combiner parameters for this policy
-
getRuleCombiningAlgoId
Gets the rule combining algorithm used with this policy.- Specified by:
getRuleCombiningAlgoIdin interfacePolicyType- Returns:
- rule combining algorithm used with this policy
-
getRules
Gets the rules for this policy.- Specified by:
getRulesin interfacePolicyType- Returns:
- rules for this policy
-
getTarget
Gets the target of this policy.- Specified by:
getTargetin interfacePolicyType- Returns:
- target of this policy
-
getVariableDefinitions
Gets the variable definition for this policy.- Specified by:
getVariableDefinitionsin interfacePolicyType- Returns:
- variable definition for this policy
-
getVersion
Gets the XACML version of this policy.- Specified by:
getVersionin interfacePolicyType- Returns:
- XACML version of this policy
-
setDescription
Sets the description for this policy.- Specified by:
setDescriptionin interfacePolicyType- Parameters:
newDescription- description for this policy
-
setObligations
Sets the obligations of this policy.- Specified by:
setObligationsin interfacePolicyType- Parameters:
newObligations- obligations of this policy
-
setPolicyDefaults
Sets the defaults for this policy.- Specified by:
setPolicyDefaultsin interfacePolicyType- Parameters:
defaults- defaults for this policy
-
setPolicyId
Sets the ID of this policy.- Specified by:
setPolicyIdin interfacePolicyType- Parameters:
id- ID of this policy
-
setRuleCombiningAlgoId
Sets the rule combining algorithm used with this policy.- Specified by:
setRuleCombiningAlgoIdin interfacePolicyType- Parameters:
id- rule combining algorithm used with this policy
-
setTarget
Sets the target of this policy.- Specified by:
setTargetin interfacePolicyType- Parameters:
newTarget- target of this policy
-
setVersion
Sets the XACML version of this policy.- Specified by:
setVersionin interfacePolicyType- Parameters:
newVersion- XACML version of this policy
-
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
-