|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.ispsoft.jaxme.ComparatorFactory
A superclass for Comparator factories, as created by the ComparatorWriter.
Comparators are implementing the singleton pattern. Any concrete subclass has to implement a method like
public static ComparatorFactory getInstance();
Field Summary | |
protected java.util.Map |
comparators
Contains all comparators for the map. |
Constructor Summary | |
protected |
ComparatorFactory()
Creates a new instance of ComparatorFactory |
Method Summary | |
java.util.Comparator |
getAttributeComparator(java.lang.String pNamespaceUri,
java.lang.String pLocalName)
|
java.util.Comparator |
getElementComparator(java.lang.String pNamespaceUri,
java.lang.String pLocalName)
|
protected abstract void |
init()
Initializes the Map of comparators. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.Map comparators
Contains all comparators for the map.
Constructor Detail |
protected ComparatorFactory()
Method Detail |
protected abstract void init()
Initializes the Map of comparators.
public java.util.Comparator getAttributeComparator(java.lang.String pNamespaceUri, java.lang.String pLocalName)
public java.util.Comparator getElementComparator(java.lang.String pNamespaceUri, java.lang.String pLocalName)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |