org.opensaml.samlext.saml2mdui.impl
Class LogoImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.common.impl.AbstractSAMLObject
              extended by org.opensaml.samlext.saml2mdui.impl.LogoImpl
All Implemented Interfaces:
SAMLObject, Logo, LangBearing, ValidatingXMLObject, XMLObject

public class LogoImpl
extends AbstractSAMLObject
implements Logo

Concrete implementation of Logo.


Field Summary
private  Integer height
          Y-Dimension of the logo.
private  String lang
          Language.
private  String url
          Logo URL.
private  Integer width
          X-Dimension of the logo.
 
Fields inherited from interface org.opensaml.samlext.saml2mdui.Logo
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, HEIGHT_ATTR_NAME, TYPE_LOCAL_NAME, TYPE_NAME, WIDTH_ATTR_NAME
 
Fields inherited from interface org.opensaml.xml.LangBearing
XML_LANG_ATTR_LOCAL_NAME, XML_LANG_ATTR_NAME
 
Constructor Summary
protected LogoImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 Integer getHeight()
          Get the height of the logo.
 List<XMLObject> getOrderedChildren()
          
 String getURL()
          Gets the URL.
 Integer getWidth()
          Get the width of the logo.
 String getXMLLang()
          
 int hashCode()
          
 void setHeight(Integer newHeight)
          Sets the height of the logo.
 void setURL(String newURL)
          Sets the URL.
 void setWidth(Integer newWidth)
          Sets the width of the logo.
 void setXMLLang(String newLang)
          
 
Methods inherited from class org.opensaml.common.impl.AbstractSAMLObject
equals, prepareForAssignment
 
Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate, validateChildren
 
Methods inherited from class org.opensaml.xml.AbstractXMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate
 
Methods inherited from interface org.opensaml.xml.XMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Field Detail

url

private String url
Logo URL.


lang

private String lang
Language.


width

private Integer width
X-Dimension of the logo.


height

private Integer height
Y-Dimension of the logo.

Constructor Detail

LogoImpl

protected LogoImpl(String namespaceURI,
                   String elementLocalName,
                   String namespacePrefix)
Constructor.

Parameters:
namespaceURI - namespaceURI
elementLocalName - elementLocalName
namespacePrefix - namespacePrefix
Method Detail

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

getURL

public String getURL()
Gets the URL.

Specified by:
getURL in interface Logo
Returns:
the URL

setURL

public void setURL(String newURL)
Sets the URL.

Specified by:
setURL in interface Logo
Parameters:
newURL - the URL

getXMLLang

public String getXMLLang()

Specified by:
getXMLLang in interface LangBearing

setXMLLang

public void setXMLLang(String newLang)

Specified by:
setXMLLang in interface LangBearing

getOrderedChildren

public List<XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface XMLObject

hashCode

public int hashCode()

Overrides:
hashCode in class AbstractSAMLObject


Copyright © 1999-2013. All Rights Reserved.