Known Direct Subclasses
XmlRendererANF |
This class is the renderer that converts a Block tree into XML Attribute Normal
Form. |
|
Class Overview
This class is the renderer that converts a Block tree into XML Element Normal
Form. It uses the XmlRendererBlockVisitorENF
class to perform the actual
traversal of the Block tree.
Public Constructors
Public Methods
Protected Methods
protected
Comparator<BlockProperty>
getBlockPropertyComparator
()
Returns a comparator used to sort the block properties.
Since by default the XMLRenderer outputs the XML in ENF form it doesn't need
to sort the block properties therefore it returns null.
protected
XmlRendererBlockVisitor
getBlockVisitor
(BlockContext context)
By default the XMLRenderer will return a block visitor of ENF type.
The ENF type block visitor will output the XML in Element Normal Form.