com.sun.xml.wss.impl.c14n
Class AttrSorter
java.lang.Object
com.sun.xml.wss.impl.c14n.AttrSorter
- All Implemented Interfaces:
- java.util.Comparator
- Direct Known Subclasses:
- StAXAttrSorter
public class AttrSorter
- extends java.lang.Object
- implements java.util.Comparator
- Author:
- K.Venugopal@sun.com
|
Constructor Summary |
AttrSorter(boolean namespaceSort)
Creates a new instance of AttrSorter |
|
Method Summary |
int |
compare(java.lang.Object o1,
java.lang.Object o2)
|
protected int |
sortAttributes(java.lang.Object object,
java.lang.Object object0)
|
protected int |
sortNamespaces(java.lang.Object object,
java.lang.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 |
AttrSorter
public AttrSorter(boolean namespaceSort)
- Creates a new instance of AttrSorter
compare
public int compare(java.lang.Object o1,
java.lang.Object o2)
- Specified by:
compare in interface java.util.Comparator
sortAttributes
protected int sortAttributes(java.lang.Object object,
java.lang.Object object0)
sortNamespaces
protected int sortNamespaces(java.lang.Object object,
java.lang.Object object0)
Copyright © 2005-2011 Oracle Corporation. All Rights Reserved.