org.jmonks.batch.io.xml
Interface XMLIndentationEngine

All Known Implementing Classes:
PrettyXMLIndentationEngine

public interface XMLIndentationEngine

XMLIndentationEngine returns the indentation information to be written to the stream based on events received. It receives the events before start and end tags being written to the stream.

Since:
1.0

Version:
1.0
Author:
Suresh Pragada

Method Summary
 java.lang.String endElement()
          Returns the indentation string needs to be written to tbe stream before the element element being written.
 java.lang.String startElement()
          Returns the indentation string needs to be written to tbe stream before the start element being written.
 

Method Detail

startElement

public java.lang.String startElement()
Returns the indentation string needs to be written to tbe stream before the start element being written.


endElement

public java.lang.String endElement()
Returns the indentation string needs to be written to tbe stream before the element element being written.