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 TypeMethodDescriptionbooleancanJoinChildren(org.dom4j.Element element) intcompare(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, waitMethods 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:
comparein interfaceComparator<org.dom4j.Element>- Overrides:
comparein classElementComparator
-