Package org.opensaml.xacml.policy.impl
Class ResourceMatchTypeImpl
- java.lang.Object
-
- org.opensaml.core.xml.AbstractXMLObject
-
- org.opensaml.xacml.impl.AbstractXACMLObject
-
- org.opensaml.xacml.policy.impl.ResourceMatchTypeImpl
-
- All Implemented Interfaces:
org.opensaml.core.xml.XMLObject,org.opensaml.xacml.policy.ResourceMatchType,org.opensaml.xacml.XACMLObject
public class ResourceMatchTypeImpl extends AbstractXACMLObject implements org.opensaml.xacml.policy.ResourceMatchType
Concrete implementation ofResourceMatchType.
-
-
Field Summary
Fields Modifier and Type Field Description private org.opensaml.core.xml.util.IndexedXMLObjectChildrenList<org.opensaml.xacml.XACMLObject>attributeChoiceMatch's choice of attribute elements.private org.opensaml.xacml.policy.AttributeValueTypeattributeValueMatch's attribute value.private StringmatchIdGets the ID of this match.
-
Constructor Summary
Constructors Constructor Description ResourceMatchTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.opensaml.xacml.policy.AttributeSelectorTypegetAttributeSelector()org.opensaml.xacml.policy.AttributeValueTypegetAttributeValue()StringgetMatchId()List<org.opensaml.core.xml.XMLObject>getOrderedChildren()org.opensaml.xacml.policy.AttributeDesignatorTypegetResourceAttributeDesignator()voidsetAttributeSelector(org.opensaml.xacml.policy.AttributeSelectorType selector)voidsetAttributeValue(org.opensaml.xacml.policy.AttributeValueType value)voidsetMatchId(String id)voidsetResourceAttributeDesignator(org.opensaml.xacml.policy.AttributeDesignatorType attribute)-
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 Detail
-
attributeValue
private org.opensaml.xacml.policy.AttributeValueType attributeValue
Match's attribute value.
-
attributeChoice
private org.opensaml.core.xml.util.IndexedXMLObjectChildrenList<org.opensaml.xacml.XACMLObject> attributeChoice
Match's choice of attribute elements.
-
matchId
private String matchId
Gets the ID of this match.
-
-
Constructor Detail
-
ResourceMatchTypeImpl
public ResourceMatchTypeImpl(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 Detail
-
getAttributeSelector
public org.opensaml.xacml.policy.AttributeSelectorType getAttributeSelector()
- Specified by:
getAttributeSelectorin interfaceorg.opensaml.xacml.policy.ResourceMatchType
-
getAttributeValue
public org.opensaml.xacml.policy.AttributeValueType getAttributeValue()
- Specified by:
getAttributeValuein interfaceorg.opensaml.xacml.policy.ResourceMatchType
-
getResourceAttributeDesignator
public org.opensaml.xacml.policy.AttributeDesignatorType getResourceAttributeDesignator()
- Specified by:
getResourceAttributeDesignatorin interfaceorg.opensaml.xacml.policy.ResourceMatchType
-
getMatchId
public String getMatchId()
- Specified by:
getMatchIdin interfaceorg.opensaml.xacml.policy.ResourceMatchType
-
setAttributeSelector
public void setAttributeSelector(org.opensaml.xacml.policy.AttributeSelectorType selector)
- Specified by:
setAttributeSelectorin interfaceorg.opensaml.xacml.policy.ResourceMatchType
-
setAttributeValue
public void setAttributeValue(org.opensaml.xacml.policy.AttributeValueType value)
- Specified by:
setAttributeValuein interfaceorg.opensaml.xacml.policy.ResourceMatchType
-
setResourceAttributeDesignator
public void setResourceAttributeDesignator(org.opensaml.xacml.policy.AttributeDesignatorType attribute)
- Specified by:
setResourceAttributeDesignatorin interfaceorg.opensaml.xacml.policy.ResourceMatchType
-
setMatchId
public void setMatchId(String id)
- Specified by:
setMatchIdin interfaceorg.opensaml.xacml.policy.ResourceMatchType
-
getOrderedChildren
public List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildrenin interfaceorg.opensaml.core.xml.XMLObject
-
-