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 TypeMethodDescriptiongetRules()voidsetDescription(DescriptionType newDescription) voidsetObligations(ObligationsType newObligations) voidsetPolicyDefaults(DefaultsType defaults) voidsetPolicyId(String id) voidvoidsetTarget(TargetType newTarget) voidsetVersion(String newVersion) 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
- Specified by:
getCombinerParametersin interfacePolicyType
-
getDescription
- Specified by:
getDescriptionin interfacePolicyType
-
getObligations
- Specified by:
getObligationsin interfacePolicyType
-
getPolicyDefaults
- Specified by:
getPolicyDefaultsin interfacePolicyType
-
getPolicyId
- Specified by:
getPolicyIdin interfacePolicyType
-
getRuleCombinerParameters
- Specified by:
getRuleCombinerParametersin interfacePolicyType
-
getRuleCombiningAlgoId
- Specified by:
getRuleCombiningAlgoIdin interfacePolicyType
-
getRules
- Specified by:
getRulesin interfacePolicyType
-
getTarget
- Specified by:
getTargetin interfacePolicyType
-
getVariableDefinitions
- Specified by:
getVariableDefinitionsin interfacePolicyType
-
getVersion
- Specified by:
getVersionin interfacePolicyType
-
setDescription
- Specified by:
setDescriptionin interfacePolicyType
-
setObligations
- Specified by:
setObligationsin interfacePolicyType
-
setPolicyDefaults
- Specified by:
setPolicyDefaultsin interfacePolicyType
-
setPolicyId
- Specified by:
setPolicyIdin interfacePolicyType
-
setRuleCombiningAlgoId
- Specified by:
setRuleCombiningAlgoIdin interfacePolicyType
-
setTarget
- Specified by:
setTargetin interfacePolicyType
-
setVersion
- Specified by:
setVersionin interfacePolicyType
-
getOrderedChildren
- Specified by:
getOrderedChildrenin interfaceXMLObject
-