NASA World Wind

gov.nasa.worldwind.data
Class WWDotNetLayerSetReader

java.lang.Object
  extended by gov.nasa.worldwind.data.AbstractDataDescriptorReader
      extended by gov.nasa.worldwind.data.WWDotNetLayerSetReader
All Implemented Interfaces:
DataDescriptorReader

public class WWDotNetLayerSetReader
extends AbstractDataDescriptorReader


Field Summary
static String MIME_TYPE
           
 
Constructor Summary
WWDotNetLayerSetReader()
           
 
Method Summary
protected  boolean doCanRead(Object src)
           
protected  boolean doCanReadStream(Reader reader)
           
protected  DataDescriptor doRead(Reader reader)
           
 String getMimeType()
           
 boolean matchesMimeType(String mimeType)
           
protected  void parseLayerSet(Node layerSetNode, DataDescriptor descriptor)
           
protected  void readInputStream(Reader reader, DataDescriptor descriptor)
           
 String toString()
           
 
Methods inherited from class gov.nasa.worldwind.data.AbstractDataDescriptorReader
canRead, getSource, openReader, read, setSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MIME_TYPE

public static final String MIME_TYPE
See Also:
Constant Field Values
Constructor Detail

WWDotNetLayerSetReader

public WWDotNetLayerSetReader()
Method Detail

doCanRead

protected boolean doCanRead(Object src)
                     throws IOException
Overrides:
doCanRead in class AbstractDataDescriptorReader
Throws:
IOException

doCanReadStream

protected boolean doCanReadStream(Reader reader)
                           throws IOException
Specified by:
doCanReadStream in class AbstractDataDescriptorReader
Throws:
IOException

doRead

protected DataDescriptor doRead(Reader reader)
                         throws IOException
Specified by:
doRead in class AbstractDataDescriptorReader
Throws:
IOException

getMimeType

public String getMimeType()

matchesMimeType

public boolean matchesMimeType(String mimeType)

parseLayerSet

protected void parseLayerSet(Node layerSetNode,
                             DataDescriptor descriptor)
                      throws IOException
Throws:
IOException

readInputStream

protected void readInputStream(Reader reader,
                               DataDescriptor descriptor)
                        throws IOException
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Object

NASA World Wind