Class TemplateView
java.lang.Object
org.nuxeo.ecm.webengine.jaxrs.views.TemplateView
Template for compatibility with Nuxeo WebEngine
- Author:
- Bogdan Stefanescu
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTemplateView
(File file) TemplateView
(Object owner, File file) TemplateView
(Object owner, String name) TemplateView
(Object owner, URL url) TemplateView
(String name) TemplateView
(URL url) TemplateView
(org.osgi.framework.Bundle bundle, Object owner, String name) -
Method Summary
Modifier and TypeMethodDescriptiongetOwner()
getUrl()
void
render
(OutputStream out) void
static URL
resolveFile
(File file) static URL
resolveResource
(Object owner, String name) static URL
resolveResourceFromBundle
(org.osgi.framework.Bundle bundle, String name)
-
Field Details
-
owner
-
url
-
vars
-
-
Constructor Details
-
TemplateView
-
TemplateView
-
TemplateView
-
TemplateView
-
TemplateView
-
TemplateView
-
TemplateView
-
-
Method Details
-
resolveFile
- Throws:
ViewNotFoundException
-
resolveResource
- Throws:
ViewNotFoundException
-
resolveResourceFromBundle
public static URL resolveResourceFromBundle(org.osgi.framework.Bundle bundle, String name) throws ViewNotFoundException - Throws:
ViewNotFoundException
-
forObject
-
getUrl
-
getOwner
-
arg
-
render
- Throws:
RenderingException
IOException
-
render
- Throws:
RenderingException
IOException
-