Package org.apache.tapestry5

# Interface MarkupWriterListener

All Known Implementing Classes:
  `MarkupWriterAdapter`

public interface MarkupWriterListener
An interface that allows objects to be alerted after an element is started, and after an element is ended.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `elementDidEnd(Element element)`
  Invoked just after an element has ended.
  `void`
  `elementDidStart(Element element)`
  Invoked just after an element and its initial set of attributes has been written.

- ## Method Details

  - ### elementDidStart

    void elementDidStart(Element element)
    Invoked just after an element and its initial set of attributes has been written.
    Parameters:
      `element` - element just created and populated with attributes
    See Also:
      - `MarkupWriter.element(String, Object[])`
      - `MarkupWriter.elementNS(String, String)`

  - ### elementDidEnd

    void elementDidEnd(Element element)
    Invoked just after an element has ended.
    Parameters:
      `element` - just ended
    See Also:
      - `MarkupWriter.end()`