|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.jersey.api.view.Viewable com.sun.jersey.spi.template.ResolvedViewable<T>
T
- the type of the resolved template object.public class ResolvedViewable<T>
A resolved Viewable
.
A resolved viewable is obtained from the resolving methods on
TemplateContext
and has associated with it a ViewProcessor
that is capable of processing a template identified by a template reference.
Constructor Summary | |
---|---|
ResolvedViewable(ViewProcessor<T> vp,
T t,
Viewable v)
Create a resolved viewable. |
|
ResolvedViewable(ViewProcessor<T> vp,
T t,
Viewable v,
java.lang.Class<?> resolvingClass)
Create a resolved viewable. |
Method Summary | |
---|---|
void |
writeTo(java.io.OutputStream out)
Write the resolved viewable. |
Methods inherited from class com.sun.jersey.api.view.Viewable |
---|
getModel, getResolvingClass, getTemplateName, isTemplateNameAbsolute |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResolvedViewable(ViewProcessor<T> vp, T t, Viewable v)
vp
- the view processor that resolved a template name to a template
reference.t
- the template reference.v
- the viewable that is resolved.public ResolvedViewable(ViewProcessor<T> vp, T t, Viewable v, java.lang.Class<?> resolvingClass)
vp
- the view processor that resolved a template name to a template
reference.t
- the template reference.v
- the viewable that is resolved.resolvingClass
- the resolving class that was used to resolve a
relative template name into an absolute template name.Method Detail |
---|
public void writeTo(java.io.OutputStream out) throws java.io.IOException
This method defers to ViewProcessor.writeTo(java.lang.Object, com.sun.jersey.api.view.Viewable, java.io.OutputStream)
to write the viewable utilizing the template reference.
out
- the output stream that the view processor writes to.
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |