Package org.apache.ofbiz.widget.model
Class XmlWidgetActionVisitor
- java.lang.Object
-
- org.apache.ofbiz.widget.model.XmlAbstractWidgetVisitor
-
- org.apache.ofbiz.widget.model.XmlWidgetActionVisitor
-
- All Implemented Interfaces:
ModelActionVisitor
public class XmlWidgetActionVisitor extends XmlAbstractWidgetVisitor implements ModelActionVisitor
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 Modifier and Type Field Description static java.lang.String
module
-
Fields inherited from class org.apache.ofbiz.widget.model.XmlAbstractWidgetVisitor
writer
-
-
Constructor Summary
Constructors Constructor Description XmlWidgetActionVisitor(java.lang.Appendable writer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
visit(AbstractModelAction.EntityAnd entityAnd)
void
visit(AbstractModelAction.EntityCondition entityCondition)
void
visit(AbstractModelAction.EntityOne entityOne)
void
visit(AbstractModelAction.GetRelated getRelated)
void
visit(AbstractModelAction.GetRelatedOne getRelatedOne)
void
visit(AbstractModelAction.PropertyMap propertyMap)
void
visit(AbstractModelAction.PropertyToField propertyToField)
void
visit(AbstractModelAction.Script script)
void
visit(AbstractModelAction.Service service)
void
visit(AbstractModelAction.SetField setField)
void
visit(ModelFormAction.CallParentActions callParentActions)
void
visit(ModelFormAction.Service service)
void
visit(ModelMenuAction.SetField setField)
void
visit(ModelTreeAction.EntityAnd entityAnd)
void
visit(ModelTreeAction.EntityCondition entityCondition)
void
visit(ModelTreeAction.Script script)
void
visit(ModelTreeAction.Service service)
-
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(ModelFormAction.CallParentActions callParentActions) throws java.lang.Exception
- Specified by:
visit
in interfaceModelActionVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(AbstractModelAction.EntityAnd entityAnd) throws java.lang.Exception
- Specified by:
visit
in interfaceModelActionVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelTreeAction.EntityAnd entityAnd) throws java.lang.Exception
- Specified by:
visit
in interfaceModelActionVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(AbstractModelAction.EntityCondition entityCondition) throws java.lang.Exception
- Specified by:
visit
in interfaceModelActionVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelTreeAction.EntityCondition entityCondition) throws java.lang.Exception
- Specified by:
visit
in interfaceModelActionVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(AbstractModelAction.EntityOne entityOne) throws java.lang.Exception
- Specified by:
visit
in interfaceModelActionVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(AbstractModelAction.GetRelated getRelated) throws java.lang.Exception
- Specified by:
visit
in interfaceModelActionVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(AbstractModelAction.GetRelatedOne getRelatedOne) throws java.lang.Exception
- Specified by:
visit
in interfaceModelActionVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(AbstractModelAction.PropertyMap propertyMap) throws java.lang.Exception
- Specified by:
visit
in interfaceModelActionVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(AbstractModelAction.PropertyToField propertyToField) throws java.lang.Exception
- Specified by:
visit
in interfaceModelActionVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(AbstractModelAction.Script script) throws java.lang.Exception
- Specified by:
visit
in interfaceModelActionVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelTreeAction.Script script) throws java.lang.Exception
- Specified by:
visit
in interfaceModelActionVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(AbstractModelAction.Service service) throws java.lang.Exception
- Specified by:
visit
in interfaceModelActionVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelFormAction.Service service) throws java.lang.Exception
- Specified by:
visit
in interfaceModelActionVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelTreeAction.Service service) throws java.lang.Exception
- Specified by:
visit
in interfaceModelActionVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(AbstractModelAction.SetField setField) throws java.lang.Exception
- Specified by:
visit
in interfaceModelActionVisitor
- Throws:
java.lang.Exception
-
visit
public void visit(ModelMenuAction.SetField setField) throws java.lang.Exception
- Specified by:
visit
in interfaceModelActionVisitor
- Throws:
java.lang.Exception
-
-