public interface HierarchyNodeExporter extends ComponentExporter
This interface is aimed at being implemented by Sling Model classes that should provide a JSON export for a hierarchical node and its children.
NOTE: Getter methods' names are all prefixed to avoid name conflicts with methods from the implementation class.
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,? extends HierarchyNodeExporter> |
getExportedChildren()
Returns the map of all exported children
HierarchyNodeExporter of the current node |
java.lang.String |
getExportedHierarchyType()
Hierarchical type of the exported item
|
java.lang.String |
getExportedPath()
Returns the path of the current object
|
getExportedType
java.lang.String getExportedHierarchyType()
java.lang.String getExportedPath()
java.util.Map<java.lang.String,? extends HierarchyNodeExporter> getExportedChildren()
Returns the map of all exported children HierarchyNodeExporter
of the current node
Note: the field is added to the exported model when the map contains entries
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"