Class RequestedAttributeImpl

  • All Implemented Interfaces:
    org.opensaml.core.xml.AttributeExtensibleXMLObject, org.opensaml.core.xml.XMLObject, org.opensaml.saml.common.SAMLObject, org.opensaml.saml.saml2.core.Attribute, org.opensaml.saml.saml2.metadata.RequestedAttribute

    public class RequestedAttributeImpl
    extends AttributeImpl
    implements org.opensaml.saml.saml2.metadata.RequestedAttribute
    Concrete implementation of RequestedAttribute.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.opensaml.core.xml.schema.XSBooleanValue isRequired
      isRequired attribute.
      • Fields inherited from interface org.opensaml.saml.saml2.core.Attribute

        BASIC, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, FRIENDLY_NAME_ATTRIB_NAME, NAME_ATTTRIB_NAME, NAME_FORMAT_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME, UNSPECIFIED, URI_REFERENCE
      • Fields inherited from interface org.opensaml.saml.saml2.metadata.RequestedAttribute

        DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, IS_REQUIRED_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Boolean isRequired()
      org.opensaml.core.xml.schema.XSBooleanValue isRequiredXSBoolean()
      void setIsRequired​(Boolean newIsRequired)
      void setIsRequired​(org.opensaml.core.xml.schema.XSBooleanValue newIsRequired)
      • 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.saml.saml2.core.Attribute

        getAttributeValues, getFriendlyName, getName, getNameFormat, setFriendlyName, setName, setNameFormat
      • Methods inherited from interface org.opensaml.core.xml.AttributeExtensibleXMLObject

        getUnknownAttributes
      • Methods inherited from interface org.opensaml.core.xml.XMLObject

        detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
    • Field Detail

      • isRequired

        private org.opensaml.core.xml.schema.XSBooleanValue isRequired
        isRequired attribute.
    • Constructor Detail

      • RequestedAttributeImpl

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

      • isRequired

        public Boolean isRequired()
        Specified by:
        isRequired in interface org.opensaml.saml.saml2.metadata.RequestedAttribute
      • isRequiredXSBoolean

        public org.opensaml.core.xml.schema.XSBooleanValue isRequiredXSBoolean()
        Specified by:
        isRequiredXSBoolean in interface org.opensaml.saml.saml2.metadata.RequestedAttribute
      • setIsRequired

        public void setIsRequired​(Boolean newIsRequired)
        Specified by:
        setIsRequired in interface org.opensaml.saml.saml2.metadata.RequestedAttribute
      • setIsRequired

        public void setIsRequired​(org.opensaml.core.xml.schema.XSBooleanValue newIsRequired)
        Specified by:
        setIsRequired in interface org.opensaml.saml.saml2.metadata.RequestedAttribute