com.vaadin.server
Class BootstrapFragmentResponse

java.lang.Object
  extended by java.util.EventObject
      extended by com.vaadin.server.BootstrapResponse
          extended by com.vaadin.server.BootstrapFragmentResponse
All Implemented Interfaces:
java.io.Serializable

public class BootstrapFragmentResponse
extends BootstrapResponse

A representation of a bootstrap fragment being generated. The bootstrap fragment is the HTML code that will make up the actual application. This also includes the JavaScript that initializes the application.

Since:
7.0.0
Author:
Vaadin Ltd
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
BootstrapFragmentResponse(BootstrapHandler handler, VaadinRequest request, VaadinSession session, java.lang.Class<? extends UI> uiClass, java.util.List<org.jsoup.nodes.Node> fragmentNodes, UIProvider uiProvider)
          Crate a new bootstrap fragment response.
 
Method Summary
 java.util.List<org.jsoup.nodes.Node> getFragmentNodes()
          Gets the list of DOM nodes that will be used to generate the fragment HTML.
 
Methods inherited from class com.vaadin.server.BootstrapResponse
getBootstrapHandler, getRequest, getSession, getUiClass, getUIProvider
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BootstrapFragmentResponse

public BootstrapFragmentResponse(BootstrapHandler handler,
                                 VaadinRequest request,
                                 VaadinSession session,
                                 java.lang.Class<? extends UI> uiClass,
                                 java.util.List<org.jsoup.nodes.Node> fragmentNodes,
                                 UIProvider uiProvider)
Crate a new bootstrap fragment response.

Parameters:
handler - the bootstrap handler that is firing the event
request - the Vaadin request for which the bootstrap page should be generated
session - the service session for which the bootstrap page should be generated
uiClass - the class of the UI that will be displayed on the page
fragmentNodes - a mutable list containing the DOM nodes that will make up the application HTML
uiProvider - the UI provider for the bootstrap
See Also:
BootstrapResponse#BootstrapResponse(BootstrapHandler, VaadinRequest, VaadinSession, Class)
Method Detail

getFragmentNodes

public java.util.List<org.jsoup.nodes.Node> getFragmentNodes()
Gets the list of DOM nodes that will be used to generate the fragment HTML. Changes to the returned list will be reflected in the generated HTML.

Returns:
the current list of DOM nodes that makes up the application fragment


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.