Class ResourceTypeImpl

  • All Implemented Interfaces:
    org.opensaml.core.xml.XMLObject, org.opensaml.xacml.ctx.ResourceType, org.opensaml.xacml.XACMLObject

    public class ResourceTypeImpl
    extends AbstractXACMLObject
    implements org.opensaml.xacml.ctx.ResourceType
    Concrete implementation of ResourceType.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.opensaml.core.xml.util.XMLObjectChildrenList<org.opensaml.xacml.ctx.AttributeType> attributes
      Lists of the attributes in the subject.
      private org.opensaml.xacml.ctx.ResourceContentType resourceContent
      Resources content.
      • Fields inherited from interface org.opensaml.xacml.ctx.ResourceType

        DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ResourceTypeImpl​(String namespaceURI, String elementLocalName, String namespacePrefix)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      List<org.opensaml.xacml.ctx.AttributeType> getAttributes()
      List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
      org.opensaml.xacml.ctx.ResourceContentType getResourceContent()
      void setResourceContent​(org.opensaml.xacml.ctx.ResourceContentType content)
      • 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

      • attributes

        private org.opensaml.core.xml.util.XMLObjectChildrenList<org.opensaml.xacml.ctx.AttributeType> attributes
        Lists of the attributes in the subject.
      • resourceContent

        private org.opensaml.xacml.ctx.ResourceContentType resourceContent
        Resources content.
    • Constructor Detail

      • ResourceTypeImpl

        protected ResourceTypeImpl​(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

      • getAttributes

        public List<org.opensaml.xacml.ctx.AttributeType> getAttributes()
        Specified by:
        getAttributes in interface org.opensaml.xacml.ctx.ResourceType
      • getOrderedChildren

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

        public org.opensaml.xacml.ctx.ResourceContentType getResourceContent()
        Specified by:
        getResourceContent in interface org.opensaml.xacml.ctx.ResourceType
      • setResourceContent

        public void setResourceContent​(org.opensaml.xacml.ctx.ResourceContentType content)
        Specified by:
        setResourceContent in interface org.opensaml.xacml.ctx.ResourceType