com.inxar.jenesis.util
Interface BlockStyle
- public interface BlockStyle
BlockStyle is an interface whose implementations encapsulate the
ability to render an array of codeable objects with surrounding
braces. This is applicable for a number of stuctures including
some declarations (classes, methods...) and block statements. This
allows a sort of 'plug and play' approach to brace styles.
toCode
public void toCode(CodeWriter out,
Iterator iterator)
- Sets an iterator of codeables to write as a block.