接口的使用
cn.taketoday.web.view.View
使用View的程序包
程序包
说明
Standard controller implementations for the MVC framework use like Framework
Provides standard View and ViewResolver implementations,
including abstract base classes for custom implementations.
Support classes for document generation,
providing View implementations for PDF and Excel.
Support classes for feed generation, providing View implementations for Atom and RSS.
Support classes for the integration of
FreeMarker
as Framework web view technology.
Support classes for the integration of
Groovy Templates as Framework web view technology.
Support classes for providing a View implementation based on JSON serialization.
Support classes for views based on the JSR-223 script engine abstraction
(as included in Java 6+), e.g. using JavaScript via Nashorn on JDK 8.
Support classes for providing a View implementation based on XML Marshalling.
Support classes for XSLT,
providing a View implementation for XSLT stylesheets.
-
cn.taketoday.web.config中View的使用
参数类型为View的cn.taketoday.web.config中的方法修饰符和类型方法说明voidViewResolverRegistry.enableContentNegotiation(boolean useNotAcceptableStatus, View... defaultViews) Enable use of aContentNegotiatingViewResolverto front all other configured view resolvers and select among all selected Views based on media types requested by the client (e.g. in the Accept header).voidViewResolverRegistry.enableContentNegotiation(View... defaultViews) Enable use of aContentNegotiatingViewResolverto front all other configured view resolvers and select among all selected Views based on media types requested by the client (e.g. in the Accept header).private ContentNegotiatingViewResolverViewResolverRegistry.initContentNegotiatingViewResolver(View[] defaultViews) -
cn.taketoday.web.handler.mvc中View的使用
修饰符和类型方法说明ParameterizableViewController.getView()Return the View object, ornullif we are using a view name to be resolved by the DispatcherHandler via a ViewResolver.参数类型为View的cn.taketoday.web.handler.mvc中的方法 -
cn.taketoday.web.servlet.view中View的使用
修饰符和类型类说明classWrapper for a JSP or other resource within the same web application.classSpecialization ofInternalResourceViewfor JSTL pages, i.e. -
cn.taketoday.web.view中View的使用
修饰符和类型接口说明interfaceProvides additional information about a View such as whether it performs redirects.修饰符和类型类说明classAdapter base class for template-based view technologies such as FreeMarker, with the ability to use request and session attributes in their model and the option to expose helper objects for Framework's FreeMarker macro library.classAbstract base class for URL-based views.classAbstract base class forViewimplementations.classView that redirects to an absolute, context relative, or current request relative URL.声明为View的cn.taketoday.web.view中的字段修饰符和类型字段说明private static final ViewContentNegotiatingViewResolver.NOT_ACCEPTABLE_VIEWstatic final ViewAbstractCachingViewResolver.UNRESOLVED_VIEWDummy marker object for unresolved views in the cache Maps.类型参数类型为View的cn.taketoday.web.view中的字段修饰符和类型字段说明ContentNegotiatingViewResolver.defaultViewsprivate final ConcurrentHashMap<Object,View> AbstractCachingViewResolver.viewAccessCacheFast access cache for Views, returning already cached instances without a global lock.private final LinkedHashMap<Object,View> AbstractCachingViewResolver.viewCreationCacheMap from view key to View instance, synchronized for View creation.返回View的cn.taketoday.web.view中的方法修饰符和类型方法说明protected ViewUrlBasedViewResolver.applyLifecycleMethods(String viewName, AbstractUrlBasedView view) Apply the containingApplicationContext's lifecycle methods to the givenViewinstance, if such a context is available.protected ViewAbstractCachingViewResolver.createView(String viewName, Locale locale) Create the actual View object.protected ViewUrlBasedViewResolver.createView(String viewName, Locale locale) Overridden to implement check for "redirect:" prefix.private ViewContentNegotiatingViewResolver.getBestView(List<View> candidateViews, List<MediaType> requestedMediaTypes, RequestContext context) ModelAndView.getView()Return the View object, ornullif we are using a view name to be resolved by the DispatcherServlet via a ViewResolver.protected abstract ViewSubclasses must implement this method, building a View object for the specified view.protected ViewDelegates tobuildViewfor creating a new instance of the specified view class.AbstractCachingViewResolver.resolveViewName(String viewName, Locale locale) BeanNameViewResolver.resolveViewName(String viewName, Locale locale) ContentNegotiatingViewResolver.resolveViewName(String viewName, Locale locale) ViewResolver.resolveViewName(String viewName, Locale locale) Resolve the given view by name.ViewResolverComposite.resolveViewName(String viewName, Locale locale) private ViewViewReturnValueHandler.resolveViewName(RequestContext context, String viewName, Locale locale) private ViewViewReturnValueHandler.resolveViewName(Locale locale, String viewName) 返回变量类型为View的类型的cn.taketoday.web.view中的方法修饰符和类型方法说明ContentNegotiatingViewResolver.getCandidateViews(String viewName, Locale locale, List<MediaType> requestedMediaTypes) ContentNegotiatingViewResolver.getDefaultViews()参数类型为View的cn.taketoday.web.view中的方法修饰符和类型方法说明voidViewReturnValueHandler.renderView(RequestContext context, View view) rendering aViewvoidViewReturnValueHandler.renderView(RequestContext context, View view, Map<String, Object> model) rendering aViewvoidSet a View object for this ModelAndView.booleanAbstractCachingViewResolver.CacheFilter.shouldCaching(View view, String viewName, Locale locale) Indicates whether the given view should be cached.类型变量类型为View的cn.taketoday.web.view中的方法参数修饰符和类型方法说明private ViewContentNegotiatingViewResolver.getBestView(List<View> candidateViews, List<MediaType> requestedMediaTypes, RequestContext context) voidContentNegotiatingViewResolver.setDefaultViews(List<View> defaultViews) Set the default views to use when a more specific view can not be obtained from theViewResolverchain.参数类型为View的cn.taketoday.web.view中的构造器限定符构造器说明ModelAndView(View view) Convenient constructor when there is no model data to expose.ModelAndView(View view, String modelName, Object modelObject) Convenient constructor to take a single model object.ModelAndView(View view, Map<String, ?> model) Create a new ModelAndView given a View object and a model. -
cn.taketoday.web.view.document中View的使用
修饰符和类型类说明classAbstract superclass for PDF views that operate on an existing document with an AcroForm.classAbstract superclass for PDF views.classConvenient superclass for Excel document views in traditional XLS format.classConvenient superclass for Excel document views in the Office 2007 XLSX format, using POI's streaming variant.classConvenient superclass for Excel document views in the Office 2007 XLSX format (as supported by POI-OOXML). -
cn.taketoday.web.view.feed中View的使用
修饰符和类型类说明classAbstract superclass for Atom Feed views, using the ROME package.classAbstractFeedView<T extends com.rometools.rome.feed.WireFeed>Abstract base class for Atom and RSS Feed views, using the ROME package.classAbstract superclass for RSS Feed views, using the ROME package. -
cn.taketoday.web.view.freemarker中View的使用
-
cn.taketoday.web.view.groovy中View的使用
-
cn.taketoday.web.view.json中View的使用
修饰符和类型类说明classAbstract base class for Jackson based and content type independentAbstractViewimplementations.classFramework MVCViewthat renders JSON content by serializing the model for the current request using Jackson 2'sObjectMapper. -
cn.taketoday.web.view.script中View的使用
修饰符和类型类说明classAnAbstractUrlBasedViewsubclass designed to run any template library based on a JSR-223 script engine. -
cn.taketoday.web.view.xml中View的使用
修饰符和类型类说明classFramework MVCViewthat renders XML content by serializing the model for the current request using Jackson 2'sXmlMapper.classWeb-MVCViewthat allows for response context to be rendered as the result of marshalling by aMarshaller. -
cn.taketoday.web.view.xslt中View的使用
修饰符和类型类说明classXSLT-driven View that allows for response context to be rendered as the result of an XSLT transformation.