Examples of Head


Examples of net.sf.laja.cdd.behaviour.head.Head

    private final Head head;

    public Monster(MonsterState state, MonsterStateBuilder stateBuilder) {
        super(state, stateBuilder);

        head = new Head(state, stateBuilder);
    }
View Full Code Here

Examples of org.apache.cocoon.rest.controller.method.Head

        }

        @Override
        public RestResponse execute(Object controller) throws Exception {
            if (controller instanceof Head) {
                Head head = (Head) controller;
                return head.doHead();
            }

            // According to http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html a
            // HEAD response behaves exactly the same as a GET request except that
            // no content is sent.
View Full Code Here

Examples of org.apache.ecs.html.Head

                MENU_NAME,
                null,
                MENU_BG_IMAGE,
                MENU_SPACER_IMAGE,
                lang);
            Head head = new Head().addElement(new Link()
                .setRel("stylesheet")
                .setType("text/css")
                .setHref("smilemenu.css"));
            menuGenerator.createMenu(MENU_NAME, head, StandaloneEnvironment.standaloneZones, lang);
View Full Code Here

Examples of org.apache.ecs.html.Head

                .addElement(new P())
                .addElement("Your browser can't handle frames. Please update your browser!"));

            Document document = new Document().setDoctype(new Doctype.Html40Frameset()).setHtml(
                new Html().addElement(
                    new Head().addElement(new Title("Smilehouse OpenSyncro (Standalone)"))
                    .addElement(new Script(
                        "if (top.location != location) top.location.href = document.location.href;")
                        .setLanguage("JavaScript")
                        )).addElement(
                    frameset).addElement(noframes));
View Full Code Here

Examples of org.apache.ecs.html.Head

        }

        Document document = new Document().setDoctype(new Doctype.Html40Transitional()).setHtml(
            new Html()
                .addElement(
                    new Head().addElement(new Title("Smilehouse OpenSyncro")).addElement(
                        new Link().setRel("stylesheet").setType("text/css").setHref(
                            "smilestyle.css")))
                .addElement(body));

        res.setContentType("text/html");
View Full Code Here

Examples of org.apache.ecs.html.Head

        String lang = (String) session.getAttribute(SESSION_LANGUAGE_ATTR);

        Body body = getBody();

        Head head = new Head().addElement(
            new Meta().setHttpEquiv("Content-Type").setContent(getContentType())).addElement(
            tabGenerator.getStyle()).addElement(
            new Link().setRel("stylesheet").setType("text/css").setHref("smilestyle.css"));
        if(toHead != null)
            head.addElement(toHead);

        Document doc = new Document().setDoctype(new Doctype.Html40Transitional()).setHtml(
            new Html().addElement(head).addElement(
                body.addElement(tabGenerator.getTabSet(tabSetId, tabId, new ElementContainer()
                    .addElement(content), MENU_FILE, standaloneZones, lang))));
View Full Code Here

Examples of org.apache.ecs.html.Head

        body.addElement(new H1("ERROR!")).addElement(new PRE().addElement(Utils.getStackTrace(e))
//          .addElement(e.getCause().toString())
            );

        Document doc = new Document().setDoctype(new Doctype.Html40Transitional()).setHtml(
            new Html().addElement(new Head()).addElement(body));

        doc.output(out);
    }
View Full Code Here

Examples of org.apache.struts2.components.Head

/**
* @see Head
*/
public class HeadDirective extends AbstractDirective {
    protected Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
        return new Head(stack, req, res);
    }
View Full Code Here

Examples of org.apache.struts2.components.Head

    public HeadModel(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
        super(stack, req, res);
    }

    protected Component getBean() {
        return new Head(stack, req, res);
    }
View Full Code Here

Examples of org.apache.struts2.components.Head

public class HeadTag extends AbstractUITag {

    private static final long serialVersionUID = 6876765769175246030L;

    public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
        return new Head(stack, req, res);
    }
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.