public static interface ContentHandler.Registry extends java.util.SortedMap<java.lang.Integer,java.util.List<ContentHandler>>
Modifier and Type | Field and Description |
---|---|
static int |
HIGH_PRIORITY
A constant indicating a high priority content handler.
|
static ContentHandler.Registry |
INSTANCE
The global static content handler registry instance.
|
static int |
LOW_PRIORITY
A constant indicating a low priority content handler.
|
static int |
NORMAL_PRIORITY
A constant indicating a normal priority content handler.
|
static int |
VERY_HIGH_PRIORITY
A constant indicating a very high priority content handler.
|
static int |
VERY_LOW_PRIORITY
A constant indicating a very low priority content handler.
|
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.
|
static final int VERY_HIGH_PRIORITY
static final int HIGH_PRIORITY
static final int NORMAL_PRIORITY
static final int LOW_PRIORITY
static final int VERY_LOW_PRIORITY
static final ContentHandler.Registry INSTANCE
void put(int priority, ContentHandler contentHandler)
priority
- the priority of the handler.contentHandler
- the new handler to add.java.util.List<ContentHandler> contentHandlers()