org.apache.struts2.views.gxp
Class AbstractGxpResult.DefaultProvider

java.lang.Object
  extended by org.apache.struts2.views.gxp.AbstractGxpResult.DefaultProvider
All Implemented Interfaces:
AbstractGxpResult.GxpResourceProvider
Enclosing class:
AbstractGxpResult

protected static class AbstractGxpResult.DefaultProvider
extends java.lang.Object
implements AbstractGxpResult.GxpResourceProvider

Uses reasonable defaults to provide resources.


Constructor Summary
AbstractGxpResult.DefaultProvider(java.lang.String contentType)
           
 
Method Summary
 java.util.Locale getLocale()
           
 java.io.Writer getWriter()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractGxpResult.DefaultProvider

public AbstractGxpResult.DefaultProvider(java.lang.String contentType)
Method Detail

getWriter

public java.io.Writer getWriter()
                         throws java.io.IOException
Specified by:
getWriter in interface AbstractGxpResult.GxpResourceProvider
Throws:
java.io.IOException

getLocale

public java.util.Locale getLocale()
Specified by:
getLocale in interface AbstractGxpResult.GxpResourceProvider


Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.