Package com.liferay.util.xml
Class XMLElementComparator
Object
com.liferay.util.xml.ElementComparator
com.liferay.util.xml.XMLElementComparator
- All Implemented Interfaces:
Comparator<org.dom4j.Element>
- Author:
- Jorge Ferrer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
canJoinChildren
(org.dom4j.Element element) int
compare
(org.dom4j.Element el1, org.dom4j.Element el2) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
XMLElementComparator
-
-
Method Details
-
canJoinChildren
public boolean canJoinChildren(org.dom4j.Element element) -
compare
public int compare(org.dom4j.Element el1, org.dom4j.Element el2) - Specified by:
compare
in interfaceComparator<org.dom4j.Element>
- Overrides:
compare
in classElementComparator
-