fixed javadoc errors

This commit is contained in:
Juergen Hoeller 2008-11-28 13:56:30 +00:00
parent f8c690c542
commit 4f40a6c313
16 changed files with 17 additions and 33 deletions

View File

@ -31,9 +31,6 @@ import java.beans.PropertyDescriptor;
* *
* <p>This interface supports <b>nested properties</b> enabling the setting * <p>This interface supports <b>nested properties</b> enabling the setting
* of properties on subproperties to an unlimited depth. * of properties on subproperties to an unlimited depth.
* A <code>BeanWrapper</code> instance can be used repeatedly, with its
* {@link #setWrappedInstance(Object) target object} (the wrapped JavaBean
* instance) changing as required.
* *
* <p>A BeanWrapper's default for the "extractOldValueForEditor" setting * <p>A BeanWrapper's default for the "extractOldValueForEditor" setting
* is "false", to avoid side effects caused by getter method invocations. * is "false", to avoid side effects caused by getter method invocations.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2005 the original author or authors. * Copyright 2002-2008 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -19,14 +19,13 @@ package org.springframework.beans.factory.config;
import org.springframework.beans.BeansException; import org.springframework.beans.BeansException;
/** /**
* Subinterface of BeanPostProcessor that adds a before-destruction callback. * Subinterface of {@link BeanPostProcessor} that adds a before-destruction callback.
* *
* <p>The typical usage will be to invoke custom destruction callbacks on * <p>The typical usage will be to invoke custom destruction callbacks on
* specific bean types, matching corresponding initialization callbacks. * specific bean types, matching corresponding initialization callbacks.
* *
* @author Juergen Hoeller * @author Juergen Hoeller
* @since 1.0.1 * @since 1.0.1
* @see org.springframework.web.struts.ActionServletAwareProcessor
*/ */
public interface DestructionAwareBeanPostProcessor extends BeanPostProcessor { public interface DestructionAwareBeanPostProcessor extends BeanPostProcessor {

View File

@ -25,8 +25,9 @@ import org.springframework.expression.spel.standard.StandardEvaluationContext;
import org.springframework.util.Assert; import org.springframework.util.Assert;
/** /**
* Standard implementation of the {@link BeanExpressionResolver} interface, * Standard implementation of the
* parsing and evaluating Spring EL using Spring's expression module. * {@link org.springframework.beans.factory.config.BeanExpressionResolver}
* interface, parsing and evaluating Spring EL using Spring's expression module.
* *
* @author Juergen Hoeller * @author Juergen Hoeller
* @since 3.0 * @since 3.0

View File

@ -75,7 +75,7 @@ public class LoadTimeWeaverAwareProcessor implements BeanPostProcessor, BeanFact
* <p>The <code>LoadTimeWeaver</code> will be auto-retrieved from * <p>The <code>LoadTimeWeaver</code> will be auto-retrieved from
* the given {@link BeanFactory}, expecting a bean named * the given {@link BeanFactory}, expecting a bean named
* {@link ConfigurableApplicationContext#LOAD_TIME_WEAVER_BEAN_NAME "loadTimeWeaver"}. * {@link ConfigurableApplicationContext#LOAD_TIME_WEAVER_BEAN_NAME "loadTimeWeaver"}.
* @param loadTimeWeaver the specific <code>LoadTimeWeaver</code> that is to be used * @param beanFactory the BeanFactory to retrieve the LoadTimeWeaver from
*/ */
public LoadTimeWeaverAwareProcessor(BeanFactory beanFactory) { public LoadTimeWeaverAwareProcessor(BeanFactory beanFactory) {
this.beanFactory = beanFactory; this.beanFactory = beanFactory;

View File

@ -42,7 +42,6 @@ import org.apache.log4j.xml.DOMConfigurator;
* @since 13.03.2003 * @since 13.03.2003
* @see org.springframework.web.util.Log4jWebConfigurer * @see org.springframework.web.util.Log4jWebConfigurer
* @see org.springframework.web.util.Log4jConfigListener * @see org.springframework.web.util.Log4jConfigListener
* @see org.springframework.web.util.Log4jConfigServlet
*/ */
public abstract class Log4jConfigurer { public abstract class Log4jConfigurer {

View File

@ -13,14 +13,15 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.expression; package org.springframework.expression;
/** /**
* If a property accessor is built upon the CacheablePropertyAccessor class then once the property * If a property accessor is built upon the CacheablePropertyAccessor class then once the property
* has been resolved the accessor will return an instance of this PropertyWriterExecutor interface * has been resolved the accessor will return an instance of this PropertyWriterExecutor interface
* that can be cached and repeatedly called to set the value of the property. * that can be cached and repeatedly called to set the value of the property.
* <p> *
* They can become stale, and in that case should throw an AccessException - this will cause the * <p>They can become stale, and in that case should throw an AccessException - this will cause the
* infrastructure to go back to the resolvers to ask for a new one. * infrastructure to go back to the resolvers to ask for a new one.
* *
* @author Andy Clement * @author Andy Clement
@ -29,12 +30,11 @@ public interface PropertyWriterExecutor {
/** /**
* Set the value of a property to the supplied new value. * Set the value of a property to the supplied new value.
*
* @param context the evaluation context in which the command is being executed * @param context the evaluation context in which the command is being executed
* @param targetObject the target object on which property write is being attempted * @param targetObject the target object on which property write is being attempted
* @param newValue the new value for the property * @param newValue the new value for the property
* @throws AccessException if there is a problem setting the property or this executor has become stale * @throws AccessException if there is a problem setting the property or this executor has become stale
*/ */
void execute(EvaluationContext evaluationContext, Object targetObject, Object newValue) throws AccessException; void execute(EvaluationContext context, Object targetObject, Object newValue) throws AccessException;
} }

View File

@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.expression; package org.springframework.expression;
import org.springframework.expression.spel.standard.StandardTypeLocator; import org.springframework.expression.spel.standard.StandardTypeLocator;
@ -28,10 +29,9 @@ public interface TypeLocator {
/** /**
* Find a type by name. The name may or may not be fully qualified (eg. String or java.lang.String) * Find a type by name. The name may or may not be fully qualified (eg. String or java.lang.String)
* * @param typename the type to be located
* @param type the type to be located
* @return the class object representing that type * @return the class object representing that type
* @throw ExpressionException if there is a problem finding it * @throws EvaluationException if there is a problem finding it
*/ */
Class<?> findType(String typename) throws EvaluationException; Class<?> findType(String typename) throws EvaluationException;

View File

@ -297,7 +297,7 @@ public abstract class CommonsFileUploadSupport {
/** /**
* Create a new MultipartParsingResult. * Create a new MultipartParsingResult.
* @param mpFiles Map of field name to MultipartFile instance * @param mpFiles Map of field name to MultipartFile instance
* @param multipartParameters Map of field name to form field String value * @param mpParams Map of field name to form field String value
*/ */
public MultipartParsingResult(Map<String, MultipartFile> mpFiles, Map<String, String[]> mpParams) { public MultipartParsingResult(Map<String, MultipartFile> mpFiles, Map<String, String[]> mpParams) {
this.multipartFiles = mpFiles; this.multipartFiles = mpFiles;

View File

@ -250,7 +250,6 @@ public class InternalResourceView extends AbstractUrlBasedView {
* @throws Exception if there's a fatal error while we're adding attributes * @throws Exception if there's a fatal error while we're adding attributes
* @see #renderMergedOutputModel * @see #renderMergedOutputModel
* @see JstlView#exposeHelpers * @see JstlView#exposeHelpers
* @see org.springframework.web.servlet.view.tiles.TilesJstlView#exposeHelpers
*/ */
protected void exposeHelpers(HttpServletRequest request) throws Exception { protected void exposeHelpers(HttpServletRequest request) throws Exception {
} }
@ -266,7 +265,6 @@ public class InternalResourceView extends AbstractUrlBasedView {
* @return the request dispatcher path to use * @return the request dispatcher path to use
* @throws Exception if preparations failed * @throws Exception if preparations failed
* @see #getUrl() * @see #getUrl()
* @see org.springframework.web.servlet.view.tiles.TilesView#prepareForRendering
*/ */
protected String prepareForRendering(HttpServletRequest request, HttpServletResponse response) protected String prepareForRendering(HttpServletRequest request, HttpServletResponse response)
throws Exception { throws Exception {

View File

@ -21,8 +21,7 @@ import org.springframework.util.ClassUtils;
/** /**
* Convenient subclass of {@link UrlBasedViewResolver} that supports * Convenient subclass of {@link UrlBasedViewResolver} that supports
* {@link InternalResourceView} (i.e. Servlets and JSPs) and subclasses * {@link InternalResourceView} (i.e. Servlets and JSPs) and subclasses
* such as {@link JstlView} and * such as {@link JstlView}.
* {@link org.springframework.web.servlet.view.tiles.TilesView}.
* *
* <p>The view class for all views generated by this resolver can be specified * <p>The view class for all views generated by this resolver can be specified
* via {@link #setViewClass}. See {@link UrlBasedViewResolver}'s javadoc for details. * via {@link #setViewClass}. See {@link UrlBasedViewResolver}'s javadoc for details.
@ -45,7 +44,6 @@ import org.springframework.util.ClassUtils;
* @see #setRequestContextAttribute * @see #setRequestContextAttribute
* @see InternalResourceView * @see InternalResourceView
* @see JstlView * @see JstlView
* @see org.springframework.web.servlet.view.tiles.TilesView
*/ */
public class InternalResourceViewResolver extends UrlBasedViewResolver { public class InternalResourceViewResolver extends UrlBasedViewResolver {

View File

@ -63,7 +63,6 @@ import org.springframework.util.ReflectionUtils;
* @see #initTool * @see #initTool
* @see org.apache.velocity.tools.view.context.ViewContext * @see org.apache.velocity.tools.view.context.ViewContext
* @see org.apache.velocity.tools.view.context.ChainedContext * @see org.apache.velocity.tools.view.context.ChainedContext
* @see org.apache.velocity.tools.view.tools.LinkTool
*/ */
public class VelocityToolboxView extends VelocityView { public class VelocityToolboxView extends VelocityView {
@ -121,7 +120,6 @@ public class VelocityToolboxView extends VelocityView {
* Overridden to check for the ViewContext interface which is part of the * Overridden to check for the ViewContext interface which is part of the
* view package of Velocity Tools. This requires a special Velocity context, * view package of Velocity Tools. This requires a special Velocity context,
* like ChainedContext as set up by {@link #createVelocityContext} in this class. * like ChainedContext as set up by {@link #createVelocityContext} in this class.
* @see org.apache.velocity.tools.view.tools.LinkTool#init(Object)
*/ */
@Override @Override
protected void initTool(Object tool, Context velocityContext) throws Exception { protected void initTool(Object tool, Context velocityContext) throws Exception {

View File

@ -122,7 +122,6 @@ public class VelocityView extends AbstractTemplateView {
* @see VelocityToolboxView * @see VelocityToolboxView
* @see #createVelocityContext * @see #createVelocityContext
* @see #initTool * @see #initTool
* @see #setVelocityFormatterAttribute
* @see #setDateToolAttribute * @see #setDateToolAttribute
* @see #setNumberToolAttribute * @see #setNumberToolAttribute
*/ */

View File

@ -37,7 +37,6 @@ import org.springframework.web.servlet.view.AbstractUrlBasedView;
* @see #setSuffix * @see #setSuffix
* @see #setRequestContextAttribute * @see #setRequestContextAttribute
* @see #setExposeSpringMacroHelpers * @see #setExposeSpringMacroHelpers
* @see #setVelocityFormatterAttribute
* @see #setDateToolAttribute * @see #setDateToolAttribute
* @see #setNumberToolAttribute * @see #setNumberToolAttribute
* @see VelocityView * @see VelocityView

View File

@ -411,7 +411,6 @@ public abstract class AbstractXsltView extends AbstractView {
* @param model the model Map * @param model the model Map
* @param request current HTTP request * @param request current HTTP request
* @return a Map of parameters to apply to the transformation process * @return a Map of parameters to apply to the transformation process
* @see #getParameters()
* @see javax.xml.transform.Transformer#setParameter * @see javax.xml.transform.Transformer#setParameter
*/ */
protected Map getParameters(Map<String, Object> model, HttpServletRequest request) { protected Map getParameters(Map<String, Object> model, HttpServletRequest request) {

View File

@ -30,7 +30,6 @@ import org.springframework.context.ApplicationEvent;
* @author Juergen Hoeller * @author Juergen Hoeller
* @since January 17, 2001 * @since January 17, 2001
* @see ServletRequestHandledEvent * @see ServletRequestHandledEvent
* @see PerformanceMonitorListener
* @see org.springframework.web.servlet.FrameworkServlet * @see org.springframework.web.servlet.FrameworkServlet
* @see org.springframework.context.ApplicationContext#publishEvent * @see org.springframework.context.ApplicationContext#publishEvent
*/ */

View File

@ -48,8 +48,6 @@ import org.springframework.web.context.request.SessionScope;
* @see org.springframework.web.context.ContextLoader * @see org.springframework.web.context.ContextLoader
* @see org.springframework.web.servlet.FrameworkServlet * @see org.springframework.web.servlet.FrameworkServlet
* @see org.springframework.web.servlet.DispatcherServlet * @see org.springframework.web.servlet.DispatcherServlet
* @see org.springframework.web.struts.ActionSupport
* @see org.springframework.web.struts.DelegatingActionProxy
* @see org.springframework.web.jsf.FacesContextUtils * @see org.springframework.web.jsf.FacesContextUtils
* @see org.springframework.web.jsf.DelegatingVariableResolver * @see org.springframework.web.jsf.DelegatingVariableResolver
*/ */