Examples of Logo


Examples of org.apache.maven.doxia.site.decoration.Logo

        return banner;
    }

    private Logo createLogo( String name, String href, String img )
    {
        Logo logo = new Logo();
        logo.setHref( href );
        logo.setImg( img );
        logo.setName( name );
        return logo;
    }
View Full Code Here

Examples of org.apache.maven.doxia.site.decoration.Logo

        for ( Logo logo : parentList )
        {
            if ( !logos.contains( logo ) )
            {
                final Logo clone = logo.clone();

                rebaseLogoPaths( clone, urlContainer );

                logos.add( clone );
            }
View Full Code Here

Examples of org.moxie.Logo

    resources.add(rsc);
    return rsc;
  }
 
  public Logo createLogo() {
    logo = new Logo();
    return logo;
  }
View Full Code Here

Examples of org.moxie.Logo

    logo = new Logo();
    return logo;
  }
 
  public Logo createFavicon() { 
    favicon = new Logo();
    return favicon;   
  }
View Full Code Here

Examples of org.opensaml.samlext.saml2mdui.Logo

public class LogoUnmarshaller extends AbstractSAMLObjectUnmarshaller {

   
    /** {@inheritDoc} */
    protected void processElementContent(XMLObject samlObject, String elementContent) {
        Logo logo = (Logo) samlObject;

        logo.setURL(elementContent);
    }
View Full Code Here

Examples of org.opensaml.samlext.saml2mdui.Logo

        logo.setURL(elementContent);
    }
   
    /**  {@inheritDoc} */
    protected void processAttribute(XMLObject samlObject, Attr attribute) throws UnmarshallingException {
        Logo logo = (Logo) samlObject;

        if (attribute.getLocalName().equals(LangBearing.XML_LANG_ATTR_LOCAL_NAME)
                && SAMLConstants.XML_NS.equals(attribute.getNamespaceURI())) {
            logo.setXMLLang(attribute.getValue());
        } else if (attribute.getLocalName().equals(Logo.HEIGHT_ATTR_NAME)) {
            logo.setHeight(Integer.valueOf(attribute.getValue()));
        } else if (attribute.getLocalName().equals(Logo.WIDTH_ATTR_NAME)) {
            logo.setWidth(Integer.valueOf(attribute.getValue()));
        }
    }
View Full Code Here

Examples of org.opensaml.samlext.saml2mdui.Logo

    /**
     * {@inheritDoc}
     */
    protected void marshallAttributes(XMLObject samlObject, Element domElement) throws MarshallingException {
        Logo logo = (Logo) samlObject;

        if (logo.getXMLLang() != null) {
            Attr attribute = XMLHelper.constructAttribute(domElement.getOwnerDocument(), SAMLConstants.XML_NS,
                    LangBearing.XML_LANG_ATTR_LOCAL_NAME, SAMLConstants.XML_PREFIX);
            attribute.setValue(logo.getXMLLang());
            domElement.setAttributeNodeNS(attribute);
        }
        if (logo.getHeight() != null) {
            domElement.setAttributeNS(null, Logo.HEIGHT_ATTR_NAME, logo.getHeight().toString());
        }
        if (logo.getWidth() != null) {
            domElement.setAttributeNS(null, Logo.WIDTH_ATTR_NAME, logo.getWidth().toString());
        }
    }
View Full Code Here

Examples of org.opensaml.samlext.saml2mdui.Logo

        }
    }

    /** {@inheritDoc} */
    protected void marshallElementContent(XMLObject samlObject, Element domElement) throws MarshallingException {
        Logo logo = (Logo) samlObject;

        if (logo.getURL() != null) {
            XMLHelper.appendTextContent(domElement, logo.getURL());
        }
    }
View Full Code Here

Examples of org.rendersnake.site.components.Logo

       
        html
            .body()
            .div(id("main"))   
                .div(id("header"))
                .render(new Logo())
                .render(new MenuBar(uri))
                .render(new InspectThis())
                ._div() // header
            .div(id("content_header"))._div()
           
View Full Code Here

Examples of org.rendersnake.site.components.Logo

    }
    private class Content implements Renderable {
      public void renderOn(HtmlCanvas html) throws IOException {
       
            html.render(new Inspector(new Logo()));
            html.hr();
            html.render(new Inspector(new InspectThis()));
            html.hr();
            html.render(new Inspector(new MenuBar("here")));
            html.hr();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.