public class ContentHandlerRegistryImpl extends java.util.TreeMap<java.lang.Integer,java.util.List<ContentHandler>> implements ContentHandler.Registry
HIGH_PRIORITY, INSTANCE, LOW_PRIORITY, NORMAL_PRIORITY, VERY_HIGH_PRIORITY, VERY_LOW_PRIORITY
Constructor and Description |
---|
ContentHandlerRegistryImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.List<ContentHandler> |
contentHandlers()
Returns a read only list of all the content handlers in the map in priority order.
|
void |
put(int priority,
ContentHandler contentHandler)
Adds an additional content handler with the given priority to the map.
|
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, size, subMap, subMap, tailMap, tailMap, values
finalize, getClass, notify, notifyAll, wait, wait, wait
public void put(int priority, ContentHandler contentHandler)
ContentHandler.Registry
put
in interface ContentHandler.Registry
priority
- the priority of the handler.contentHandler
- the new handler to add.public java.util.List<ContentHandler> contentHandlers()
ContentHandler.Registry
contentHandlers
in interface ContentHandler.Registry