uk.ac.ebi.jmzidml.xml.jaxb.unmarshaller.listeners
Class RawXMLListener

java.lang.Object
  extended by javax.xml.bind.Unmarshaller.Listener
      extended by uk.ac.ebi.jmzidml.xml.jaxb.unmarshaller.listeners.RawXMLListener

public class RawXMLListener
extends javax.xml.bind.Unmarshaller.Listener

Listener to handle class specific post processing steps during unmarshalling. Dependent on the type of object we are dealing with (e.g. if it has only one or more CvParam, if it has one or more Param, which in turn can be either CvParam or UserParam) it will split the Param into CvParam and UserParam and subclass those. This is partial for convenience on the API level, but mainly for convenience on the data persistence level (since objects are persisted to tables according to there classes).

Since:
0.1
Author:
Florian Reisinger Date: 21-Sep-2010

Constructor Summary
RawXMLListener(MzIdentMLIndexer index, MzIdentMLObjectCache cache)
           
 
Method Summary
 void afterUnmarshal(Object target, Object parent)
           
 
Methods inherited from class javax.xml.bind.Unmarshaller.Listener
beforeUnmarshal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RawXMLListener

public RawXMLListener(MzIdentMLIndexer index,
                      MzIdentMLObjectCache cache)
Method Detail

afterUnmarshal

public void afterUnmarshal(Object target,
                           Object parent)
Overrides:
afterUnmarshal in class javax.xml.bind.Unmarshaller.Listener


Copyright © 2012. All Rights Reserved.