Class RequestedAttributeImpl

    • Field Detail

    • 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()
        Checks to see if this requested attribute is also required.
        Specified by:
        isRequired 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