Package org.apache.ofbiz.widget.model
Class XmlWidgetFieldVisitor
- java.lang.Object
-
- org.apache.ofbiz.widget.model.XmlAbstractWidgetVisitor
-
- org.apache.ofbiz.widget.model.XmlWidgetFieldVisitor
-
- All Implemented Interfaces:
ModelFieldVisitor
public class XmlWidgetFieldVisitor extends XmlAbstractWidgetVisitor implements ModelFieldVisitor
An object that generates XML 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 XmlWidgetFieldVisitor(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(ModelFormField.CheckField checkField) throws java.lang.Exception
- Specified by:
visit
in interfaceModelFieldVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelFormField.ContainerField containerField) throws java.lang.Exception
- Specified by:
visit
in interfaceModelFieldVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelFormField.DateFindField dateTimeField) throws java.lang.Exception
- Specified by:
visit
in interfaceModelFieldVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelFormField.DateTimeField dateTimeField) throws java.lang.Exception
- Specified by:
visit
in interfaceModelFieldVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelFormField.DisplayEntityField displayField) throws java.lang.Exception
- Specified by:
visit
in interfaceModelFieldVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelFormField.DisplayField displayField) throws java.lang.Exception
- Specified by:
visit
in interfaceModelFieldVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelFormField.DropDownField dropDownField) throws java.lang.Exception
- Specified by:
visit
in interfaceModelFieldVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelFormField.FileField textField) throws java.lang.Exception
- Specified by:
visit
in interfaceModelFieldVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelFormField.HiddenField hiddenField) throws java.lang.Exception
- Specified by:
visit
in interfaceModelFieldVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelFormField.HyperlinkField hyperlinkField) throws java.lang.Exception
- Specified by:
visit
in interfaceModelFieldVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelFormField.FormField formField) throws java.lang.Exception
- Specified by:
visit
in interfaceModelFieldVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelFormField.GridField gridField) throws java.lang.Exception
- Specified by:
visit
in interfaceModelFieldVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelFormField.MenuField menuField) throws java.lang.Exception
- Specified by:
visit
in interfaceModelFieldVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelFormField.ScreenField screenField) throws java.lang.Exception
- Specified by:
visit
in interfaceModelFieldVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelFormField.IgnoredField ignoredField) throws java.lang.Exception
- Specified by:
visit
in interfaceModelFieldVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelFormField.ImageField imageField) throws java.lang.Exception
- Specified by:
visit
in interfaceModelFieldVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelFormField.LookupField textField) throws java.lang.Exception
- Specified by:
visit
in interfaceModelFieldVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelFormField.PasswordField textField) throws java.lang.Exception
- Specified by:
visit
in interfaceModelFieldVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelFormField.RadioField radioField) throws java.lang.Exception
- Specified by:
visit
in interfaceModelFieldVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelFormField.RangeFindField textField) throws java.lang.Exception
- Specified by:
visit
in interfaceModelFieldVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelFormField.ResetField resetField) throws java.lang.Exception
- Specified by:
visit
in interfaceModelFieldVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelFormField.SubmitField submitField) throws java.lang.Exception
- Specified by:
visit
in interfaceModelFieldVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelFormField.TextareaField textareaField) throws java.lang.Exception
- Specified by:
visit
in interfaceModelFieldVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelFormField.TextField textField) throws java.lang.Exception
- Specified by:
visit
in interfaceModelFieldVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelFormField.TextFindField textField) throws java.lang.Exception
- Specified by:
visit
in interfaceModelFieldVisitor
- Throws:
java.lang.Exception
-
-