public static final class Inspector.NodeValueFormatter extends Inspector.AbstractValueFormatter<javax.jcr.Node>
Node
type description.
Both sub-nodes and properties of the corresponding node are returned as children.
Properties are sorted alphabetically, properties prefixed with mgnl:
and jcr:
are sorted at the end.
Constructor and Description |
---|
NodeValueFormatter() |
Modifier and Type | Method and Description |
---|---|
boolean |
canHandle(Class<?> type) |
Map<String,Object> |
getChildren() |
String |
getDescription() |
String |
getName() |
String |
getValueAsString() |
boolean |
hasChildren() |
getValue, setValue
public String getValueAsString()
public String getName()
getName
in interface ValueFormatter<javax.jcr.Node>
getName
in class Inspector.AbstractValueFormatter<javax.jcr.Node>
public String getDescription()
public boolean hasChildren()
public boolean canHandle(Class<?> type)
Copyright © 2003–2020 Magnolia International Ltd.. All rights reserved.