Package loci.formats.meta
Class OriginalMetadataAnnotation
java.lang.Object
ome.xml.model.AbstractOMEModelObject
ome.xml.model.Annotation
ome.xml.model.TextAnnotation
ome.xml.model.XMLAnnotation
loci.formats.meta.OriginalMetadataAnnotation
- All Implemented Interfaces:
ome.xml.model.OMEModelObject
public class OriginalMetadataAnnotation
extends ome.xml.model.XMLAnnotation
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final DocumentBuilderprivate Stringstatic final Stringprivate StringFields inherited from class ome.xml.model.XMLAnnotation
NAMESPACE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKey()Return just the value (i.e.protected ElementmakeOriginalMetadata(Document document) Create a DOM element for this annotation with the given document as the parent.voidsetKeyValue(String key, String value) Set the key/value metadata pair for this annotation.Methods inherited from class ome.xml.model.XMLAnnotation
asXMLElement, asXMLElement, getStructuredAnnotations, getValue, link, setStructuredAnnotations, setValue, updateMethods inherited from class ome.xml.model.Annotation
copyLinkedAnnotationList, copyLinkedChannelList, copyLinkedDatasetList, copyLinkedDetectorList, copyLinkedDichroicList, copyLinkedExperimenterGroupList, copyLinkedExperimenterList, copyLinkedFilterList, copyLinkedFolderList, copyLinkedImageList, copyLinkedInstrumentList, copyLinkedLightPathList, copyLinkedLightSourceList, copyLinkedObjectiveList, copyLinkedPlaneList, copyLinkedPlateAcquisitionList, copyLinkedPlateList, copyLinkedProjectList, copyLinkedReagentList, copyLinkedROIList, copyLinkedScreenList, copyLinkedShapeList, copyLinkedWellList, getAnnotator, getDescription, getID, getLinkedAnnotation, getLinkedChannel, getLinkedDataset, getLinkedDetector, getLinkedDichroic, getLinkedExperimenter, getLinkedExperimenterGroup, getLinkedFilter, getLinkedFolder, getLinkedImage, getLinkedInstrument, getLinkedLightPath, getLinkedLightSource, getLinkedObjective, getLinkedPlane, getLinkedPlate, getLinkedPlateAcquisition, getLinkedProject, getLinkedReagent, getLinkedROI, getLinkedScreen, getLinkedShape, getLinkedWell, getNamespace, linkAnnotation, linkChannel, linkDataset, linkDetector, linkDichroic, linkExperimenter, linkExperimenterGroup, linkFilter, linkFolder, linkImage, linkInstrument, linkLightPath, linkLightSource, linkObjective, linkPlane, linkPlate, linkPlateAcquisition, linkProject, linkReagent, linkROI, linkScreen, linkShape, linkWell, setAnnotator, setDescription, setID, setLinkedAnnotation, setLinkedChannel, setLinkedDataset, setLinkedDetector, setLinkedDichroic, setLinkedExperimenter, setLinkedExperimenterGroup, setLinkedFilter, setLinkedFolder, setLinkedImage, setLinkedInstrument, setLinkedLightPath, setLinkedLightSource, setLinkedObjective, setLinkedPlane, setLinkedPlate, setLinkedPlateAcquisition, setLinkedProject, setLinkedReagent, setLinkedROI, setLinkedScreen, setLinkedShape, setLinkedWell, setNamespace, sizeOfLinkedAnnotationList, sizeOfLinkedChannelList, sizeOfLinkedDatasetList, sizeOfLinkedDetectorList, sizeOfLinkedDichroicList, sizeOfLinkedExperimenterGroupList, sizeOfLinkedExperimenterList, sizeOfLinkedFilterList, sizeOfLinkedFolderList, sizeOfLinkedImageList, sizeOfLinkedInstrumentList, sizeOfLinkedLightPathList, sizeOfLinkedLightSourceList, sizeOfLinkedObjectiveList, sizeOfLinkedPlaneList, sizeOfLinkedPlateAcquisitionList, sizeOfLinkedPlateList, sizeOfLinkedProjectList, sizeOfLinkedReagentList, sizeOfLinkedROIList, sizeOfLinkedScreenList, sizeOfLinkedShapeList, sizeOfLinkedWellList, unlinkAnnotation, unlinkChannel, unlinkDataset, unlinkDetector, unlinkDichroic, unlinkExperimenter, unlinkExperimenterGroup, unlinkFilter, unlinkFolder, unlinkImage, unlinkInstrument, unlinkLightPath, unlinkLightSource, unlinkObjective, unlinkPlane, unlinkPlate, unlinkPlateAcquisition, unlinkProject, unlinkReagent, unlinkROI, unlinkScreen, unlinkShape, unlinkWellMethods inherited from class ome.xml.model.AbstractOMEModelObject
getChildrenByTagName, stripNamespacePrefix
-
Field Details
-
ORIGINAL_METADATA_NS
-
BUILDER
-
key
-
value
-
-
Constructor Details
-
OriginalMetadataAnnotation
public OriginalMetadataAnnotation()
-
-
Method Details
-
setKeyValue
Set the key/value metadata pair for this annotation.- Parameters:
key- the original metadata keyvalue- the original metadata value
-
getKey
- Returns:
- the original metadata key
-
getValueForKey
Return just the value (i.e. v in k=v) as opposed to the XML value which contains the entire block (e.g. <originalmetadata>...) -
makeOriginalMetadata
Create a DOM element for this annotation with the given document as the parent.- Parameters:
document- the parent document for this annotation- Returns:
- the DOM element corresponding to this annotation
-