Class LogoImpl

All Implemented Interfaces:
LangBearing, XSURI, XMLObject, SAMLObject, Logo, LocalizedURI

public class LogoImpl extends LocalizedURIImpl implements Logo
Concrete implementation of Logo.
  • Field Details

    • width

      @Nullable private Integer width
      X-Dimension of the logo.
    • height

      @Nullable private Integer height
      Y-Dimension of the logo.
  • Constructor Details

    • LogoImpl

      protected LogoImpl(@Nullable String namespaceURI, @Nonnull String elementLocalName, @Nullable String namespacePrefix)
      Constructor.
      Parameters:
      namespaceURI - namespaceURI
      elementLocalName - elementLocalName
      namespacePrefix - namespacePrefix
  • Method Details

    • getHeight

      @Nullable public Integer getHeight()
      Get the height of the logo.
      Specified by:
      getHeight in interface Logo
      Returns:
      the height of the logo
    • setHeight

      public void setHeight(@Nullable Integer newHeight)
      Sets the height of the logo.
      Specified by:
      setHeight in interface Logo
      Parameters:
      newHeight - the height of the logo
    • getWidth

      @Nullable public Integer getWidth()
      Get the width of the logo.
      Specified by:
      getWidth in interface Logo
      Returns:
      the width of the logo
    • setWidth

      public void setWidth(@Nullable Integer newWidth)
      Sets the width of the logo.
      Specified by:
      setWidth in interface Logo
      Parameters:
      newWidth - the height of the logo
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class LocalizedURIImpl