Liferay 6.0.5

com.liferay.util.xml
Class XMLElementComparator

java.lang.Object
  extended by com.liferay.util.xml.ElementComparator
      extended by com.liferay.util.xml.XMLElementComparator
All Implemented Interfaces:
Comparator<org.dom4j.Element>

public class XMLElementComparator
extends ElementComparator


Constructor Summary
XMLElementComparator(XMLDescriptor descriptor)
           
 
Method Summary
 boolean 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
 

Constructor Detail

XMLElementComparator

public XMLElementComparator(XMLDescriptor descriptor)
Method Detail

compare

public int compare(org.dom4j.Element el1,
                   org.dom4j.Element el2)
Specified by:
compare in interface Comparator<org.dom4j.Element>
Overrides:
compare in class ElementComparator

canJoinChildren

public boolean canJoinChildren(org.dom4j.Element element)

Liferay 6.0.5