com.vaadin.server
Class BootstrapFragmentResponse
java.lang.Object
java.util.EventObject
com.vaadin.server.BootstrapResponse
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
Fields inherited from class java.util.EventObject |
source |
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 java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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 eventrequest
- the Vaadin request for which the bootstrap page should be
generatedsession
- the service session for which the bootstrap page should be
generateduiClass
- the class of the UI that will be displayed on the pagefragmentNodes
- a mutable list containing the DOM nodes that will make up the
application HTMLuiProvider
- the UI provider for the bootstrap- See Also:
BootstrapResponse#BootstrapResponse(BootstrapHandler, VaadinRequest,
VaadinSession, Class)
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.