info.magnolia.rendering.template.configured
Class ConfiguredInheritance.NodeDepthComparator
java.lang.Object
info.magnolia.rendering.template.configured.ConfiguredInheritance.NodeDepthComparator
- All Implemented Interfaces:
- Comparator<javax.jcr.Node>
- Enclosing class:
- ConfiguredInheritance
public static class ConfiguredInheritance.NodeDepthComparator
- extends Object
- implements Comparator<javax.jcr.Node>
Comparator for ordering nodes by depth placing nodes deeper in the hierarchy after those further up and ordering
nodes on the same level by the order they appear as siblings.
Method Summary |
int |
compare(javax.jcr.Node lhs,
javax.jcr.Node rhs)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfiguredInheritance.NodeDepthComparator
public ConfiguredInheritance.NodeDepthComparator()
compare
public int compare(javax.jcr.Node lhs,
javax.jcr.Node rhs)
- Specified by:
compare
in interface Comparator<javax.jcr.Node>
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.