You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2008/03/02 18:21:32 UTC
svn commit: r632791 [1/8] - in /tapestry/tapestry5/trunk:
tapestry-core/src/main/java/org/apache/tapestry/
tapestry-core/src/main/java/org/apache/tapestry/annotations/
tapestry-core/src/main/java/org/apache/tapestry/corelib/components/
tapestry-core/sr...
Author: hlship
Date: Sun Mar 2 09:21:16 2008
New Revision: 632791
URL: http://svn.apache.org/viewvc?rev=632791&view=rev
Log:
TAPESTRY-2216: Add a @GenerateAccessors annotation for fields to create a getter and setter method
Added:
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/annotations/GenerateAccessors.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/transform/GenerateAccessorsWorker.java
Modified:
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/AbstractOptionModel.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/Binding.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/Block.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/ClientElement.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/ComponentAction.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/ComponentEventCallback.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/ContentType.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/EventContext.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/Field.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/FieldValidationSupport.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/FieldValidator.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/FormValidationControl.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/MarkupWriter.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/NullFieldStrategy.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/OptionGroupModel.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/OptionModel.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/PageRenderSupport.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/PrimaryKeyEncoder.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/PropertyConduit.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/RadioContainer.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/Renderable.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/SelectModel.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/SelectModelVisitor.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/StreamResponse.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/TapestryFilter.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/TapestryUtils.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/ValidationTracker.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/ValidationTrackerImpl.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/Validator.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/ValueEncoder.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/annotations/AfterRender.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/annotations/AfterRenderBody.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/annotations/AfterRenderTemplate.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/annotations/BeforeRenderBody.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/annotations/BeforeRenderTemplate.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/annotations/BeginRender.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/annotations/CleanupRender.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/annotations/Component.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/annotations/ContentType.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/annotations/Environmental.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/annotations/Id.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/annotations/IncludeJavaScriptLibrary.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/annotations/IncludeStylesheet.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/annotations/InjectContainer.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/annotations/InjectPage.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/annotations/Meta.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/annotations/Mixin.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/annotations/MixinAfter.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/annotations/MixinClasses.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/annotations/Mixins.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/annotations/OnEvent.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/annotations/PageAttached.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/annotations/PageDetached.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/annotations/PageLoaded.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/annotations/Parameter.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/annotations/Path.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/annotations/Persist.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/annotations/ResponseEncoding.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/annotations/Retain.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/annotations/Service.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/annotations/SetupRender.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/annotations/SupportsInformalParameters.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/components/BeanDisplay.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/components/BeanEditForm.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/components/BeanEditor.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/components/FormFragment.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/components/FormInjector.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/components/Grid.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/components/GridCell.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/components/GridColumns.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/components/GridPager.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/components/GridRows.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/components/OutputRaw.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/components/Palette.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/components/PropertyDisplay.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/components/RenderObject.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/components/Select.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/components/Zone.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/data/GridPagerPosition.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/data/InsertPosition.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/internal/FormSupportAdapter.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/mixins/Autocomplete.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/mixins/DiscardBody.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/mixins/RenderInformals.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/mixins/TriggerFragment.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/pages/ExceptionReport.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/pages/ServiceStatus.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/dom/CData.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/dom/DTD.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/dom/DefaultMarkupModel.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/dom/Element.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/dom/EndTagStyle.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/dom/MarkupModel.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/dom/Node.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/dom/Raw.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/InternalComponentResourcesCommon.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/InternalConstants.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/SyntheticModuleDef.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/TapestryAppInitializer.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/URLEventContext.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/beaneditor/PrimitiveFieldConstraintGenerator.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/bindings/AbstractBinding.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/bindings/MessageBindingFactory.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/bindings/PropBinding.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/bindings/PropBindingFactory.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/bindings/TranslateBindingFactory.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/bindings/ValidateBindingFactory.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/event/InvalidationEventHub.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/event/InvalidationEventHubImpl.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/events/InvalidationListener.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/events/UpdateListener.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/AttributeToken.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/BlockToken.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/CDATAToken.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/ComponentTemplate.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/DTDToken.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/DefineNamespacePrefixToken.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/ExpansionToken.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/StartComponentToken.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/StartElementToken.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/TemplateToken.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/parser/TokenType.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/AjaxPartialResponseRenderer.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ApplicationStatePersistenceStrategySourceImpl.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/AssetDispatcher.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/AssetInjectionProvider.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/AssetObjectProvider.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/BindingSourceImpl.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/BlockInjectionProvider.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ClasspathAssetAliasManagerImpl.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ClientBehaviorSupport.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ClientPersistentFieldStorage.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ComponentClassTransformerImpl.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ComponentInstantiatorSource.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ComponentInvocation.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ComponentInvocationMap.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ComponentResourcesOperation.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ComponentTemplateSource.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/DefaultDataTypeAnalyzer.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/DefaultInjectionProvider.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/DocumentHeadBuilder.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/EnvironmentalShadowBuilderImpl.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/FieldValidationSupportImpl.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/FlashPersistentFieldStrategy.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/InheritedBinding.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/Instantiator.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/InternalClassTransformationImpl.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/JSONObjectEventResultProcessor.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/LinkFactory.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/LinkFactoryListener.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/LocalizationFilter.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/LocalizationSetter.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/LocalizationSetterImpl.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/MessagesBundle.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/MessagesSource.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/MethodCompileException.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/NoOpComponentInvocationMap.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/PageContentTypeAnalyzer.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/PageLoader.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/PageTemplateLocator.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/PropertyConduitSourceImpl.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/RequestEncodingInitializer.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/RequestPageCache.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/RequestPageCacheImpl.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ResourceCache.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ResourceCacheImpl.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ResourceStreamer.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/RootPathDispatcher.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ServiceAnnotationObjectProvider.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ServiceInjectionProvider.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/SessionApplicationStatePersistenceStrategy.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/SessionPersistentFieldStrategy.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/StaticFilesFilter.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/StringProvider.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/TransformationException.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/UpdateListenerHub.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ValidationMessagesSourceImpl.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ValueEncoderSourceImpl.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/structure/BodyPageElement.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/structure/PageElement.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/test/CodeEq.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/test/PageTesterComponentInvocationMap.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/test/TestableMarkupWriterFactory.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/test/TestableMarkupWriterFactoryImpl.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/test/TestableRequest.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/util/Base64InputStream.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/util/Base64ObjectInputStream.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/util/Base64ObjectOutputStream.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/util/Base64OutputStream.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/util/Holder.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/util/IntegerRange.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/util/MethodInvocationBuilder.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/util/MultiKey.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/util/ParameterBuilder.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/util/StringParameterBuilder.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/json/JSONObject.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/json/JSONString.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/json/JSONTokener.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/model/ComponentModel.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/model/EmbeddedComponentModel.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/model/MutableComponentModel.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/model/MutableEmbeddedComponentModel.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/runtime/ComponentResourcesAware.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/runtime/PageLifecycleListener.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/runtime/RenderCommand.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/Ajax.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/Alias.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/AliasContribution.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/AliasManager.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/ApplicationStateContribution.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/ApplicationStateCreator.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/ApplicationStatePersistenceStrategy.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/ApplicationStatePersistenceStrategySource.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/AssetFactory.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/AssetSource.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/BeanBlockContribution.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/BindingFactory.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/ClassTransformation.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/ClasspathAssetAliasManager.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/ClasspathProvider.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/ComponentClassTransformWorker.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/ComponentDefaultProvider.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/ComponentEventRequestParameters.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/ComponentLayer.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/ComponentMessagesSource.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/ComponentSource.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/ContextProvider.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/Cookies.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/Core.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/Dispatcher.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/Environment.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/EnvironmentalShadowBuilder.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/FieldValidatorDefaultSource.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/FieldValidatorSource.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/Heartbeat.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/HttpServletRequestFilter.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/InjectionProvider.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/LibraryMapping.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/MarkupRenderer.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/MarkupRendererFilter.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/MarkupWriterFactory.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/MethodFilter.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/ObjectRenderer.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/PageRenderRequestFilter.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/PartialMarkupRenderer.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/PartialMarkupRendererFilter.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/PersistentFieldBundle.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/PersistentFieldChange.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/PropertyOutputContext.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/RequestExceptionHandler.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/RequestGlobals.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/RequestHandler.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/ResourceDigestGenerator.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/Response.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/Session.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/TapestryModule.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/Traditional.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/TransformConstants.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/TransformMethodSignature.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/TransformUtils.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/ValidationConstraintGenerator.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/ValueEncoderSource.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/test/PageTester.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/util/AbstractSelectModel.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/util/DefaultPrimaryKeyEncoder.java
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/validator/Required.java
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/BeanEditForm.tml
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/components/Grid.tml
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/corelib/pages/PropertyEditBlocks.tml
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/scriptaculous_1_8/builder.js
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/scriptaculous_1_8/dragdrop.js
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/scriptaculous_1_8/effects.js
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/scriptaculous_1_8/unittest.js
tapestry/tapestry5/trunk/tapestry-core/src/site/apt/guide/secure.apt
tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry/integration/app1/pages/BeanEditorDemo.java
tapestry/tapestry5/trunk/tapestry-tutorial1/src/main/java/org/apache/tapestry/tutorial/pages/GameOver.java
tapestry/tapestry5/trunk/tapestry-tutorial1/src/main/java/org/apache/tapestry/tutorial/pages/Guess.java
tapestry/tapestry5/trunk/tapestry-tutorial1/src/main/java/org/apache/tapestry/tutorial/pages/address/CreateAddress.java
tapestry/tapestry5/trunk/tapestry-tutorial1/src/site/apt/forms.apt
tapestry/tapestry5/trunk/tapestry-tutorial1/src/site/apt/hilo.apt
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/AbstractOptionModel.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/AbstractOptionModel.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/AbstractOptionModel.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/AbstractOptionModel.java Sun Mar 2 09:21:16 2008
@@ -17,9 +17,8 @@
import java.util.Map;
/**
- * Base class for implementing {@link OptionModel}. Subclasses must implement
- * {@link org.apache.tapestry.OptionModel#getLabel()} and
- * {@link org.apache.tapestry.OptionModel#getValue()} }.
+ * Base class for implementing {@link OptionModel}. Subclasses must implement {@link
+ * org.apache.tapestry.OptionModel#getLabel()} and {@link org.apache.tapestry.OptionModel#getValue()} }.
*/
public abstract class AbstractOptionModel implements OptionModel
{
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/Binding.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/Binding.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/Binding.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/Binding.java Sun Mar 2 09:21:16 2008
@@ -17,43 +17,40 @@
import org.apache.tapestry.ioc.AnnotationProvider;
/**
- * A binding is a connection between a component and its container (another component), that allows
- * the embedded component to gain access to <em>resources</em> defined by the container. Resources
- * can represent any kind of value that can be obtained from the parent component, but is often a
- * JavaBean property that can be read and updated. Different implementations of Binding as used to
- * access different kinds of resources of the container.
+ * A binding is a connection between a component and its container (another component), that allows the embedded
+ * component to gain access to <em>resources</em> defined by the container. Resources can represent any kind of value
+ * that can be obtained from the parent component, but is often a JavaBean property that can be read and updated.
+ * Different implementations of Binding as used to access different kinds of resources of the container.
* <p/>
- * A binding ultimately must provide access to the underlying annotations. In most cases, there are
- * no annotations, but bindings that ultimate invoke methods or read and update fields must provide
- * access to those annotations.
+ * A binding ultimately must provide access to the underlying annotations. In most cases, there are no annotations, but
+ * bindings that ultimate invoke methods or read and update fields must provide access to those annotations.
*/
public interface Binding extends AnnotationProvider
{
/**
- * Reads the current value of the property (or other resource). When reading properties of
- * objects that are primitive types, this will return an instance of the wrapper type. In some
- * cases, a binding is read only and this method will throw a runtime exception.
+ * Reads the current value of the property (or other resource). When reading properties of objects that are
+ * primitive types, this will return an instance of the wrapper type. In some cases, a binding is read only and this
+ * method will throw a runtime exception.
*/
Object get();
/**
- * Updates the current value. Most types of bindings are read-only, and this method will throw a
- * runtime exception. It is the caller's responsibility to ensure that the value passed in is of
- * the appropriate type.
+ * Updates the current value. Most types of bindings are read-only, and this method will throw a runtime exception.
+ * It is the caller's responsibility to ensure that the value passed in is of the appropriate type.
*
* @param value
*/
void set(Object value);
/**
- * Returns true if the value of the binding does not ever change. Components will often cache
- * such values aggressively.
+ * Returns true if the value of the binding does not ever change. Components will often cache such values
+ * aggressively.
*/
boolean isInvariant();
/**
- * Returns the type of the binding, either the type of resource exposed by the binding, or the
- * type of the property bound.
+ * Returns the type of the binding, either the type of resource exposed by the binding, or the type of the property
+ * bound.
*/
Class getBindingType();
}
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/Block.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/Block.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/Block.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/Block.java Sun Mar 2 09:21:16 2008
@@ -15,10 +15,9 @@
package org.apache.tapestry;
/**
- * A block is a collection of static text and elements, and components, derived from a component
- * template. In the template, a block is demarcated using the <t:block> or <t:parameter>
- * elements. The interface defines no methods, but the provided implementations of Block are capable
- * of rendering their contents on demand.
+ * A block is a collection of static text and elements, and components, derived from a component template. In the
+ * template, a block is demarcated using the <t:block> or <t:parameter> elements. The interface defines no
+ * methods, but the provided implementations of Block are capable of rendering their contents on demand.
*/
public interface Block
{
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/ClientElement.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/ClientElement.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/ClientElement.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/ClientElement.java Sun Mar 2 09:21:16 2008
@@ -16,22 +16,21 @@
/**
- * Interface for any kind of object (typically, a component) that can provide a
- * {@linkplain #getClientId() client-side id}, typically used in the generation of client-side
- * (JavaScript) logic. For components, the client id will be null or innaccurate until after the
- * component has rendered itself. Inside of any kind of loop, the clientId property is only accurate
- * just after the component has rendered, and before it renders again.
+ * Interface for any kind of object (typically, a component) that can provide a {@linkplain #getClientId() client-side
+ * id}, typically used in the generation of client-side (JavaScript) logic. For components, the client id will be null
+ * or innaccurate until after the component has rendered itself. Inside of any kind of loop, the clientId property is
+ * only accurate just after the component has rendered, and before it renders again.
* <p/>
- * Some components must be configured to provide a client id. In many cases, the client id matches
- * the component's {@linkplain ComponentResourcesCommon#getId() component id}, typically passed through
- * {@link PageRenderSupport#allocateClientId(String)} to ensure uniqueness.
+ * Some components must be configured to provide a client id. In many cases, the client id matches the component's
+ * {@linkplain ComponentResourcesCommon#getId() component id}, typically passed through {@link
+ * PageRenderSupport#allocateClientId(String)} to ensure uniqueness.
*/
public interface ClientElement
{
/**
- * Returns a unique id for the element. This value will be unique for any given rendering of a
- * page. This value is intended for use as the id attribute of the client-side element, and will
- * be used with any DHTML/Ajax related JavaScript.
+ * Returns a unique id for the element. This value will be unique for any given rendering of a page. This value is
+ * intended for use as the id attribute of the client-side element, and will be used with any DHTML/Ajax related
+ * JavaScript.
*/
String getClientId();
}
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/ComponentAction.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/ComponentAction.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/ComponentAction.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/ComponentAction.java Sun Mar 2 09:21:16 2008
@@ -1,32 +1,29 @@
-// Copyright 2006 The Apache Software Foundation
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
+// Copyright 2006 The Apache Software Foundation
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
package org.apache.tapestry;
import java.io.Serializable;
/**
- * An action that is associated with a component. This is used in several areas of Tapestry and is
- * primarily an attempt to externalize state for a component so that it can be recorded outside the
- * object.
+ * An action that is associated with a component. This is used in several areas of Tapestry and is primarily an attempt
+ * to externalize state for a component so that it can be recorded outside the object.
* <p/>
- * ComponentActions should be immutable. They are often created during one request and associated
- * with a particular component instance. They are then used in a later request (with an equivalent
- * component instance).
+ * ComponentActions should be immutable. They are often created during one request and associated with a particular
+ * component instance. They are then used in a later request (with an equivalent component instance).
* <p/>
- * ComponentActions are serializable (they are often serialized into Base64 strings for storage on
- * the client).
+ * ComponentActions are serializable (they are often serialized into Base64 strings for storage on the client).
*/
public interface ComponentAction<T> extends Serializable
{
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/ComponentEventCallback.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/ComponentEventCallback.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/ComponentEventCallback.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/ComponentEventCallback.java Sun Mar 2 09:21:16 2008
@@ -23,8 +23,8 @@
{
/**
* Invoked to handle a non-null event handler method result. The handler should determine whether the value is
- * acceptible, and throw an exception if not. Any thrown exception will be wrapped to identify the component
- * and method from which the value was returned.
+ * acceptible, and throw an exception if not. Any thrown exception will be wrapped to identify the component and
+ * method from which the value was returned.
* <p/>
* Boolean values are <em>not</em> passed to the handler. Booleans are used to indicate that the event has been
* handled (true) or that a further search for handlers should continue (true). If a component event method returns
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/ContentType.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/ContentType.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/ContentType.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/ContentType.java Sun Mar 2 09:21:16 2008
@@ -23,10 +23,9 @@
import java.util.StringTokenizer;
/**
- * Represents an HTTP content type. Allows to set various elements like the mime type, the character
- * set, and other parameters. This is similar to a number of other implementations of the same
- * concept in JAF, etc. We have created this simple implementation to avoid including the whole
- * libraries.
+ * Represents an HTTP content type. Allows to set various elements like the mime type, the character set, and other
+ * parameters. This is similar to a number of other implementations of the same concept in JAF, etc. We have created
+ * this simple implementation to avoid including the whole libraries.
*/
public final class ContentType
{
@@ -44,8 +43,7 @@
}
/**
- * Creates a new content type from the argument. The format of the argument has to be
- * basetype/subtype(;key=value)*
+ * Creates a new content type from the argument. The format of the argument has to be basetype/subtype(;key=value)*
*
* @param contentType the content type that needs to be represented
*/
@@ -56,8 +54,8 @@
}
/**
- * Returns true only if the other object is another instance of ContentType, and has the ssame
- * baseType, subType and set of parameters.
+ * Returns true only if the other object is another instance of ContentType, and has the ssame baseType, subType and
+ * set of parameters.
*/
@Override
public boolean equals(Object o)
@@ -147,8 +145,8 @@
}
/**
- * Parses the argument and configures the content type accordingly. The format of the argument
- * has to be type/subtype(;key=value)*
+ * Parses the argument and configures the content type accordingly. The format of the argument has to be
+ * type/subtype(;key=value)*
*
* @param contentType the content type that needs to be represented
*/
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/EventContext.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/EventContext.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/EventContext.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/EventContext.java Sun Mar 2 09:21:16 2008
@@ -15,8 +15,8 @@
package org.apache.tapestry;
/**
- * A collection of parameters that may eventually be passed to an event handler method. Includes the ability to
- * coerce or encode parameters as needed.
+ * A collection of parameters that may eventually be passed to an event handler method. Includes the ability to coerce
+ * or encode parameters as needed.
*
* @see org.apache.tapestry.ioc.services.TypeCoercer
* @see org.apache.tapestry.ValueEncoder
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/Field.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/Field.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/Field.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/Field.java Sun Mar 2 09:21:16 2008
@@ -15,29 +15,27 @@
package org.apache.tapestry;
/**
- * Defines a field within a form. Fields have a <a href="http://www.w3.org/TR/html4/interact/forms.html#control-name">control name</a>
- * that is used when rendering and, later, when the form is submitted, to identify the query parameter.
+ * Defines a field within a form. Fields have a <a href="http://www.w3.org/TR/html4/interact/forms.html#control-name">control
+ * name</a> that is used when rendering and, later, when the form is submitted, to identify the query parameter.
* <p/>
- * Timing is important, as components may render multiple times, due to looping and other factors. Generally,
- * a component's {@link #getControlName()} will only be accurate after it has rendered. In some
- * cases, when generating JavaScript for example, it is necessary to
- * {@linkplain org.apache.tapestry.services.Heartbeat#defer(Runnable) wait until the end of the current Heartbeat} to ensure
- * that all components have had thier chance to render.
+ * Timing is important, as components may render multiple times, due to looping and other factors. Generally, a
+ * component's {@link #getControlName()} will only be accurate after it has rendered. In some cases, when generating
+ * JavaScript for example, it is necessary to {@linkplain org.apache.tapestry.services.Heartbeat#defer(Runnable) wait
+ * until the end of the current Heartbeat} to ensure that all components have had thier chance to render.
*/
public interface Field extends ClientElement
{
/**
- * Returns the value used as the name attribute of the rendered element. This value will be
- * unique within an enclosing form, even if the same component renders multiple times.
+ * Returns the value used as the name attribute of the rendered element. This value will be unique within an
+ * enclosing form, even if the same component renders multiple times.
*
* @see org.apache.tapestry.services.FormSupport#allocateControlName(String)
*/
String getControlName();
/**
- * Returns a user presentable (localized) label for the field, which may be used inside
- * <label> elements on the client, and inside client or server-side validation error
- * messages.
+ * Returns a user presentable (localized) label for the field, which may be used inside <label> elements on
+ * the client, and inside client or server-side validation error messages.
*
* @return the label
* @see org.apache.tapestry.corelib.components.Label
@@ -45,11 +43,11 @@
String getLabel();
/**
- * Returns true if the field is disabled; A disabled field will render a disabled attribute so
- * that it is non-responsive on the client (at least, until its disabled status is changed on
- * the client using JavaScript). A disabled field will ignore any value passed up in a form
- * submit request. Care must be taken if the disabled status of a field can change between the
- * time the field is rendered and the time the enclosing form is submitted.
+ * Returns true if the field is disabled; A disabled field will render a disabled attribute so that it is
+ * non-responsive on the client (at least, until its disabled status is changed on the client using JavaScript). A
+ * disabled field will ignore any value passed up in a form submit request. Care must be taken if the disabled
+ * status of a field can change between the time the field is rendered and the time the enclosing form is
+ * submitted.
*/
boolean isDisabled();
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/FieldValidationSupport.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/FieldValidationSupport.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/FieldValidationSupport.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/FieldValidationSupport.java Sun Mar 2 09:21:16 2008
@@ -38,8 +38,8 @@
/**
* A wrapper around {@link org.apache.tapestry.Translator#parseClient(String, org.apache.tapestry.ioc.Messages)}.
- * First a "parseclient" event is fired; the translator is only invoked if that returns null (typically
- * because there is not handler for the event).
+ * First a "parseclient" event is fired; the translator is only invoked if that returns null (typically because
+ * there is not handler for the event).
*
* @param clientValue the value provided by the client (not null)
* @param componentResources used to trigger events
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/FieldValidator.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/FieldValidator.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/FieldValidator.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/FieldValidator.java Sun Mar 2 09:21:16 2008
@@ -24,9 +24,9 @@
public interface FieldValidator<T>
{
/**
- * Invoked after the client-submitted value has been {@link Translator translated} to check that
- * the value conforms to expectations (often, in terms of minimum or maximum value). If and only
- * if the value is approved by all Validators is the value applied by the field.
+ * Invoked after the client-submitted value has been {@link Translator translated} to check that the value conforms
+ * to expectations (often, in terms of minimum or maximum value). If and only if the value is approved by all
+ * Validators is the value applied by the field.
*
* @param value the translated value supplied by the user
* @throws ValidationException if the value violates the constraint
@@ -34,9 +34,9 @@
void validate(T value) throws ValidationException;
/**
- * Invokes
- * {@link Validator#render(Field, Object, org.apache.tapestry.ioc.MessageFormatter, MarkupWriter, org.apache.tapestry.services.FormSupport)}.
- * This is called at a point "inside" the tag, so that additional attributes may be added.
+ * Invokes {@link Validator#render(Field, Object, org.apache.tapestry.ioc.MessageFormatter, MarkupWriter,
+ * org.apache.tapestry.services.FormSupport)}. This is called at a point "inside" the tag, so that additional
+ * attributes may be added.
*
* @param writer markup writer to direct output to.
* @see org.apache.tapestry.MarkupWriter#attributes(Object[])
@@ -44,8 +44,8 @@
void render(MarkupWriter writer);
/**
- * Returns true if any underlying {@link org.apache.tapestry.Validator} returns true
- * from {@link org.apache.tapestry.Validator#isRequired()}.
+ * Returns true if any underlying {@link org.apache.tapestry.Validator} returns true from {@link
+ * org.apache.tapestry.Validator#isRequired()}.
*
* @return true if the field is required (a non-blank value is expected)
*/
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/FormValidationControl.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/FormValidationControl.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/FormValidationControl.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/FormValidationControl.java Sun Mar 2 09:21:16 2008
@@ -30,14 +30,14 @@
public abstract void recordError(Field field, String errorMessage);
/**
- * Returns true if the form's {@link ValidationTracker} contains any
- * {@link ValidationTracker#getHasErrors() errors}.
+ * Returns true if the form's {@link ValidationTracker} contains any {@link ValidationTracker#getHasErrors()
+ * errors}.
*/
public abstract boolean getHasErrors();
/**
- * Returns true if the form's {@link ValidationTracker} does not contain any
- * {@link ValidationTracker#getHasErrors() errors}.
+ * Returns true if the form's {@link ValidationTracker} does not contain any {@link ValidationTracker#getHasErrors()
+ * errors}.
*/
public abstract boolean isValid();
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/MarkupWriter.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/MarkupWriter.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/MarkupWriter.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/MarkupWriter.java Sun Mar 2 09:21:16 2008
@@ -22,20 +22,19 @@
import java.io.PrintWriter;
/**
- * An interface used by objects, such as Tapestry components, that need to render themselves as some
- * form of XML markup. A markup writer maintains the idea of a current element. Attributes are added
- * to the current element, and new text and elements are placed inside the current element. In this
- * way, the markup writer maintains a facade that XML markup is generated as a stream, even though
- * the implementation builds a kind of DOM tree. The DOM tree can be also be manipulated. This
- * solves a number of problems from Tapestry 4 (and earlier) where random access to the DOM was
+ * An interface used by objects, such as Tapestry components, that need to render themselves as some form of XML markup.
+ * A markup writer maintains the idea of a current element. Attributes are added to the current element, and new text
+ * and elements are placed inside the current element. In this way, the markup writer maintains a facade that XML markup
+ * is generated as a stream, even though the implementation builds a kind of DOM tree. The DOM tree can be also be
+ * manipulated. This solves a number of problems from Tapestry 4 (and earlier) where random access to the DOM was
* desired and had to be simulated through complex buffering.
*/
public interface MarkupWriter
{
/**
- * Begins a new element as a child of the current element. The new element becomes the current
- * element. The new Element is returned and can be directly manipulated (possibly at a later
- * date). Optionally, attributes for the new element can be specified directly.
+ * Begins a new element as a child of the current element. The new element becomes the current element. The new
+ * Element is returned and can be directly manipulated (possibly at a later date). Optionally, attributes for the
+ * new element can be specified directly.
* <p/>
*
* @param name the name of the element to create
@@ -46,8 +45,8 @@
Element element(String name, Object... attributes);
/**
- * Ends the current element. The new current element will be the parent element. Returns the new
- * current element (which may be null when ending the root element for the document).
+ * Ends the current element. The new current element will be the parent element. Returns the new current element
+ * (which may be null when ending the root element for the document).
*/
Element end();
@@ -64,9 +63,9 @@
void writef(String format, Object... args);
/**
- * Writes <em>raw</em> text, text with existing markup that should be passed through the
- * client without change. This can be useful when the markup is read from an external source (a
- * file or a database) and is simply to be included.
+ * Writes <em>raw</em> text, text with existing markup that should be passed through the client without change. This
+ * can be useful when the markup is read from an external source (a file or a database) and is simply to be
+ * included.
*
* @param text
* @see Raw
@@ -74,29 +73,28 @@
void writeRaw(String text);
/**
- * Adds an XML comment. The text should be just the comment content, the comment delimiters will
- * be provided.
+ * Adds an XML comment. The text should be just the comment content, the comment delimiters will be provided.
*/
void comment(String text);
/**
- * Adds parsed character content. This will be enclosed in a CDATA block if supported. When not supported,
- * this is the same as {@link #write(String)}.
+ * Adds parsed character content. This will be enclosed in a CDATA block if supported. When not supported, this is
+ * the same as {@link #write(String)}.
*
* @param content pre-parsed content
*/
void cdata(String content);
/**
- * Adds a series of attributes and values. Null values are quietly skipped. If a name already
- * has a value, then the new value is <em>ignored</em>.
+ * Adds a series of attributes and values. Null values are quietly skipped. If a name already has a value, then the
+ * new value is <em>ignored</em>.
*/
void attributes(Object... namesAndValues);
/**
- * Converts the collected markup into an markup stream (according to rules provided by the
- * {@link Document}'s {@link MarkupModel}). The markup stream is sent to the writer.
+ * Converts the collected markup into an markup stream (according to rules provided by the {@link Document}'s {@link
+ * MarkupModel}). The markup stream is sent to the writer.
*/
void toMarkup(PrintWriter writer);
@@ -111,19 +109,19 @@
Element getElement();
/**
- * Defines a namespace for the currently active element. The namespace URI will be mapped
- * to the provided namespace prefix within the Element.
+ * Defines a namespace for the currently active element. The namespace URI will be mapped to the provided namespace
+ * prefix within the Element.
*
* @param namespace the namespace URI
- * @param namespacePrefix the prefix for elements and attributes associated with the namespace (may
- * be the empty string for the default namespace)
+ * @param namespacePrefix the prefix for elements and attributes associated with the namespace (may be the empty
+ * string for the default namespace)
* @return the currently active element
*/
Element defineNamespace(String namespace, String namespacePrefix);
/**
- * Starts an element within the given namespace. The correct namespace prefix will be identified and used.
- * Must be balanced by a call to {@link #end()}.
+ * Starts an element within the given namespace. The correct namespace prefix will be identified and used. Must be
+ * balanced by a call to {@link #end()}.
*
* @param namespace URI containing the element
* @param elementName name of the element within the namespace
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/NullFieldStrategy.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/NullFieldStrategy.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/NullFieldStrategy.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/NullFieldStrategy.java Sun Mar 2 09:21:16 2008
@@ -31,8 +31,8 @@
/**
* Provides a replacement value for a null or blank string passed from the client to the server as part of a form
- * submission. This replacement value will be passed to
- * {@link org.apache.tapestry.Translator#parseClient(String, org.apache.tapestry.ioc.Messages)} as if it were the value supplied by the user.
+ * submission. This replacement value will be passed to {@link org.apache.tapestry.Translator#parseClient(String,
+ * org.apache.tapestry.ioc.Messages)} as if it were the value supplied by the user.
*
* @return replacement value (this must not be null)
*/
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/OptionGroupModel.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/OptionGroupModel.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/OptionGroupModel.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/OptionGroupModel.java Sun Mar 2 09:21:16 2008
@@ -18,8 +18,8 @@
import java.util.Map;
/**
- * Defines a group of related options. Options may be enabled or disabled as a group. Corresponds to
- * the [X]HTML element <optgroup>.
+ * Defines a group of related options. Options may be enabled or disabled as a group. Corresponds to the [X]HTML element
+ * <optgroup>.
*/
public interface OptionGroupModel
{
@@ -29,16 +29,16 @@
String getLabel();
/**
- * If true, the group (and all options within it) will be disabled. Note that some browsers do
- * not honor the disabled attribute property.
+ * If true, the group (and all options within it) will be disabled. Note that some browsers do not honor the
+ * disabled attribute property.
*
* @return true if a disabled attribute should be rendered.
*/
boolean isDisabled();
/**
- * Additional attributes to render with the <optgroup>. This is often used to render the
- * CSS class attribute. May return null.
+ * Additional attributes to render with the <optgroup>. This is often used to render the CSS class attribute.
+ * May return null.
*/
Map<String, String> getAttributes();
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/OptionModel.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/OptionModel.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/OptionModel.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/OptionModel.java Sun Mar 2 09:21:16 2008
@@ -17,8 +17,7 @@
import java.util.Map;
/**
- * A single option within a {@link OptionGroupModel}. Corresponds closely to the [X]HTML
- * <option> element.
+ * A single option within a {@link OptionGroupModel}. Corresponds closely to the [X]HTML <option> element.
*/
public interface OptionModel
{
@@ -38,9 +37,8 @@
Map<String, String> getAttributes();
/**
- * The server-side value represented by this option. This is used to determine which option will
- * be selected. It is also used, via {@link ValueEncoder#toClient(Object)}, to generate
- * the client-side value attribute.
+ * The server-side value represented by this option. This is used to determine which option will be selected. It is
+ * also used, via {@link ValueEncoder#toClient(Object)}, to generate the client-side value attribute.
*/
Object getValue();
}
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/PageRenderSupport.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/PageRenderSupport.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/PageRenderSupport.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/PageRenderSupport.java Sun Mar 2 09:21:16 2008
@@ -18,15 +18,15 @@
import org.apache.tapestry.services.AssetSource;
/**
- * Provides support to all components that render. This is primarily about generating unique
- * client-side ids (very important for JavaScript generation) as well as accumulating JavaScript to
- * be sent to the client. PageRenderSupport also allows for the incremental addition of stylesheets.
+ * Provides support to all components that render. This is primarily about generating unique client-side ids (very
+ * important for JavaScript generation) as well as accumulating JavaScript to be sent to the client. PageRenderSupport
+ * also allows for the incremental addition of stylesheets.
*/
public interface PageRenderSupport
{
/**
- * Allocates a unique id based on the component's id. In some cases, the return value will not
- * precisely match the input value (an underscore and a unique index value may be appended).
+ * Allocates a unique id based on the component's id. In some cases, the return value will not precisely match the
+ * input value (an underscore and a unique index value may be appended).
*
* @param id the component id from which a unique id will be generated
* @return a unique id for this rendering of the page
@@ -35,36 +35,35 @@
String allocateClientId(String id);
/**
- * As with {@link #allocateClientId(String)} but uses the id of the component extracted
- * from the resources.
+ * As with {@link #allocateClientId(String)} but uses the id of the component extracted from the resources.
+ *
* @param resources of the component which requires an id
* @return a unique id for this rendering of the page
*/
String allocateClientId(ComponentResources resources);
/**
- * Adds one or more new script assets to the page. Assets are added uniquely, and appear as
- * <script> elements just inside the <body> element of the rendered page. Duplicate
- * requests to add the same script are quietly ignored.
+ * Adds one or more new script assets to the page. Assets are added uniquely, and appear as <script> elements
+ * just inside the <body> element of the rendered page. Duplicate requests to add the same script are quietly
+ * ignored.
*
* @param scriptAssets asset to the script to add
*/
void addScriptLink(Asset... scriptAssets);
/**
- * Used to add scripts that are stored on the classpath. Each element has
- * {@linkplain SymbolSource symbols expanded}, then is
- * {@linkplain AssetSource converted to an asset} and added as a script link.
+ * Used to add scripts that are stored on the classpath. Each element has {@linkplain SymbolSource symbols
+ * expanded}, then is {@linkplain AssetSource converted to an asset} and added as a script link.
*
- * @param classpaths array of paths. Symbols in the paths are expanded, then the paths are each
- * converted into an asset.
+ * @param classpaths array of paths. Symbols in the paths are expanded, then the paths are each converted into an
+ * asset.
*/
void addClasspathScriptLink(String... classpaths);
/**
- * Adds a link to a CSS stylesheet. As with JavaScript libraries, each stylesheet is added at
- * most once. Stylesheets added this way will be ordered before any other content in the
- * <head> element of the document. The <head> element will be created, if necessary.
+ * Adds a link to a CSS stylesheet. As with JavaScript libraries, each stylesheet is added at most once. Stylesheets
+ * added this way will be ordered before any other content in the <head> element of the document. The
+ * <head> element will be created, if necessary.
*
* @param stylesheet the asset referencing the stylesheet
* @param media the media value for the stylesheet, or null to not specify a specific media type
@@ -73,8 +72,8 @@
void addStylesheetLink(Asset stylesheet, String media);
/**
- * Adds a script statement to the page's script block (which appears at the end of the page,
- * just before the </body> tag).
+ * Adds a script statement to the page's script block (which appears at the end of the page, just before the
+ * </body> tag).
*
* @param format base string format, to be passed through String.format
* @param arguments additional arguments formatted to form the final script
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/PrimaryKeyEncoder.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/PrimaryKeyEncoder.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/PrimaryKeyEncoder.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/PrimaryKeyEncoder.java Sun Mar 2 09:21:16 2008
@@ -20,22 +20,18 @@
import java.util.List;
/**
- * Used by {@link Loop} and similar components to extract out an identifier, here termed a "primary
- * key", that can be stored on the client and later used to recover the same, or equivalent, server
- * side object.
+ * Used by {@link Loop} and similar components to extract out an identifier, here termed a "primary key", that can be
+ * stored on the client and later used to recover the same, or equivalent, server side object.
*
- * @param <K>
- * the type of the primary key, used to identify the value (which must be serializable)
- * @param <V>
- * the type of value identified by the key
+ * @param <K> the type of the primary key, used to identify the value (which must be serializable)
+ * @param <V> the type of value identified by the key
* @see ValueEncoder
*/
public interface PrimaryKeyEncoder<K extends Serializable, V>
{
/**
- * Given a particular value, this method extracts and returns the primary key that identifies
- * the value. The key will later be converted back into a value using
- * {@link #toValue(Serializable)}.
+ * Given a particular value, this method extracts and returns the primary key that identifies the value. The key
+ * will later be converted back into a value using {@link #toValue(Serializable)}.
*
* @param value whose primary key is needed
* @return the key for the value
@@ -43,18 +39,16 @@
K toKey(V value);
/**
- * Invoked as part of a form submission to alert the encoder that a series of keys may be
- * converted back to values. This is advisory only, and the keys passed to
- * {@link #toValue(Serializable)} may not include all keys in the list, or may include keys not
- * in the list. In general, though, the keys passed in will match the actual keys to be
- * converted, giving the encoder a chance to efficiently fetch the necessary value objects as a
- * group.
+ * Invoked as part of a form submission to alert the encoder that a series of keys may be converted back to values.
+ * This is advisory only, and the keys passed to {@link #toValue(Serializable)} may not include all keys in the
+ * list, or may include keys not in the list. In general, though, the keys passed in will match the actual keys to
+ * be converted, giving the encoder a chance to efficiently fetch the necessary value objects as a group.
*/
void prepareForKeys(List<K> keys);
/**
- * For a particular primary key, previously obtained via {@link #toKey(Object)}, this method
- * returns the same or equivalent object.
+ * For a particular primary key, previously obtained via {@link #toKey(Object)}, this method returns the same or
+ * equivalent object.
*
* @param key used to identify the object
* @return the value object for the key
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/PropertyConduit.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/PropertyConduit.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/PropertyConduit.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/PropertyConduit.java Sun Mar 2 09:21:16 2008
@@ -17,8 +17,8 @@
import org.apache.tapestry.ioc.AnnotationProvider;
/**
- * Used to read or update the value associated with a property. A PropertyConduit provides access to
- * the annotations on the underlying getter and/or setter methods.
+ * Used to read or update the value associated with a property. A PropertyConduit provides access to the annotations on
+ * the underlying getter and/or setter methods.
*/
public interface PropertyConduit extends AnnotationProvider
{
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/RadioContainer.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/RadioContainer.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/RadioContainer.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/RadioContainer.java Sun Mar 2 09:21:16 2008
@@ -17,14 +17,14 @@
import org.apache.tapestry.corelib.components.Radio;
/**
- * A container of {@link Radio} components, used to identify the element name used when rendering
- * the individual radio buttons (all buttons in a group share the same element name) and to
+ * A container of {@link Radio} components, used to identify the element name used when rendering the individual radio
+ * buttons (all buttons in a group share the same element name) and to
*/
public interface RadioContainer
{
/**
- * Returns the value used as the name attribute of the rendered element. This value will be
- * unique within an enclosing form, even if the same component renders multiple times.
+ * Returns the value used as the name attribute of the rendered element. This value will be unique within an
+ * enclosing form, even if the same component renders multiple times.
*/
String getElementName();
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/Renderable.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/Renderable.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/Renderable.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/Renderable.java Sun Mar 2 09:21:16 2008
@@ -1,22 +1,21 @@
-// Copyright 2006 The Apache Software Foundation
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
+// Copyright 2006 The Apache Software Foundation
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
package org.apache.tapestry;
/**
- * Base interface for objects that can render markup output using a
- * {@link org.apache.tapestry.MarkupWriter}.
+ * Base interface for objects that can render markup output using a {@link org.apache.tapestry.MarkupWriter}.
*/
public interface Renderable
{
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/SelectModel.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/SelectModel.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/SelectModel.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/SelectModel.java Sun Mar 2 09:21:16 2008
@@ -19,9 +19,9 @@
/**
* Defines the possible options and option groups for a <select> [X]HTML element.
* <p/>
- * Primarily used by the {@link org.apache.tapestry.corelib.components.Select} component, but potentially used by anything similar, that
- * needs to present a list of options to the user. Generally paired with a {@link org.apache.tapestry.ValueEncoder} to
- * create client-side representations of server-side values.
+ * Primarily used by the {@link org.apache.tapestry.corelib.components.Select} component, but potentially used by
+ * anything similar, that needs to present a list of options to the user. Generally paired with a {@link
+ * org.apache.tapestry.ValueEncoder} to create client-side representations of server-side values.
*
* @see org.apache.tapestry.corelib.components.Palette
*/
@@ -35,16 +35,15 @@
List<OptionGroupModel> getOptionGroups();
/**
- * The list of ungrouped options, which appear after any grouped options. Generally, a model
- * will either provide option groups or ungrouped options, but not both.
+ * The list of ungrouped options, which appear after any grouped options. Generally, a model will either provide
+ * option groups or ungrouped options, but not both.
*
* @return the ungrouped options, or null
*/
List<OptionModel> getOptions();
/**
- * Allows access to all the {@link OptionGroupModel}s and {@link OptionModel}s within the
- * SelectModel.
+ * Allows access to all the {@link OptionGroupModel}s and {@link OptionModel}s within the SelectModel.
*/
void visit(SelectModelVisitor visitor);
}
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/SelectModelVisitor.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/SelectModelVisitor.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/SelectModelVisitor.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/SelectModelVisitor.java Sun Mar 2 09:21:16 2008
@@ -15,14 +15,14 @@
package org.apache.tapestry;
/**
- * Callback interface that allows for visiting the option groups and option models of a select model
- * in correct render order.
+ * Callback interface that allows for visiting the option groups and option models of a select model in correct render
+ * order.
*/
public interface SelectModelVisitor
{
/**
- * Invoked once for each {@link OptionGroupModel}, just before invoking
- * {@link #option(OptionModel)} for each embedded option within the group.
+ * Invoked once for each {@link OptionGroupModel}, just before invoking {@link #option(OptionModel)} for each
+ * embedded option within the group.
*/
void beginOptionGroup(OptionGroupModel groupModel);
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/StreamResponse.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/StreamResponse.java?rev=632791&r1=632790&r2=632791&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/StreamResponse.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/StreamResponse.java Sun Mar 2 09:21:16 2008
@@ -21,9 +21,8 @@
import java.io.InputStream;
/**
- * An alternate response from a component event handler method used to directly provide a stream of
- * data to be sent to the client, rather than indicating what page to send a render redirect request
- * to.
+ * An alternate response from a component event handler method used to directly provide a stream of data to be sent to
+ * the client, rather than indicating what page to send a render redirect request to.
*/
public interface StreamResponse
{
@@ -33,16 +32,15 @@
String getContentType();
/**
- * Returns the stream of bytes to be sent to the client. The stream will be closed when the end
- * of the stream is reached. The provided stream will be wrapped in a
- * {@link BufferedInputStream} for efficiency.
+ * Returns the stream of bytes to be sent to the client. The stream will be closed when the end of the stream is
+ * reached. The provided stream will be wrapped in a {@link BufferedInputStream} for efficiency.
*/
InputStream getStream() throws IOException;
/**
- * Prepare response before it is sent to the client.
- * This is the place to set any response headers (e.g. content-disposition)
+ * Prepare response before it is sent to the client. This is the place to set any response headers (e.g.
+ * content-disposition)
*
* @param response Response that will be sent.
*/