Liferay 6.1.2-ce-ga3

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

canJoinChildren

public boolean canJoinChildren(org.dom4j.Element element)

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

Liferay 6.1.2-ce-ga3