uk.ac.ed.morphml_handler
Class MorphMLHandler
java.lang.Object
javax.xml.bind.JAXBContext
org.virtualratbrain.namespace.impl.runtime.DefaultJAXBContextImpl
org.virtualratbrain.namespace.ObjectFactory
uk.ac.ed.morphml_handler.MorphMLHandler
public class MorphMLHandler
- extends org.virtualratbrain.namespace.ObjectFactory
Fields inherited from class org.virtualratbrain.namespace.ObjectFactory |
grammarInfo, version |
Method Summary |
void |
addMorphMLHandlerListener(MorphMLHandler.MorphMLHandlerListener listener)
|
void |
addMorphologyList(MorphologyList morphology_list)
|
protected void |
fireMorphologListRemoved(MorphologyList morphology_list)
|
protected void |
fireMorphologyListAdded(MorphologyList morphology_list)
|
static AccustageHandler |
getAccustageHandler()
|
static DatabaseHandler |
getDatabaseHandler()
|
static FileFilter |
getFileFilter()
|
static MorphMLHandler |
getMorphMLHandler()
|
MorphologyList[] |
getMorphologyLists()
|
static NeurolucidaHandler |
getNeurolucidaHandler()
|
protected void |
initJAXBContext()
|
static boolean |
isMorphmlFile(File file)
|
static boolean |
isMorphmlFileName(String file_name)
|
AffineWarpDataStructure |
newAffineWarpData()
|
AffineWarpPoint |
newAffineWarpPoint(int id)
|
Cell |
newCell(String name)
|
org.virtualratbrain.namespace.CellBody |
newCellBody()
|
Feature |
newFeature(String name)
|
org.virtualratbrain.namespace.FreePoints |
newFreePoints()
|
Morphology |
newMorphology()
|
MorphologyData |
newMorphologyData()
|
MorphologyList |
newMorphologyList()
|
org.virtualratbrain.namespace.Point |
newPoint(int id,
double x,
double y,
double z,
double diam)
|
org.virtualratbrain.namespace.Point |
newPoint(org.virtualratbrain.namespace.Point point)
|
org.virtualratbrain.namespace.Polygon |
newPolygon()
|
Properties |
newProperties()
|
org.virtualratbrain.namespace.Property |
newProperty(String name,
String value)
|
org.virtualratbrain.namespace.Segment |
newSegment(int segment_id,
int proximal_point_id,
int distal_point_id)
|
org.virtualratbrain.namespace.Segment |
newSegment(int segment_id,
int proximal_point_id,
int distal_point_id,
int parent_segment_id)
|
org.virtualratbrain.namespace.Segment |
newSegment(int segment_id,
int proximal_point_id,
int distal_point_id,
int parent_segment_id,
String group_name)
|
org.virtualratbrain.namespace.Segment |
newSegment(int segment_id,
int proximal_point_id,
int distal_point_id,
String group_name)
|
org.virtualratbrain.namespace.Segment |
newSegment(org.virtualratbrain.namespace.Segment segment)
|
static Morphology |
openAccustageURI(URI uri)
|
static MorphologyData |
openMorphologyDateURI(URI uri)
|
static MorphologyList |
openMorphologyListURI(URI uri)
|
static Morphology |
openMorphologyURI(URI uri)
|
static Morphology |
openNeurolucidaURI(URI uri)
|
protected MorphMLEntity |
readMorphMLStream(InputStream stream)
|
void |
removeMorphMLHandlerListener(MorphMLHandler.MorphMLHandlerListener listener)
|
void |
removeMorphologyList(MorphologyList morphology_list)
|
static void |
saveMorphology(Morphology morphology)
|
static void |
saveMorphologyData(MorphologyData morphology_data)
|
static void |
saveMorphologyList(MorphologyList morphology_list)
|
static File |
selectFileToOpen()
|
static File |
selectFileToSave()
|
protected void |
writeMorphMLStream(MorphMLEntity entity,
OutputStream stream)
|
Methods inherited from class org.virtualratbrain.namespace.ObjectFactory |
createAffineWarpData, createAffineWarpDataStructure, createAffineWarpPoint, createCell, createCellBody, createCellSegmentsType, createCellSpinesType, createDendritic, createFeature, createFreePoints, createManifold, createMorphology, createMorphologyCellsType, createMorphologyData, createMorphologyFeaturesType, createMorphologyList, createMorphologyPointsType, createPath, createPoint, createPointIds, createPolygon, createPolyhedron, createPolyhedronPolygonsType, createProperties, createProperty, createRootMorphology, createRootMorphologyData, createRootMorphologyList, createSegment, createSphere, createSpine, createWarpData, createWarpDataStructure, getProperty, newInstance, setProperty |
Methods inherited from class org.virtualratbrain.namespace.impl.runtime.DefaultJAXBContextImpl |
createMarshaller, createUnmarshaller, createValidator, getGrammar, getGrammarInfo |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
xml
public static final String xml
- See Also:
- Constant Field Values
morphml
public static final String morphml
- See Also:
- Constant Field Values
handler
protected static MorphMLHandler handler
database_handler
protected static DatabaseHandler database_handler
neurolucida_handler
protected static NeurolucidaHandler neurolucida_handler
accustage_handler
protected static AccustageHandler accustage_handler
open_file_chooser
protected static JFileChooser open_file_chooser
savefile_chooser
protected static JFileChooser savefile_chooser
jc
protected JAXBContext jc
morphology_lists
protected ArrayList morphology_lists
morphml_handler_listeners
protected ArrayList morphml_handler_listeners
MorphMLHandler
protected MorphMLHandler()
isMorphmlFile
public static boolean isMorphmlFile(File file)
isMorphmlFileName
public static boolean isMorphmlFileName(String file_name)
selectFileToOpen
public static File selectFileToOpen()
selectFileToSave
public static File selectFileToSave()
getFileFilter
public static FileFilter getFileFilter()
openMorphologyURI
public static Morphology openMorphologyURI(URI uri)
openNeurolucidaURI
public static Morphology openNeurolucidaURI(URI uri)
openAccustageURI
public static Morphology openAccustageURI(URI uri)
openMorphologyListURI
public static MorphologyList openMorphologyListURI(URI uri)
openMorphologyDateURI
public static MorphologyData openMorphologyDateURI(URI uri)
saveMorphology
public static void saveMorphology(Morphology morphology)
saveMorphologyData
public static void saveMorphologyData(MorphologyData morphology_data)
saveMorphologyList
public static void saveMorphologyList(MorphologyList morphology_list)
getMorphMLHandler
public static MorphMLHandler getMorphMLHandler()
getDatabaseHandler
public static DatabaseHandler getDatabaseHandler()
getNeurolucidaHandler
public static NeurolucidaHandler getNeurolucidaHandler()
getAccustageHandler
public static AccustageHandler getAccustageHandler()
newMorphologyList
public MorphologyList newMorphologyList()
newMorphologyData
public MorphologyData newMorphologyData()
newAffineWarpData
public AffineWarpDataStructure newAffineWarpData()
newAffineWarpPoint
public AffineWarpPoint newAffineWarpPoint(int id)
addMorphologyList
public void addMorphologyList(MorphologyList morphology_list)
removeMorphologyList
public void removeMorphologyList(MorphologyList morphology_list)
getMorphologyLists
public MorphologyList[] getMorphologyLists()
addMorphMLHandlerListener
public void addMorphMLHandlerListener(MorphMLHandler.MorphMLHandlerListener listener)
removeMorphMLHandlerListener
public void removeMorphMLHandlerListener(MorphMLHandler.MorphMLHandlerListener listener)
readMorphMLStream
protected MorphMLEntity readMorphMLStream(InputStream stream)
writeMorphMLStream
protected void writeMorphMLStream(MorphMLEntity entity,
OutputStream stream)
fireMorphologyListAdded
protected void fireMorphologyListAdded(MorphologyList morphology_list)
fireMorphologListRemoved
protected void fireMorphologListRemoved(MorphologyList morphology_list)
newMorphology
public Morphology newMorphology()
newProperty
public org.virtualratbrain.namespace.Property newProperty(String name,
String value)
newCell
public Cell newCell(String name)
newPoint
public org.virtualratbrain.namespace.Point newPoint(org.virtualratbrain.namespace.Point point)
newPoint
public org.virtualratbrain.namespace.Point newPoint(int id,
double x,
double y,
double z,
double diam)
newFeature
public Feature newFeature(String name)
newProperties
public Properties newProperties()
newPolygon
public org.virtualratbrain.namespace.Polygon newPolygon()
newFreePoints
public org.virtualratbrain.namespace.FreePoints newFreePoints()
newCellBody
public org.virtualratbrain.namespace.CellBody newCellBody()
newSegment
public org.virtualratbrain.namespace.Segment newSegment(org.virtualratbrain.namespace.Segment segment)
newSegment
public org.virtualratbrain.namespace.Segment newSegment(int segment_id,
int proximal_point_id,
int distal_point_id,
int parent_segment_id,
String group_name)
newSegment
public org.virtualratbrain.namespace.Segment newSegment(int segment_id,
int proximal_point_id,
int distal_point_id,
int parent_segment_id)
newSegment
public org.virtualratbrain.namespace.Segment newSegment(int segment_id,
int proximal_point_id,
int distal_point_id,
String group_name)
newSegment
public org.virtualratbrain.namespace.Segment newSegment(int segment_id,
int proximal_point_id,
int distal_point_id)
initJAXBContext
protected void initJAXBContext()