Uses of Interface
org.apache.tapestry.IMarkupWriter

Packages that use IMarkupWriter
org.apache.tapestry Tapestry is a comprehensive web application framework, written in Java. 
org.apache.tapestry.components Basic, fundamental components used to construct more complex components, or pages. 
org.apache.tapestry.engine Implementations of the IEngine interface, including the standard implementation: BaseEngine
org.apache.tapestry.form Components for implementing basic HTML Forms. 
org.apache.tapestry.html Components specific to the creation of HTML pages, including sophisticated DHTML JavaScript effects. 
org.apache.tapestry.link Components for creating links on the page that trigger application behavior when clicked. 
org.apache.tapestry.parse Classes used when parsing templates, application and component specifications. 
org.apache.tapestry.request   
org.apache.tapestry.services.impl   
org.apache.tapestry.valid Components and classes that provide specialized, validating text fields. 
org.apache.tapestry.wml Classes and components for main elements of the Wireless Markup Language (WML 1.2). 
 

Uses of IMarkupWriter in org.apache.tapestry
 

Classes in org.apache.tapestry that implement IMarkupWriter
 class AbstractMarkupWriter
          Abstract base class implementing the IMarkupWriter interface.
 

Methods in org.apache.tapestry that return IMarkupWriter
 IMarkupWriter IPage.getResponseWriter(java.io.OutputStream out)
          Invoked to create a response writer appropriate to the page (i.e., appropriate to the content of the page).
 IMarkupWriter IMarkupWriter.getNestedWriter()
          Returns a nested writer, one that accumulates its changes in a buffer.
abstract  IMarkupWriter AbstractPage.getResponseWriter(java.io.OutputStream out)
          Implemented in subclasses to provide a particular kind of response writer (and therefore, a particular kind of content).
abstract  IMarkupWriter AbstractMarkupWriter.getNestedWriter()
           
 

