uk.ac.ebi.jmzidml.xml.jaxb.adapters
Class AbstractResolvingAdapter<ValueType,BoundType>
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<ValueType,BoundType>
uk.ac.ebi.jmzidml.xml.jaxb.adapters.AbstractResolvingAdapter<ValueType,BoundType>
- Direct Known Subclasses:
- AnalysisSoftwareAdapter, CvAdapter, DBSequenceAdapter, MassTableAdapter, MeasureAdapter, OrganizationAdapter, PeptideAdapter, PeptideEvidenceAdapter, ProteinDetectionListAdapter, ProteinDetectionProtocolAdapter, SampleAdapter, SearchDatabaseAdapter, SpectraDataAdapter, SpectrumIdentificationListAdapter, SpectrumIdentificationProtocolAdapter, TranslationTableAdapter
public abstract class AbstractResolvingAdapter<ValueType,BoundType>
- extends javax.xml.bind.annotation.adapters.XmlAdapter<ValueType,BoundType>
Methods inherited from class javax.xml.bind.annotation.adapters.XmlAdapter |
marshal, unmarshal |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static final org.apache.log4j.Logger logger
index
protected MzIdentMLIndexer index
cache
protected AdapterObjectCache cache
useSpectrumCache
protected boolean useSpectrumCache
AbstractResolvingAdapter
protected AbstractResolvingAdapter(MzIdentMLIndexer index,
AdapterObjectCache cache)
- the presence of a constructor forces all subclasses to provide a valid indexer
for reference resolving. This will also prevent jaxb from using the no-argument
constructor versions of these Adapters.
- Parameters:
index
-
AbstractResolvingAdapter
protected AbstractResolvingAdapter(MzIdentMLIndexer index,
AdapterObjectCache cache,
boolean aUseSpectrumCache)
unmarshal
public <BoundType> BoundType unmarshal(String refId,
Constants.ReferencedType refType)
Copyright © 2012. All Rights Reserved.