java.lang.Object | |||
↳ | com.microstrategy.web.blocks.renderers.AbstractRenderer | ||
↳ | com.microstrategy.web.blocks.renderers.XmlRenderer | ||
↳ | com.microstrategy.web.blocks.renderers.XmlRendererANF |
This class is the renderer that converts a Block tree into XML Attribute Normal
Form. It uses the XmlRendererBlockVisitorANF
class to perform the actual
traversal of the Block tree.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
XmlRendererANF() |
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Comparator<BlockProperty> |
getBlockPropertyComparator()
Returns a comparator used to sort the block properties.
| ||||||||||
XmlRendererBlockVisitor |
getBlockVisitor(BlockContext context)
The XMLRendererANF will return a block visitor of ANF type.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Returns a comparator used to sort the block properties. The comparator will sort the scalar properties before the composite ones. For the XMLRenderer to output the XML in ANF form it needs to sort the block properties so that all scalar properties are traversed and added as attributes before the composite ones are added as child.
The XMLRendererANF will return a block visitor of ANF type. The ANF type block visitor will output the XML in the Attribute Normal Form.
context | the BlockContext object. |
---|
XmlRendererBlockVisitorANF
object