Uses of Interface
org.apache.tapestry5.MarkupWriter
-
Packages that use MarkupWriter Package Description org.apache.tapestry5 Root package for Tapestry, containing common interfaces and data types used throughout the framework.org.apache.tapestry5.beanvalidator Support for JSR-303 Bean Validation via the Hibernate validator implementationorg.apache.tapestry5.corelib.base Base components intended to be extended by other components rather than used directly in templates.org.apache.tapestry5.corelib.components The set of core components available in all Tapestry applicationsorg.apache.tapestry5.corelib.internal [INTERNAL USE ONLY] support classes for the Tapestry-core module; API subject to change core components.org.apache.tapestry5.corelib.pages The set of core pages available in all Tapestry applicationsorg.apache.tapestry5.internal.beanvalidator [INTERNAL USE ONLY] JSR-303 Bean Validation implementation details; API subject to changeorg.apache.tapestry5.internal.dynamic [INTERNAL USE ONLY] support classes for theDynamiccomponent; API subject to changeorg.apache.tapestry5.internal.parser [INTERNAL USE ONLY] support classes for component template rendering; API subject to changeorg.apache.tapestry5.internal.renderers [INTERNAL USE ONLY] support classes for component template rendering; API subject to changeorg.apache.tapestry5.internal.services [INTERNAL USE ONLY] internal service classes; API subject to changeorg.apache.tapestry5.internal.services.ajax [INTERNAL USE ONLY] AJAX support services; API subject to changeorg.apache.tapestry5.internal.services.javascript [INTERNAL USE ONLY] JavaScript support implementations; API subject to changeorg.apache.tapestry5.internal.structure [INTERNAL USE ONLY] page structure implementation details; API subject to change.org.apache.tapestry5.internal.test [INTERNAL USE ONLY] testing support implementation classes; API subject to changeorg.apache.tapestry5.internal.translator [INTERNAL USE ONLY] translator implementation classes; API subject to change.org.apache.tapestry5.internal.util [INTERNAL USE ONLY] various utility classes; API subject to change.org.apache.tapestry5.runtime Contains interfaces that are added to component classes at runtime.org.apache.tapestry5.services Core servicesorg.apache.tapestry5.test Support for testing Tapestry pagesorg.apache.tapestry5.upload.components Tapestry-upload module componentsorg.apache.tapestry5.validator Validators for use by Tapestry (and custom) form field components. -
-
Uses of MarkupWriter in org.apache.tapestry5
Methods in org.apache.tapestry5 with parameters of type MarkupWriter Modifier and Type Method Description voidFieldTranslator. render(MarkupWriter writer)voidFieldValidator. render(MarkupWriter writer)voidRenderable. render(MarkupWriter writer)voidTranslator. render(Field field, java.lang.String message, MarkupWriter writer, FormSupport formSupport)Hook used by components to allow the validator to contribute additional attributes or (more often) client-side JavaScript (via theFormSupport.addValidation(Field, String, String, Object)).voidValidator. render(Field field, C constraintValue, MessageFormatter formatter, MarkupWriter writer, FormSupport formSupport)Hook used by components to allow the validator to contribute additional attributes or (more often) client-side JavaScript (via theFormSupport.addValidation(Field, String, String, Object)).voidComponentResources. renderInformalParameters(MarkupWriter writer)Indentifies all parameters that are not formal parameters and writes each as a attribute/value pair into the current element of the markup writer. -
Uses of MarkupWriter in org.apache.tapestry5.beanvalidator
Methods in org.apache.tapestry5.beanvalidator with parameters of type MarkupWriter Modifier and Type Method Description voidClientConstraintDescriptor. applyClientValidation(MarkupWriter writer, java.lang.String message, java.util.Map<java.lang.String,java.lang.Object> attributes)Applies the validation -
Uses of MarkupWriter in org.apache.tapestry5.corelib.base
Methods in org.apache.tapestry5.corelib.base with parameters of type MarkupWriter Modifier and Type Method Description protected java.lang.ObjectAbstractPropertyOutput. renderPropertyValue(MarkupWriter writer, java.lang.String overrideBlockId)Invoked from subclasses to do the rendering.protected abstract voidAbstractTextField. writeFieldTag(MarkupWriter writer, java.lang.String value)Invoked fromAbstractTextField.begin(MarkupWriter)to write out the element and attributes (typically, <input>).protected voidAbstractLink. writeLink(MarkupWriter writer, Link link, java.lang.Object... namesAndValues)Writes an <a> element with the provided link as the href attribute. -
Uses of MarkupWriter in org.apache.tapestry5.corelib.components
Methods in org.apache.tapestry5.corelib.components with parameters of type MarkupWriter Modifier and Type Method Description protected voidPasswordField. writeFieldTag(MarkupWriter writer, java.lang.String value)protected voidTextArea. writeFieldTag(MarkupWriter writer, java.lang.String value)protected voidTextField. writeFieldTag(MarkupWriter writer, java.lang.String value) -
Uses of MarkupWriter in org.apache.tapestry5.corelib.internal
Constructors in org.apache.tapestry5.corelib.internal with parameters of type MarkupWriter Constructor Description HiddenFieldPositioner(MarkupWriter writer, HiddenFieldLocationRules rules) -
Uses of MarkupWriter in org.apache.tapestry5.corelib.pages
Methods in org.apache.tapestry5.corelib.pages with parameters of type MarkupWriter Modifier and Type Method Description voidPageCatalog. onComponentTree(MarkupWriter writer) -
Uses of MarkupWriter in org.apache.tapestry5.internal.beanvalidator
Methods in org.apache.tapestry5.internal.beanvalidator with parameters of type MarkupWriter Modifier and Type Method Description voidBeanFieldValidator. render(MarkupWriter writer) -
Uses of MarkupWriter in org.apache.tapestry5.internal.dynamic
Methods in org.apache.tapestry5.internal.dynamic with parameters of type MarkupWriter Modifier and Type Method Description voidDynamicTemplateElement. render(MarkupWriter writer, RenderQueue queue, DynamicDelegate delegate)The element should perform whatever rendering it wants. -
Uses of MarkupWriter in org.apache.tapestry5.internal.parser
Methods in org.apache.tapestry5.internal.parser with parameters of type MarkupWriter Modifier and Type Method Description voidAttributeToken. render(MarkupWriter writer, RenderQueue queue)voidCDATAToken. render(MarkupWriter writer, RenderQueue queue)voidCommentToken. render(MarkupWriter writer, RenderQueue queue)voidDefineNamespacePrefixToken. render(MarkupWriter writer, RenderQueue queue)voidDTDToken. render(MarkupWriter writer, RenderQueue queue)voidStartElementToken. render(MarkupWriter writer, RenderQueue queue)voidTextToken. render(MarkupWriter writer, RenderQueue queue) -
Uses of MarkupWriter in org.apache.tapestry5.internal.renderers
Methods in org.apache.tapestry5.internal.renderers with parameters of type MarkupWriter Modifier and Type Method Description voidAvailableValuesRenderer. render(AvailableValues values, MarkupWriter writer)voidComponentResourcesRenderer. render(ComponentResources object, MarkupWriter writer)voidEventContextRenderer. render(EventContext object, MarkupWriter writer)voidListRenderer. render(java.util.List list, MarkupWriter writer)voidLocationRenderer. render(Location location, MarkupWriter writer)voidObjectArrayRenderer. render(java.lang.Object[] array, MarkupWriter writer)voidRequestRenderer. render(Request request, MarkupWriter writer) -
Uses of MarkupWriter in org.apache.tapestry5.internal.services
Classes in org.apache.tapestry5.internal.services that implement MarkupWriter Modifier and Type Class Description classMarkupWriterImplMethods in org.apache.tapestry5.internal.services that return MarkupWriter Modifier and Type Method Description MarkupWriterMarkupWriterFactoryImpl. newMarkupWriter(java.lang.String pageName)MarkupWriterMarkupWriterFactoryImpl. newMarkupWriter(ContentType contentType)MarkupWriterMarkupWriterFactoryImpl. newMarkupWriter(Page page)MarkupWriterMarkupWriterFactoryImpl. newPartialMarkupWriter(java.lang.String pageName)MarkupWriterMarkupWriterFactoryImpl. newPartialMarkupWriter(ContentType contentType)MarkupWriterMarkupWriterFactoryImpl. newPartialMarkupWriter(Page page)Methods in org.apache.tapestry5.internal.services with parameters of type MarkupWriter Modifier and Type Method Description ValidationDecoratorValidationDecoratorFactoryImpl. newInstance(MarkupWriter writer)voidCompositeFieldValidator. render(MarkupWriter writer)voidFieldTranslatorImpl. render(MarkupWriter writer)voidFieldValidatorImpl. render(MarkupWriter writer)voidPageRenderQueue. render(MarkupWriter writer)Render to the markup writer, as setup by thePageRenderQueue.initializeForCompletePage(org.apache.tapestry5.internal.structure.Page)orPageRenderQueue.addPartialRenderer(org.apache.tapestry5.runtime.RenderCommand)methods.voidPageRenderQueueImpl. render(MarkupWriter writer)voidMarkupRendererTerminator. renderMarkup(MarkupWriter writer)voidPageNameMetaInjector. renderMarkup(MarkupWriter writer, MarkupRenderer delegate)voidPartialMarkupRendererTerminator. renderMarkup(MarkupWriter writer, JSONObject reply)voidRenderCommandComponentEventResultProcessor. renderMarkup(MarkupWriter writer, JSONObject reply, PartialMarkupRenderer renderer)As a filter, this class does three things: It creates an outer element to capture the partial page content that will be rendered It does setup and cleanup with theAjaxFormUpdateControllerIt extracts the child markup and stuffs it into the reply's "content" property.voidPageMarkupRenderer. renderPageMarkup(Page page, MarkupWriter writer)Initializes the rendering using theMarkupRendererpipeline.voidPageMarkupRendererImpl. renderPageMarkup(Page page, MarkupWriter writer)voidPageRenderQueue. renderPartial(MarkupWriter writer, JSONObject reply)Performs a partial markup render, as configured viaPageRenderQueue.addPartialRenderer(org.apache.tapestry5.runtime.RenderCommand).voidPageRenderQueueImpl. renderPartial(MarkupWriter writer, JSONObject reply)voidRenderQueueImpl. run(MarkupWriter writer) -
Uses of MarkupWriter in org.apache.tapestry5.internal.services.ajax
Methods in org.apache.tapestry5.internal.services.ajax with parameters of type MarkupWriter Modifier and Type Method Description voidSingleZonePartialRendererFilter. renderMarkup(MarkupWriter writer, JSONObject reply, PartialMarkupRenderer renderer)voidAjaxFormUpdateController. setupBeforePartialZoneRender(MarkupWriter writer)Called before starting to render a zone's content; initializes theFormSupportandValidationTrackerenvironmentals and starts a heartbeat.voidAjaxFormUpdateControllerImpl. setupBeforePartialZoneRender(MarkupWriter writer) -
Uses of MarkupWriter in org.apache.tapestry5.internal.services.javascript
Methods in org.apache.tapestry5.internal.services.javascript with parameters of type MarkupWriter Modifier and Type Method Description voidAddBrowserCompatibilityStyles. renderMarkup(MarkupWriter writer, MarkupRenderer renderer)voidConfigureHTMLElementFilter. renderMarkup(MarkupWriter writer, MarkupRenderer renderer) -
Uses of MarkupWriter in org.apache.tapestry5.internal.structure
Methods in org.apache.tapestry5.internal.structure with parameters of type MarkupWriter Modifier and Type Method Description voidBlockImpl. render(MarkupWriter writer, RenderQueue queue)Pushes all the elements of the body of this block onto the queue in appropriate order.voidComponentPageElementImpl. render(MarkupWriter writer, RenderQueue queue)Pushes the SetupRender phase state onto the queue.voidExpansionPageElement. render(MarkupWriter writer, RenderQueue queue)voidInternalComponentResourcesImpl. render(MarkupWriter writer, RenderQueue queue)voidInternalComponentResourcesImpl. renderInformalParameters(MarkupWriter writer) -
Uses of MarkupWriter in org.apache.tapestry5.internal.test
Methods in org.apache.tapestry5.internal.test with parameters of type MarkupWriter Modifier and Type Method Description voidCaptureRenderedDocument. renderMarkup(MarkupWriter writer, MarkupRenderer renderer) -
Uses of MarkupWriter in org.apache.tapestry5.internal.translator
Methods in org.apache.tapestry5.internal.translator with parameters of type MarkupWriter Modifier and Type Method Description voidNumericTranslator. render(Field field, java.lang.String message, MarkupWriter writer, FormSupport formSupport)voidStringTranslator. render(Field field, java.lang.String message, MarkupWriter writer, FormSupport formSupport)Does nothing. -
Uses of MarkupWriter in org.apache.tapestry5.internal.util
Methods in org.apache.tapestry5.internal.util with parameters of type MarkupWriter Modifier and Type Method Description voidRenderableAsBlock. render(MarkupWriter writer, RenderQueue queue)voidStringRenderable. render(MarkupWriter writer)Constructors in org.apache.tapestry5.internal.util with parameters of type MarkupWriter Constructor Description SelectModelRenderer(MarkupWriter writer, ValueEncoder encoder, boolean raw) -
Uses of MarkupWriter in org.apache.tapestry5.runtime
Methods in org.apache.tapestry5.runtime with parameters of type MarkupWriter Modifier and Type Method Description voidComponent. afterRender(MarkupWriter writer, Event event)Generally used to write the close tag matching any open tag written byComponent.beginRender(org.apache.tapestry5.MarkupWriter, Event).voidComponent. afterRenderBody(MarkupWriter writer, Event event)Invoked just after rendering the body of the component.voidComponent. afterRenderTemplate(MarkupWriter writer, Event event)Invoked after rendering the template for a component (only for components with a template).voidComponent. beforeRenderBody(MarkupWriter writer, Event event)Invoked just before rendering the body of component.voidComponent. beforeRenderTemplate(MarkupWriter writer, Event event)This phase is only invoked for components with templates.voidComponent. beginRender(MarkupWriter writer, Event event)Invoked to allow a component to render its tag (start tag and attributes).voidComponent. cleanupRender(MarkupWriter writer, Event event)Generally used to perform final cleanup of the component after rendering.voidRenderCommand. render(MarkupWriter writer, RenderQueue queue)Invoked on an object to request that it render itself.voidComponent. setupRender(MarkupWriter writer, Event event)Invoked before rendering a component (or its template). -
Uses of MarkupWriter in org.apache.tapestry5.services
Methods in org.apache.tapestry5.services that return MarkupWriter Modifier and Type Method Description MarkupWriterMarkupWriterFactory. newMarkupWriter(java.lang.String pageName)Obtains a markup writer that will render the content for the provided logical page name.MarkupWriterMarkupWriterFactory. newMarkupWriter(ContentType contentType)Deprecated.useMarkupWriterFactory.newMarkupWriter(Page)instead which doesn't rely on the content type alone.MarkupWriterMarkupWriterFactory. newMarkupWriter(Page page)Obtains a markup writer that will render the content for the provided page.MarkupWriterMarkupWriterFactory. newPartialMarkupWriter(java.lang.String pageName)Obtains a markup writer that will render the content for the provided logical page name, configured for partial page rendering (i.e., for a response to an Ajax request).MarkupWriterMarkupWriterFactory. newPartialMarkupWriter(ContentType contentType)Deprecated.useMarkupWriterFactory.newPartialMarkupWriter(Page)instead which doesn't rely on the content type alone.MarkupWriterMarkupWriterFactory. newPartialMarkupWriter(Page page)Obtains a markup writer that will render the content for the provided page, configured for partial page rendering (i.e., for a response to an Ajax request).Methods in org.apache.tapestry5.services with parameters of type MarkupWriter Modifier and Type Method Description ValidationDecoratorValidationDecoratorFactory. newInstance(MarkupWriter writer)Deprecated.Creates a new decorator for the indicated writer.voidDefaultObjectRenderer. render(java.lang.Object object, MarkupWriter writer)voidObjectRenderer. render(T object, MarkupWriter writer)Renders the object out as markup.voidMarkupRenderer. renderMarkup(MarkupWriter writer)Invoked to render some markup.voidMarkupRendererFilter. renderMarkup(MarkupWriter writer, MarkupRenderer renderer)Implementations should perform work before or after passing the writer to the renderer.voidPartialMarkupRenderer. renderMarkup(MarkupWriter writer, JSONObject reply)Implementations should perform work before or after passing the writer to the renderer.voidPartialMarkupRendererFilter. renderMarkup(MarkupWriter writer, JSONObject reply, PartialMarkupRenderer renderer)Implementations should perform work before or after passing the writer to the renderer. -
Uses of MarkupWriter in org.apache.tapestry5.test
Methods in org.apache.tapestry5.test that return MarkupWriter Modifier and Type Method Description protected MarkupWriterTapestryTestCase. createMarkupWriter()Creates a new markup writer instance (not a markup writer mock).protected MarkupWriterTapestryTestCase. mockMarkupWriter()Methods in org.apache.tapestry5.test with parameters of type MarkupWriter Modifier and Type Method Description protected voidTapestryTestCase. train_renderInformalParameters(ComponentResources resources, MarkupWriter writer, java.lang.Object... informals) -
Uses of MarkupWriter in org.apache.tapestry5.upload.components
Methods in org.apache.tapestry5.upload.components with parameters of type MarkupWriter Modifier and Type Method Description voidUpload. afterRender(MarkupWriter writer)protected voidUpload. beginRender(MarkupWriter writer)Render the upload tags. -
Uses of MarkupWriter in org.apache.tapestry5.validator
Methods in org.apache.tapestry5.validator with parameters of type MarkupWriter Modifier and Type Method Description voidChecked. render(Field field, java.lang.Void constraintValue, MessageFormatter formatter, MarkupWriter writer, FormSupport formSupport)voidEmail. render(Field field, java.lang.Void constraintValue, MessageFormatter formatter, MarkupWriter writer, FormSupport formSupport)voidMax. render(Field field, java.lang.Long constraintValue, MessageFormatter formatter, MarkupWriter writer, FormSupport formSupport)voidMaxLength. render(Field field, java.lang.Integer constraintValue, MessageFormatter formatter, MarkupWriter writer, FormSupport formSupport)voidMin. render(Field field, java.lang.Long constraintValue, MessageFormatter formatter, MarkupWriter writer, FormSupport formSupport)voidMinLength. render(Field field, java.lang.Integer constraintValue, MessageFormatter formatter, MarkupWriter writer, FormSupport formSupport)voidNone. render(Field field, java.lang.Void constraintValue, MessageFormatter formatter, MarkupWriter writer, FormSupport formSupport)Does nothing.voidRegexp. render(Field field, java.util.regex.Pattern constraintValue, MessageFormatter formatter, MarkupWriter writer, FormSupport formSupport)voidRequired. render(Field field, java.lang.Void constraintValue, MessageFormatter formatter, MarkupWriter writer, FormSupport formSupport)
-