org.codehaus.mojo.javancss
Class NumericNodeComparator

java.lang.Object
  extended by org.codehaus.mojo.javancss.NumericNodeComparator
All Implemented Interfaces:
Comparator

public class NumericNodeComparator
extends Object
implements Comparator

Comparator for numeric xml node tag.

Version:
$Id: NumericNodeComparator.java 9906 2009-06-02 15:04:27Z jeanlaurent $
Author:
Jean-Laurent de Morlhon

Constructor Summary
NumericNodeComparator(String property)
          The numeric node tag property to used by this comparator.
 
Method Summary
 int compare(Object object1, Object object2)
          
 
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

NumericNodeComparator

public NumericNodeComparator(String property)
The numeric node tag property to used by this comparator.

Parameters:
property - the tag property used by this comparator.
Method Detail

compare

public int compare(Object object1,
                   Object object2)

Specified by:
compare in interface Comparator


Copyright © 2005-2011 Codehaus. All Rights Reserved.