gov.nasa.worldwind.util.xml
Class XMLEventParserContextFactory.ParserTableEntry
java.lang.Object
gov.nasa.worldwind.util.xml.XMLEventParserContextFactory.ParserTableEntry
- Enclosing class:
- XMLEventParserContextFactory
protected static class XMLEventParserContextFactory.ParserTableEntry
- extends Object
Holds the mime types and the associated prototype parser.
|
Field Summary |
protected List<String> |
mimeTypes
The mime types for which the associated parser should be used. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mimeTypes
protected List<String> mimeTypes
- The mime types for which the associated parser should be used.
XMLEventParserContextFactory.ParserTableEntry
public XMLEventParserContextFactory.ParserTableEntry(String[] mimeTypes,
XMLEventParserContext prototypeContext)
- Construct an instance for a specified list of mime types and a specified prototype parser.
- Parameters:
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.
- Throws:
IllegalArgumentException - if the mime type list is null or empty or the prototype context is null or
has no copy constructor.