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
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.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
visit
(HtmlWidget htmlWidget) void
visit
(HtmlWidget.HtmlTemplate htmlTemplate) void
visit
(HtmlWidget.HtmlTemplateDecorator htmlTemplateDecorator) void
visit
(HtmlWidget.HtmlTemplateDecoratorSection htmlTemplateDecoratorSection) void
visit
(IterateSectionWidget iterateSectionWidget) void
void
void
visit
(ModelMenuItem modelMenuItem) void
visit
(ModelScreen modelScreen) void
visit
(ModelScreenWidget.Column column) void
visit
(ModelScreenWidget.ColumnContainer columnContainer) void
visit
(ModelScreenWidget.Container container) void
visit
(ModelScreenWidget.Content content) void
visit
(ModelScreenWidget.DecoratorScreen decoratorScreen) void
visit
(ModelScreenWidget.DecoratorSection decoratorSection) void
visit
(ModelScreenWidget.DecoratorSectionInclude decoratorSectionInclude) void
visit
(ModelScreenWidget.Form form) void
visit
(ModelScreenWidget.Grid grid) void
visit
(ModelScreenWidget.HorizontalSeparator horizontalSeparator) void
visit
(ModelScreenWidget.IncludeScreen includeScreen) void
visit
(ModelScreenWidget.Label label) void
visit
(ModelScreenWidget.Menu menu) void
visit
(ModelScreenWidget.PlatformSpecific platformSpecific) void
visit
(ModelScreenWidget.PortalPage portalPage) void
void
visit
(ModelScreenWidget.Screenlet screenlet) void
void
visit
(ModelScreenWidget.Section section) void
visit
(ModelScreenWidget.Tree tree) void
visit
(ModelSingleForm modelForm) void
void
visit
(ModelTree.ModelNode modelNode) void
visit
(ModelTree.ModelNode.ModelSubNode modelSubNode) void
visitModelForm
(ModelForm modelForm) Visit model form.Methods inherited from class org.apache.ofbiz.widget.model.XmlAbstractWidgetVisitor
getWriter, visitAttribute, visitAttribute, visitAttribute, visitAttribute, visitAttribute, visitAutoEntityParameters, visitAutoServiceParameters, visitImage, visitLink, visitLinkAttributes, visitModelWidget, visitParameters
-
Constructor Details
-
XmlWidgetVisitor
-
-
Method Details
-
visit
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
Exception
-
visit
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
Exception
-
visit
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
Exception
-
visit
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
Exception
-
visit
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
Exception
-
visit
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
Exception
-
visit
public void visit(ModelScreenWidget.DecoratorSectionInclude decoratorSectionInclude) throws Exception - Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
Exception
-
visit
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
Exception
-
visit
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
Exception
-
visit
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
Exception
-
visit
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
Exception
-
visit
public void visit(HtmlWidget.HtmlTemplateDecoratorSection htmlTemplateDecoratorSection) throws Exception - Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
Exception
-
visit
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
Exception
-
visit
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
Exception
-
visit
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
Exception
-
visit
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
Exception
-
visit
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
Exception
-
visit
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
Exception
-
visit
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
Exception
-
visit
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
Exception
-
visit
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
Exception
-
visit
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
Exception
-
visit
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
Exception
-
visit
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
Exception
-
visit
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
Exception
-
visit
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
Exception
-
visit
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
Exception
-
visit
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
Exception
-
visit
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
Exception
-
visit
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
Exception
-
visit
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
Exception
-
visit
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
Exception
-
visit
- Specified by:
visit
in interfaceModelWidgetVisitor
- Throws:
Exception
-
visitModelForm
Visit model form.- Parameters:
modelForm
- the model form- Throws:
Exception
- the exception
-