NASA World Wind

gov.nasa.worldwind.util.xml
Class XMLEventParserContextFactory.ParserTableEntry

java.lang.Object
  extended by 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.
 
Constructor Summary
XMLEventParserContextFactory.ParserTableEntry(String[] mimeTypes, XMLEventParserContext prototypeContext)
          Construct an instance for a specified list of mime types and a specified prototype parser.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mimeTypes

protected List<String> mimeTypes
The mime types for which the associated parser should be used.

Constructor Detail

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.

NASA World Wind