Package org.apache.ofbiz.widget.model
Class XmlAbstractWidgetVisitor
java.lang.Object
org.apache.ofbiz.widget.model.XmlAbstractWidgetVisitor
- Direct Known Subclasses:
XmlWidgetActionVisitor
,XmlWidgetConditionVisitor
,XmlWidgetFieldVisitor
,XmlWidgetVisitor
Abstract XML widget visitor.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets writer.protected void
visitAttribute
(String attributeName, Boolean attributeValue) Visit attribute.protected void
visitAttribute
(String attributeName, Integer attributeValue) Visit attribute.protected void
visitAttribute
(String attributeName, String attributeValue) Visit attribute.protected void
visitAttribute
(String attributeName, FlexibleMapAccessor<?> attributeValue) Visit attribute.protected void
visitAttribute
(String attributeName, FlexibleStringExpander attributeValue) Visit attribute.protected void
visitAutoEntityParameters
(CommonWidgetModels.AutoEntityParameters autoEntityParameters) protected void
visitAutoServiceParameters
(CommonWidgetModels.AutoServiceParameters autoServiceParameters) protected void
Visit image.protected void
Visit link.protected void
Visit link attributes.protected void
visitModelWidget
(ModelWidget widget) Visit model widget.protected void
visitParameters
(Collection<CommonWidgetModels.Parameter> parameters) Visit parameters.
-
Constructor Details
-
XmlAbstractWidgetVisitor
-
-
Method Details
-
getWriter
Gets writer.- Returns:
- the writer
-
visitAttribute
Visit attribute.- Parameters:
attributeName
- the attribute nameattributeValue
- the attribute value- Throws:
Exception
- the exception
-
visitAttribute
protected void visitAttribute(String attributeName, FlexibleMapAccessor<?> attributeValue) throws Exception Visit attribute.- Parameters:
attributeName
- the attribute nameattributeValue
- the attribute value- Throws:
Exception
- the exception
-
visitAttribute
protected void visitAttribute(String attributeName, FlexibleStringExpander attributeValue) throws Exception Visit attribute.- Parameters:
attributeName
- the attribute nameattributeValue
- the attribute value- Throws:
Exception
- the exception
-
visitAttribute
Visit attribute.- Parameters:
attributeName
- the attribute nameattributeValue
- the attribute value- Throws:
Exception
- the exception
-
visitAttribute
Visit attribute.- Parameters:
attributeName
- the attribute nameattributeValue
- the attribute value- Throws:
Exception
- the exception
-
visitAutoEntityParameters
protected void visitAutoEntityParameters(CommonWidgetModels.AutoEntityParameters autoEntityParameters) throws Exception - Throws:
Exception
-
visitAutoServiceParameters
protected void visitAutoServiceParameters(CommonWidgetModels.AutoServiceParameters autoServiceParameters) throws Exception - Throws:
Exception
-
visitImage
Visit image.- Parameters:
image
- the image- Throws:
Exception
- the exception
-
visitLink
Visit link.- Parameters:
link
- the link- Throws:
Exception
- the exception
-
visitLinkAttributes
Visit link attributes.- Parameters:
link
- the link- Throws:
Exception
- the exception
-
visitModelWidget
Visit model widget.- Parameters:
widget
- the widget- Throws:
Exception
- the exception
-
visitParameters
protected void visitParameters(Collection<CommonWidgetModels.Parameter> parameters) throws Exception Visit parameters.- Parameters:
parameters
- the parameters- Throws:
Exception
- the exception
-