edu.washington.biostr.sig.brainj3d.model
Class BrainInfoAtlasDecoder
java.lang.Object
edu.washington.biostr.sig.brainj3d.data.decoder.BasicXMLDecoder
edu.washington.biostr.sig.brainj3d.model.BrainInfoAtlasDecoder
- All Implemented Interfaces:
- Decoder
public class BrainInfoAtlasDecoder
- extends BasicXMLDecoder
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BrainInfoAtlasDecoder
public BrainInfoAtlasDecoder()
interpret
public Data interpret(Document document,
String directory,
FileGroup source)
- Interpret the document and return a new instance of LabelData. The
document must conform to the map.xml type.
- Specified by:
interpret in class BasicXMLDecoder
- Parameters:
document - The XML document to interpretdirectory - The directory where the data is loaded from. Currently ignored.
- Returns:
- A new LabelData that represents the information in this file.
parseArea
protected void parseArea(String directory,
Element element,
BrainInfoAtlasData bia)
throws BadDataFile,
IOException
- parse the Label tag and return a LabelClass
- Parameters:
element - att -
- Throws:
BadDataFile
IOException
getResultType
public Class<? extends Data> getResultType()
- Description copied from interface:
Decoder
- Return the class of the Data that will be returned by decode.
- Returns:
Copyright © 2006 University of Washington. All Rights Reserved.