Methods in org.apache.tapestry with parameters of type IMarkupWriter
 void IRequestCycle.renderPage(IMarkupWriter writer)
          Renders the given page.
 void IRender.render(IMarkupWriter writer, IRequestCycle cycle)
          The principal rendering/rewinding method.
 void IPage.renderPage(IMarkupWriter writer, IRequestCycle cycle)
          Invoked to render the entire page.
 void IPage.beginResponse(IMarkupWriter writer, IRequestCycle cycle)
          Invoked just before rendering of the page is initiated.
 void IForm.rewind(IMarkupWriter writer, IRequestCycle cycle)
          Invoked by the IRequestCycle to allow a form that uses the direct service, to respond to the form submission.
 void IComponent.renderBody(IMarkupWriter writer, IRequestCycle cycle)
          Invoked to make the receiver render its body (the elements and components its tag wraps around, on its container's template).
protected  void BaseComponent.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
          Renders the top level components contained by the receiver.
 void AbstractPage.renderPage(IMarkupWriter writer, IRequestCycle cycle)
           Invokes PageBeginRenderListener.pageBeginRender(PageEvent) Invokes AbstractPage.beginResponse(IMarkupWriter, IRequestCycle) Invokes IRequestCycle.commitPageChanges()(if not rewinding) Invokes AbstractComponent.render(IMarkupWriter, IRequestCycle) Invokes PageEndRenderListener.pageEndRender(PageEvent)(this occurs even if a previous step throws an exception)
 void AbstractPage.beginResponse(IMarkupWriter writer, IRequestCycle cycle)
          Deprecated. To be removed in 3.1. Implement PageRenderListenerinstead.
protected  void AbstractComponent.renderInformalParameters(IMarkupWriter writer, IRequestCycle cycle)
          Converts informal parameters into additional attributes on the curently open tag.
 void AbstractComponent.renderBody(IMarkupWriter writer, IRequestCycle cycle)
          Renders all elements wrapped by the receiver.
 void AbstractComponent.render(IMarkupWriter writer, IRequestCycle cycle)
          The main method used to render the component.
protected abstract  void AbstractComponent.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
          Invoked by AbstractComponent.render(IMarkupWriter, IRequestCycle)to actually render the component (with any parameter values already set).
 

Uses of IMarkupWriter in org.apache.tapestry.components
 

Methods in org.apache.tapestry.components with parameters of type IMarkupWriter
protected  void RenderBody.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
          Finds this RenderBody's container, and invokes IComponent.renderBody(IMarkupWriter, IRequestCycle) on it.
protected  void RenderBlock.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
          If block is not null, then the block's inserter is set (to this), IComponent.renderBody(IMarkupWriter, IRequestCycle)is invoked on it, and the Block's inserter is set back to its previous state.
protected  void Insert.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
          Prints its value parameter, possibly formatted by its format parameter.
 void ILinkComponent.renderAdditionalAttributes(IMarkupWriter writer, IRequestCycle cycle)
          Invoked (by the ILinkRenderer) to make the link render any additional attributes.
protected  void Foreach.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
          Gets the source binding and iterates through its values.
protected  void Delegator.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
          Gets its delegate and invokes IRender.render(IMarkupWriter, IRequestCycle) on it.
protected  void Conditional.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
          Renders its wrapped components only if the condition is true (technically, if condition matches invert).
 void BlockRenderer.render(IMarkupWriter writer, IRequestCycle cycle)
           
protected  void Block.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
          Does nothing; the idea of a Block is to defer the rendering of the body of the block until an RenderBlock forces it out.
protected  void Any.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
           
 

Uses of IMarkupWriter in org.apache.tapestry.engine
 

Classes in org.apache.tapestry.engine that implement IMarkupWriter
 class NullWriter
          A IMarkupWriter that does absolutely nothing; this is used during the rewind phase of the request cycle when output is discarded anyway.
 

Methods in org.apache.tapestry.engine that return IMarkupWriter
static IMarkupWriter NullWriter.getSharedInstance()
           
 IMarkupWriter NullWriter.getNestedWriter()
          Returns this: since a NullWriter doesn't actually do anything, one is as good as another!.
 

Methods in org.apache.tapestry.engine with parameters of type IMarkupWriter
 void RequestCycle.renderPage(IMarkupWriter writer)
          Renders the page by invoking IPage.renderPage(IMarkupWriter, IRequestCycle).
 

Uses of IMarkupWriter in org.apache.tapestry.form
 

Methods in org.apache.tapestry.form with parameters of type IMarkupWriter
protected  void Upload.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
           
protected  void TextArea.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
          Renders the form element, or responds when the form containing the element is submitted (by checking Form.isRewinding().
protected  void Submit.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
           
 void SelectPropertySelectionRenderer.beginRender(PropertySelection component, IMarkupWriter writer, IRequestCycle cycle)
          Writes the <select> element.
 void SelectPropertySelectionRenderer.endRender(PropertySelection component, IMarkupWriter writer, IRequestCycle cycle)
          Closes the <select> element.
 void SelectPropertySelectionRenderer.renderOption(PropertySelection component, IMarkupWriter writer, IRequestCycle cycle, IPropertySelectionModel model, java.lang.Object option, int index, boolean selected)
          Writes an <option> element.
protected  void Select.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
          Renders the <option> element, or responds when the form containing the element is submitted (by checking IForm.isRewinding().
 void RadioPropertySelectionRenderer.beginRender(PropertySelection component, IMarkupWriter writer, IRequestCycle cycle)
          Writes the <table> element.
 void RadioPropertySelectionRenderer.endRender(PropertySelection component, IMarkupWriter writer, IRequestCycle cycle)
          Closes the <table> element.
 void RadioPropertySelectionRenderer.renderOption(PropertySelection component, IMarkupWriter writer, IRequestCycle cycle, IPropertySelectionModel model, java.lang.Object option, int index, boolean selected)
          Writes a row of the table.
protected  void RadioGroup.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
          Doesn't actual render an HTML element as there is no direct equivalent for an HTML element.
protected  void Radio.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
          Renders the form element, or responds when the form containing the element is submitted (by checking Form.isRewinding().
protected  void PropertySelection.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
          Renders the component, much of which is the responsiblity of the renderer.
protected  void Option.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
          Renders the <option> element, or responds when the form containing the element is submitted (by checking Form.isRewinding().
protected  void ListEdit.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
           
protected  void LinkSubmit.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
           
 void IPropertySelectionRenderer.beginRender(PropertySelection component, IMarkupWriter writer, IRequestCycle cycle)
          Begins the rendering of the PropertySelection.
 void IPropertySelectionRenderer.renderOption(PropertySelection component, IMarkupWriter writer, IRequestCycle cycle, IPropertySelectionModel model, java.lang.Object option, int index, boolean selected)
          Invoked for each element obtained from the model.
 void IPropertySelectionRenderer.endRender(PropertySelection component, IMarkupWriter writer, IRequestCycle cycle)
          Ends the rendering of the PropertySelection.
protected  void ImageSubmit.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
           
protected  void Hidden.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
           
protected  void Form.writeAttributes(IMarkupWriter writer, ILink link)
           
protected  void Form.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
           
protected  void Form.emitEventHandlers(IMarkupWriter writer, IRequestCycle cycle)
           
 void Form.rewind(IMarkupWriter writer, IRequestCycle cycle)
          Simply invokes AbstractComponent.render(IMarkupWriter, IRequestCycle).
protected  void Form.writeHiddenField(IMarkupWriter writer, java.lang.String name, java.lang.String value)
           
protected  void Form.writeHiddenField(IMarkupWriter writer, java.lang.String name, java.lang.String id, java.lang.String value)
           
protected  void Form.writeHiddenValues(IMarkupWriter writer)
          Writes hidden values accumulated during the render (by components invoking Form.addHiddenValue(String, String).
protected  void DatePicker.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
           
protected  void Checkbox.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
          Renders the form elements, or responds when the form containing the element is submitted (by checking Form.isRewinding().
protected  void Button.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
           
protected  void AbstractTextField.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
          Renders the form element, or responds when the form containing the element is submitted (by checking Form.isRewinding().
protected  void AbstractTextField.beforeCloseTag(IMarkupWriter writer, IRequestCycle cycle)
          Invoked from AbstractComponent.render(IMarkupWriter, IRequestCycle) just before the tag is closed.
 

Uses of IMarkupWriter in org.apache.tapestry.html
 

Classes in org.apache.tapestry.html that implement IMarkupWriter
 class HTMLWriter
          This class is used to create HTML output.
 class NestedHTMLWriter
          Subclass of HTMLWriter that is nested.
 

Methods in org.apache.tapestry.html that return IMarkupWriter
 IMarkupWriter HTMLWriter.getNestedWriter()
           
 IMarkupWriter BasePage.getResponseWriter(java.io.OutputStream out)
          Returns a new HTMLWriter.
 

Methods in org.apache.tapestry.html with parameters of type IMarkupWriter
protected  void Shell.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
           
protected  void Script.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
           
protected  void Rollover.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
           
abstract  void InsertTextMode.writeLine(int lineNumber, java.lang.String line, IMarkupWriter writer)
          Invoked by the InsertText component to write the next line.
protected  void InsertText.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
           
protected  void Image.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
          Renders the <img> element.
protected  void Frame.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
           
protected  void ExceptionDisplay.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
           
protected  void Body.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
           
 

Constructors in org.apache.tapestry.html with parameters of type IMarkupWriter
NestedHTMLWriter(IMarkupWriter parent)
           
 

Uses of IMarkupWriter in org.apache.tapestry.link
 

Methods in org.apache.tapestry.link with parameters of type IMarkupWriter
 void ILinkRenderer.renderLink(IMarkupWriter writer, IRequestCycle cycle, ILinkComponent linkComponent)
          Renders the link, taking into account whether the link is disabled.
 void DefaultLinkRenderer.renderLink(IMarkupWriter writer, IRequestCycle cycle, ILinkComponent linkComponent)
           
protected  void DefaultLinkRenderer.beforeBodyRender(IMarkupWriter writer, IRequestCycle cycle, ILinkComponent link)
          Invoked after the href attribute has been written but before the body of the link is rendered (but only if the link is not disabled).
protected  void DefaultLinkRenderer.afterBodyRender(IMarkupWriter writer, IRequestCycle cycle, ILinkComponent link)
          Invoked after the body of the link is rendered, but before ILinkComponent.renderAdditionalAttributes(IMarkupWriter, IRequestCycle)is invoked (but only if the link is not disabled).
 void ButtonLinkRenderer.renderLink(IMarkupWriter writer, IRequestCycle cycle, ILinkComponent component)
           
protected  void AbstractLinkComponent.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
          Renders the link by delegating to an instance of ILinkRenderer.
protected  void AbstractLinkComponent.writeEventHandlers(IMarkupWriter writer, IRequestCycle cycle)
           
protected  java.lang.String AbstractLinkComponent.writeEventHandler(IMarkupWriter writer, Body body, java.lang.String name, java.lang.String attributeName, java.lang.Object value)
           
 void AbstractLinkComponent.renderAdditionalAttributes(IMarkupWriter writer, IRequestCycle cycle)
           
 

Uses of IMarkupWriter in org.apache.tapestry.parse
 

Methods in org.apache.tapestry.parse with parameters of type IMarkupWriter
 void TextToken.render(IMarkupWriter writer, IRequestCycle cycle)
           
 

Uses of IMarkupWriter in org.apache.tapestry.request
 

Methods in org.apache.tapestry.request with parameters of type IMarkupWriter
 void RequestContext.write(IMarkupWriter writer)
          Writes the state of the context to the writer, typically for inclusion in a HTML page returned to the user.
 void RequestContext.render(IMarkupWriter writer, IRequestCycle cycle)
          Invokes RequestContext.write(IMarkupWriter), which is used for debugging.
 

Uses of IMarkupWriter in org.apache.tapestry.services.impl
 

Methods in org.apache.tapestry.services.impl with parameters of type IMarkupWriter
 void LocalizedStringRender.render(IMarkupWriter writer, IRequestCycle cycle)
           
 void BaseTagWriter.render(IMarkupWriter writer, IRequestCycle cycle)
           
 

Uses of IMarkupWriter in org.apache.tapestry.valid
 

Methods in org.apache.tapestry.valid with parameters of type IMarkupWriter
protected  void ValidField.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
          Renders the component, which involves the delegate.
protected  void ValidField.beforeCloseTag(IMarkupWriter writer, IRequestCycle cycle)
          Invokes IValidationDelegate.writeAttributes(IMarkupWriter,IRequestCycle, IFormComponent,IValidator).
 void ValidationDelegate.writeLabelPrefix(IFormComponent component, IMarkupWriter writer, IRequestCycle cycle)
          If the form component is in error, places a <font color="red"< around it.
 void ValidationDelegate.writeLabelSuffix(IFormComponent component, IMarkupWriter writer, IRequestCycle cycle)
          Closes the <font> element,started by ValidationDelegate.writeLabelPrefix(IFormComponent,IMarkupWriter,IRequestCycle), if the form component is in error.
 void ValidationDelegate.writePrefix(IMarkupWriter writer, IRequestCycle cycle, IFormComponent component, IValidator validator)
          Does nothing.
 void ValidationDelegate.writeAttributes(IMarkupWriter writer, IRequestCycle cycle, IFormComponent component, IValidator validator)
          Does nothing.
 void ValidationDelegate.writeSuffix(IMarkupWriter writer, IRequestCycle cycle, IFormComponent component, IValidator validator)
          Default implementation; if the current field is in error, then a suffix is written.
 void UrlValidator.renderValidatorContribution(IFormComponent field, IMarkupWriter writer, IRequestCycle cycle)
           
 void StringValidator.renderValidatorContribution(IFormComponent field, IMarkupWriter writer, IRequestCycle cycle)
           
 void RenderString.render(IMarkupWriter writer, IRequestCycle cycle)
          Renders the String to the writer.
 void PatternValidator.renderValidatorContribution(IFormComponent field, IMarkupWriter writer, IRequestCycle cycle)
           
 void NumberValidator.renderValidatorContribution(IFormComponent field, IMarkupWriter writer, IRequestCycle cycle)
           
 void IValidator.renderValidatorContribution(IFormComponent field, IMarkupWriter writer, IRequestCycle cycle)
          Invoked by the field after it finishes rendering its tag (but before the tag is closed) to allow the validator to provide a contribution to the rendering process.
 void IValidationDelegate.writePrefix(IMarkupWriter writer, IRequestCycle cycle, IFormComponent component, IValidator validator)
          Invoked before the field is rendered.
 void IValidationDelegate.writeAttributes(IMarkupWriter writer, IRequestCycle cycle, IFormComponent component, IValidator validator)
          Invoked just before the <input> element is closed.
 void IValidationDelegate.writeSuffix(IMarkupWriter writer, IRequestCycle cycle, IFormComponent component, IValidator validator)
          Invoked after the form component is rendered, so that the delegate may decorate the form component (if it is in error).
 void IValidationDelegate.writeLabelPrefix(IFormComponent component, IMarkupWriter writer, IRequestCycle cycle)
          Invoked by a FieldLabel just before writing the name of the form component.
 void IValidationDelegate.writeLabelSuffix(IFormComponent component, IMarkupWriter writer, IRequestCycle cycle)
          Invoked by a FieldLabel just after writing the name of the form component.
protected  void FieldLabel.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
          Gets the IFormComponent and delegate, then renders the label obtained from the field.
 void EmailValidator.renderValidatorContribution(IFormComponent field, IMarkupWriter writer, IRequestCycle cycle)
           
 void DateValidator.renderValidatorContribution(IFormComponent field, IMarkupWriter writer, IRequestCycle cycle)
           
 void BaseValidator.renderValidatorContribution(IFormComponent field, IMarkupWriter writer, IRequestCycle cycle)
          This implementation does nothing.
 

Uses of IMarkupWriter in org.apache.tapestry.wml
 

Classes in org.apache.tapestry.wml that implement IMarkupWriter
 class NestedWMLWriter
          Subclass of WMLWriter that is nested.
 class WMLWriter
          This class is used to create WML output.
 

Methods in org.apache.tapestry.wml that return IMarkupWriter
 IMarkupWriter WMLWriter.getNestedWriter()
           
 IMarkupWriter Deck.getResponseWriter(java.io.OutputStream out)
          Returns a new WMLWriter.
 

Methods in org.apache.tapestry.wml with parameters of type IMarkupWriter
protected  void Timer.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
           
protected  void Setvar.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
           
protected  void Select.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
           
protected  void PropertySelection.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
           
protected  void Option.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
           
protected  void OnEvent.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
           
protected  void Input.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
           
protected  void Image.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
           
protected  void Go.writeAttributes(IMarkupWriter writer, ILink link)
           
protected  void Go.writeHiddenField(IMarkupWriter writer, java.lang.String name, java.lang.String value)
           
protected  void Go.emitEventHandlers(IMarkupWriter writer, IRequestCycle cycle)
          This component doesn't support event handlers.
protected  void Do.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
           
protected  void Card.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
           
protected  void AbstractPostfield.renderComponent(IMarkupWriter writer, IRequestCycle cycle)
           
 

Constructors in org.apache.tapestry.wml with parameters of type IMarkupWriter
NestedWMLWriter(IMarkupWriter parent)