protected static class XMLEventParserContextFactory.ParserTableEntry extends Object
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
mimeTypes
The mime types for which the associated parser should be used.
|
| Constructor and Description |
|---|
ParserTableEntry(String[] mimeTypes,
XMLEventParserContext prototypeContext)
Construct an instance for a specified list of mime types and a specified prototype parser.
|
public ParserTableEntry(String[] mimeTypes, XMLEventParserContext prototypeContext)
mimeTypes - the list of mime types for which to use the specified prototype parser context.prototypeContext - the prototype parser context to use for the specified mime types. This parser
context's class must provide a copy constructor, a constructor that takes an instance
of its class as its only argument.IllegalArgumentException - if the mime type list is null or empty or the prototype context is null or
has no copy constructor.