Class XMLElementComparator

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

public class XMLElementComparator extends ElementComparator
Author:
Jorge Ferrer
  • Constructor Details

    • XMLElementComparator

      public XMLElementComparator(XMLDescriptor descriptor)
  • 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 interface Comparator<org.dom4j.Element>
      Overrides:
      compare in class ElementComparator