com.sun.xml.wss.impl.c14n
Class AttrSorter

java.lang.Object
  extended by com.sun.xml.wss.impl.c14n.AttrSorter
All Implemented Interfaces:
Comparator
Direct Known Subclasses:
StAXAttrSorter

public class AttrSorter
extends Object
implements Comparator

Author:
K.Venugopal@sun.com

Constructor Summary
AttrSorter(boolean namespaceSort)
          Creates a new instance of AttrSorter
 
Method Summary
 int compare(Object o1, Object o2)
           
protected  int sortAttributes(Object object, Object object0)
           
protected  int sortNamespaces(Object object, Object object0)
           
 
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

AttrSorter

public AttrSorter(boolean namespaceSort)
Creates a new instance of AttrSorter

Method Detail

compare

public int compare(Object o1,
                   Object o2)
Specified by:
compare in interface Comparator

sortAttributes

protected int sortAttributes(Object object,
                             Object object0)

sortNamespaces

protected int sortNamespaces(Object object,
                             Object object0)


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.