protected static class XMLEventParserContextFactory.ParserTableEntry
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.List<java.lang.String> |
mimeTypes
The mime types for which the associated parser should be used.
|
Constructor and Description |
---|
ParserTableEntry(java.lang.String[] mimeTypes,
XMLEventParserContext prototypeContext)
Construct an instance for a specified list of mime types and a specified prototype parser.
|
protected java.util.List<java.lang.String> mimeTypes
public ParserTableEntry(java.lang.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.java.lang.IllegalArgumentException
- if the mime type list is null or empty or the prototype context is null or
has no copy constructor.