Class RequestedAttributeImpl

All Implemented Interfaces:
AttributeExtensibleXMLObject, XMLObject, SAMLObject, Attribute, RequestedAttribute

public class RequestedAttributeImpl extends AttributeImpl implements RequestedAttribute
Concrete implementation of RequestedAttribute.
  • Field Details

    • isRequired

      private XSBooleanValue isRequired
      isRequired attribute.
  • Constructor Details

    • 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 Details

    • isRequired

      public Boolean isRequired()
      Checks to see if this requested attribute is also required.
      Specified by:
      isRequired in interface RequestedAttribute
      Returns:
      true if this attribute is required
    • isRequiredXSBoolean

      public XSBooleanValue isRequiredXSBoolean()
      Checks to see if this requested attribute is also required.
      Specified by:
      isRequiredXSBoolean in interface RequestedAttribute
      Returns:
      true if this attribute is required
    • setIsRequired

      public void setIsRequired(Boolean newIsRequired)
      Sets if this requested attribute is also required. Boolean values will be marshalled to either "true" or "false".
      Specified by:
      setIsRequired in interface RequestedAttribute
      Parameters:
      newIsRequired - true if this attribute is required
    • setIsRequired

      public void setIsRequired(XSBooleanValue newIsRequired)
      Sets if this requested attribute is also required.
      Specified by:
      setIsRequired in interface RequestedAttribute
      Parameters:
      newIsRequired - true if this attribute is required