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 inherited nodes first.
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-2012 Magnolia International Ltd.. All Rights Reserved.