Class 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 of ResourceMatchType.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.opensaml.core.xml.util.IndexedXMLObjectChildrenList<org.opensaml.xacml.XACMLObject> attributeChoice
      Match's choice of attribute elements.
      private org.opensaml.xacml.policy.AttributeValueType attributeValue
      Match's attribute value.
      private String matchId
      Gets the ID of this match.
      • Fields inherited from interface org.opensaml.xacml.policy.ResourceMatchType

        DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, MATCH_ID_ATTRIB_NAME, SCHEMA_TYPE_LOCAL_NAME, SCHEMA_TYPE_NAME
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.opensaml.xacml.policy.AttributeSelectorType getAttributeSelector()
      org.opensaml.xacml.policy.AttributeValueType getAttributeValue()
      String getMatchId()
      List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
      org.opensaml.xacml.policy.AttributeDesignatorType getResourceAttributeDesignator()
      void setAttributeSelector​(org.opensaml.xacml.policy.AttributeSelectorType selector)
      void setAttributeValue​(org.opensaml.xacml.policy.AttributeValueType value)
      void setMatchId​(String id)
      void setResourceAttributeDesignator​(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 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 in
        elementLocalName - the local name of the XML element this Object represents
        namespacePrefix - the prefix for the given namespace
    • Method Detail

      • getAttributeSelector

        public org.opensaml.xacml.policy.AttributeSelectorType getAttributeSelector()
        Specified by:
        getAttributeSelector in interface org.opensaml.xacml.policy.ResourceMatchType
      • getAttributeValue

        public org.opensaml.xacml.policy.AttributeValueType getAttributeValue()
        Specified by:
        getAttributeValue in interface org.opensaml.xacml.policy.ResourceMatchType
      • getResourceAttributeDesignator

        public org.opensaml.xacml.policy.AttributeDesignatorType getResourceAttributeDesignator()
        Specified by:
        getResourceAttributeDesignator in interface org.opensaml.xacml.policy.ResourceMatchType
      • getMatchId

        public String getMatchId()
        Specified by:
        getMatchId in interface org.opensaml.xacml.policy.ResourceMatchType
      • setAttributeSelector

        public void setAttributeSelector​(org.opensaml.xacml.policy.AttributeSelectorType selector)
        Specified by:
        setAttributeSelector in interface org.opensaml.xacml.policy.ResourceMatchType
      • setAttributeValue

        public void setAttributeValue​(org.opensaml.xacml.policy.AttributeValueType value)
        Specified by:
        setAttributeValue in interface org.opensaml.xacml.policy.ResourceMatchType
      • setResourceAttributeDesignator

        public void setResourceAttributeDesignator​(org.opensaml.xacml.policy.AttributeDesignatorType attribute)
        Specified by:
        setResourceAttributeDesignator in interface org.opensaml.xacml.policy.ResourceMatchType
      • setMatchId

        public void setMatchId​(String id)
        Specified by:
        setMatchId in interface org.opensaml.xacml.policy.ResourceMatchType
      • getOrderedChildren

        public List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
        Specified by:
        getOrderedChildren in interface org.opensaml.core.xml.XMLObject