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

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

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

    • LogoImpl

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

    • getHeight

      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(Integer newHeight)
      Sets the height of the logo.
      Specified by:
      setHeight in interface Logo
      Parameters:
      newHeight - the height of the logo
    • getWidth

      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(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