Package org.apache.ofbiz.widget.model
Class XmlWidgetVisitor
- java.lang.Object
-
- org.apache.ofbiz.widget.model.XmlAbstractWidgetVisitor
-
- org.apache.ofbiz.widget.model.XmlWidgetVisitor
-
- All Implemented Interfaces:
ModelWidgetVisitor
public class XmlWidgetVisitor extends XmlAbstractWidgetVisitor implements ModelWidgetVisitor
An object that generates an XML representation from widget models. The generated XML is unformatted - if you want to "pretty print" the XML, then use a transformer.
-
-
Field Summary
-
Fields inherited from class org.apache.ofbiz.widget.model.XmlAbstractWidgetVisitor
writer
-
-
Constructor Summary
Constructors Constructor Description XmlWidgetVisitor(java.lang.Appendable writer)
-
Method Summary
-
Methods inherited from class org.apache.ofbiz.widget.model.XmlAbstractWidgetVisitor
visitAttribute, visitAttribute, visitAttribute, visitAttribute, visitAttribute, visitAutoEntityParameters, visitAutoServiceParameters, visitImage, visitLink, visitLinkAttributes, visitModelWidget, visitParameters
-
-
-
-
Method Detail
-
visit
public void visit(ModelScreenWidget.Column column) throws java.lang.Exception
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelScreenWidget.ColumnContainer columnContainer) throws java.lang.Exception
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelScreenWidget.Container container) throws java.lang.Exception
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelScreenWidget.Content content) throws java.lang.Exception
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelScreenWidget.DecoratorScreen decoratorScreen) throws java.lang.Exception
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelScreenWidget.DecoratorSection decoratorSection) throws java.lang.Exception
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelScreenWidget.DecoratorSectionInclude decoratorSectionInclude) throws java.lang.Exception
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelScreenWidget.Form form) throws java.lang.Exception
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelScreenWidget.HorizontalSeparator horizontalSeparator) throws java.lang.Exception
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(HtmlWidget.HtmlTemplate htmlTemplate) throws java.lang.Exception
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(HtmlWidget.HtmlTemplateDecorator htmlTemplateDecorator) throws java.lang.Exception
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(HtmlWidget.HtmlTemplateDecoratorSection htmlTemplateDecoratorSection) throws java.lang.Exception
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(HtmlWidget htmlWidget) throws java.lang.Exception
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelScreenWidget.IncludeScreen includeScreen) throws java.lang.Exception
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(IterateSectionWidget iterateSectionWidget) throws java.lang.Exception
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelScreenWidget.Label label) throws java.lang.Exception
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelScreenWidget.Menu menu) throws java.lang.Exception
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelSingleForm modelForm) throws java.lang.Exception
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelGrid modelGrid) throws java.lang.Exception
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelScreenWidget.Grid grid) throws java.lang.Exception
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelMenu modelMenu) throws java.lang.Exception
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelMenuItem modelMenuItem) throws java.lang.Exception
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelTree.ModelNode modelNode) throws java.lang.Exception
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelScreen modelScreen) throws java.lang.Exception
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelTree.ModelNode.ModelSubNode modelSubNode) throws java.lang.Exception
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelTree modelTree) throws java.lang.Exception
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelScreenWidget.PlatformSpecific platformSpecific) throws java.lang.Exception
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelScreenWidget.PortalPage portalPage) throws java.lang.Exception
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelScreenWidget.ScreenImage image) throws java.lang.Exception
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelScreenWidget.Screenlet screenlet) throws java.lang.Exception
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelScreenWidget.ScreenLink link) throws java.lang.Exception
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelScreenWidget.Section section) throws java.lang.Exception
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelScreenWidget.Tree tree) throws java.lang.Exception
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
java.lang.Exception
-
visitModelForm
public void visitModelForm(ModelForm modelForm) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-