|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.workplace.editors.CmsXmlContentWidgetVisitor
public class CmsXmlContentWidgetVisitor
Visitor implementation that collects the different widgets for all visited values and all widgets for the found values.
This implementation is needed when creating the html output of the xmlcontent editor
CmsXmlContentEditor.
| Constructor Summary | |
|---|---|
CmsXmlContentWidgetVisitor()
Creates a new widget collector node visitor. |
|
CmsXmlContentWidgetVisitor(java.util.Locale locale)
Creates a new widget collector node visitor. |
|
| Method Summary | |
|---|---|
java.util.Locale |
getLocale()
Returns the locale to get the widgets from. |
java.util.List<I_CmsWidget> |
getUniqueWidgets()
Returns the unique widgets that were found in the content. |
java.util.Map<java.lang.String,I_CmsXmlContentValue> |
getValues()
Returns all simple values that were found in the content. |
java.util.Map<java.lang.String,I_CmsWidget> |
getWidgets()
Returns all widgets that were found in the content. |
void |
visit(I_CmsXmlContentValue value)
Visits the given value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CmsXmlContentWidgetVisitor()
public CmsXmlContentWidgetVisitor(java.util.Locale locale)
locale - the Locale to get the widgets from| Method Detail |
|---|
public java.util.Locale getLocale()
public java.util.List<I_CmsWidget> getUniqueWidgets()
public java.util.Map<java.lang.String,I_CmsXmlContentValue> getValues()
The map key is the complete xpath of the value.
public java.util.Map<java.lang.String,I_CmsWidget> getWidgets()
The map key is the complete xpath of the corresponding value.
public void visit(I_CmsXmlContentValue value)
I_CmsXmlContentValueVisitor
visit in interface I_CmsXmlContentValueVisitorvalue - the value to visitI_CmsXmlContentValueVisitor.visit(org.opencms.xml.types.I_CmsXmlContentValue)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||