Package org.apache.ofbiz.widget.model
Class XmlAbstractWidgetVisitor
- java.lang.Object
-
- org.apache.ofbiz.widget.model.XmlAbstractWidgetVisitor
-
- Direct Known Subclasses:
XmlWidgetActionVisitor
,XmlWidgetConditionVisitor
,XmlWidgetFieldVisitor
,XmlWidgetVisitor
public abstract class XmlAbstractWidgetVisitor extends java.lang.Object
Abstract XML widget visitor.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Appendable
writer
-
Constructor Summary
Constructors Constructor Description XmlAbstractWidgetVisitor(java.lang.Appendable writer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
visitAttribute(java.lang.String attributeName, java.lang.Boolean attributeValue)
protected void
visitAttribute(java.lang.String attributeName, java.lang.Integer attributeValue)
protected void
visitAttribute(java.lang.String attributeName, java.lang.String attributeValue)
protected void
visitAttribute(java.lang.String attributeName, FlexibleMapAccessor<?> attributeValue)
protected void
visitAttribute(java.lang.String attributeName, FlexibleStringExpander attributeValue)
protected void
visitAutoEntityParameters(CommonWidgetModels.AutoEntityParameters autoEntityParameters)
protected void
visitAutoServiceParameters(CommonWidgetModels.AutoServiceParameters autoServiceParameters)
protected void
visitImage(CommonWidgetModels.Image image)
protected void
visitLink(CommonWidgetModels.Link link)
protected void
visitLinkAttributes(CommonWidgetModels.Link link)
protected void
visitModelWidget(ModelWidget widget)
protected void
visitParameters(java.util.Collection<CommonWidgetModels.Parameter> parameters)
-
-
-
Method Detail
-
visitAttribute
protected void visitAttribute(java.lang.String attributeName, java.lang.Boolean attributeValue) throws java.lang.Exception
- Throws:
java.lang.Exception
-
visitAttribute
protected void visitAttribute(java.lang.String attributeName, FlexibleMapAccessor<?> attributeValue) throws java.lang.Exception
- Throws:
java.lang.Exception
-
visitAttribute
protected void visitAttribute(java.lang.String attributeName, FlexibleStringExpander attributeValue) throws java.lang.Exception
- Throws:
java.lang.Exception
-
visitAttribute
protected void visitAttribute(java.lang.String attributeName, java.lang.Integer attributeValue) throws java.lang.Exception
- Throws:
java.lang.Exception
-
visitAttribute
protected void visitAttribute(java.lang.String attributeName, java.lang.String attributeValue) throws java.lang.Exception
- Throws:
java.lang.Exception
-
visitAutoEntityParameters
protected void visitAutoEntityParameters(CommonWidgetModels.AutoEntityParameters autoEntityParameters) throws java.lang.Exception
- Throws:
java.lang.Exception
-
visitAutoServiceParameters
protected void visitAutoServiceParameters(CommonWidgetModels.AutoServiceParameters autoServiceParameters) throws java.lang.Exception
- Throws:
java.lang.Exception
-
visitImage
protected void visitImage(CommonWidgetModels.Image image) throws java.lang.Exception
- Throws:
java.lang.Exception
-
visitLink
protected void visitLink(CommonWidgetModels.Link link) throws java.lang.Exception
- Throws:
java.lang.Exception
-
visitLinkAttributes
protected void visitLinkAttributes(CommonWidgetModels.Link link) throws java.lang.Exception
- Throws:
java.lang.Exception
-
visitModelWidget
protected void visitModelWidget(ModelWidget widget) throws java.lang.Exception
- Throws:
java.lang.Exception
-
visitParameters
protected void visitParameters(java.util.Collection<CommonWidgetModels.Parameter> parameters) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-