public class StructuredAnnotations extends AbstractOMEModelObject
| Modifier and Type | Field and Description |
|---|---|
private List<BooleanAnnotation> |
booleanAnnotations |
private List<CommentAnnotation> |
commentAnnotations |
private List<DoubleAnnotation> |
doubleAnnotations |
private List<FileAnnotation> |
fileAnnotations |
private List<ListAnnotation> |
listAnnotations |
private static org.slf4j.Logger |
LOGGER
Logger for this class.
|
private List<LongAnnotation> |
longAnnotations |
private List<MapAnnotation> |
mapAnnotations |
static String |
NAMESPACE |
private List<TagAnnotation> |
tagAnnotations |
private List<TermAnnotation> |
termAnnotations |
private List<TimestampAnnotation> |
timestampAnnotations |
private List<XMLAnnotation> |
xmlAnnotations |
| Constructor and Description |
|---|
StructuredAnnotations()
Default constructor.
|
StructuredAnnotations(Element element,
OMEModel model)
Constructs StructuredAnnotations recursively from an XML DOM tree.
|
StructuredAnnotations(StructuredAnnotations orig)
Copy constructor.
|
getChildrenByTagName, stripNamespacePrefixpublic static final String NAMESPACE
private static final org.slf4j.Logger LOGGER
private List<XMLAnnotation> xmlAnnotations
private List<FileAnnotation> fileAnnotations
private List<ListAnnotation> listAnnotations
private List<LongAnnotation> longAnnotations
private List<DoubleAnnotation> doubleAnnotations
private List<CommentAnnotation> commentAnnotations
private List<BooleanAnnotation> booleanAnnotations
private List<TimestampAnnotation> timestampAnnotations
private List<TagAnnotation> tagAnnotations
private List<TermAnnotation> termAnnotations
private List<MapAnnotation> mapAnnotations
public StructuredAnnotations()
public StructuredAnnotations(Element element, OMEModel model) throws EnumerationException
element - Root of the XML DOM tree to construct a model object
graph from.model - Handler for the OME model which keeps track of instances
and references seen during object population.EnumerationException - If there is an error instantiating an
enumeration during model object creation.public StructuredAnnotations(StructuredAnnotations orig)
public void update(Element element, OMEModel model) throws EnumerationException
update in interface OMEModelObjectupdate in class AbstractOMEModelObjectelement - Root of the XML DOM tree to construct a model object
graph from.model - Handler for the OME model which keeps track of instances
and references seen during object population.EnumerationException - If there is an error instantiating an
enumeration during model object creation.public boolean link(Reference reference, OMEModelObject o)
OMEModelObjectlink in interface OMEModelObjectlink in class AbstractOMEModelObjectreference - The type qualifier for the reference. This should
be the corresponding reference type for o. If, for example,
o is of type Image, reference
MUST be of type ImageRef.o - Model object to link to.true if this model object was able to handle the
reference, false otherwise.public int sizeOfXMLAnnotationList()
public List<XMLAnnotation> copyXMLAnnotationList()
public XMLAnnotation getXMLAnnotation(int index)
public XMLAnnotation setXMLAnnotation(int index, XMLAnnotation xmlAnnotation)
public void addXMLAnnotation(XMLAnnotation xmlAnnotation)
public void removeXMLAnnotation(XMLAnnotation xmlAnnotation)
public int sizeOfFileAnnotationList()
public List<FileAnnotation> copyFileAnnotationList()
public FileAnnotation getFileAnnotation(int index)
public FileAnnotation setFileAnnotation(int index, FileAnnotation fileAnnotation)
public void addFileAnnotation(FileAnnotation fileAnnotation)
public void removeFileAnnotation(FileAnnotation fileAnnotation)
public int sizeOfListAnnotationList()
public List<ListAnnotation> copyListAnnotationList()
public ListAnnotation getListAnnotation(int index)
public ListAnnotation setListAnnotation(int index, ListAnnotation listAnnotation)
public void addListAnnotation(ListAnnotation listAnnotation)
public void removeListAnnotation(ListAnnotation listAnnotation)
public int sizeOfLongAnnotationList()
public List<LongAnnotation> copyLongAnnotationList()
public LongAnnotation getLongAnnotation(int index)
public LongAnnotation setLongAnnotation(int index, LongAnnotation longAnnotation)
public void addLongAnnotation(LongAnnotation longAnnotation)
public void removeLongAnnotation(LongAnnotation longAnnotation)
public int sizeOfDoubleAnnotationList()
public List<DoubleAnnotation> copyDoubleAnnotationList()
public DoubleAnnotation getDoubleAnnotation(int index)
public DoubleAnnotation setDoubleAnnotation(int index, DoubleAnnotation doubleAnnotation)
public void addDoubleAnnotation(DoubleAnnotation doubleAnnotation)
public void removeDoubleAnnotation(DoubleAnnotation doubleAnnotation)
public int sizeOfCommentAnnotationList()
public List<CommentAnnotation> copyCommentAnnotationList()
public CommentAnnotation getCommentAnnotation(int index)
public CommentAnnotation setCommentAnnotation(int index, CommentAnnotation commentAnnotation)
public void addCommentAnnotation(CommentAnnotation commentAnnotation)
public void removeCommentAnnotation(CommentAnnotation commentAnnotation)
public int sizeOfBooleanAnnotationList()
public List<BooleanAnnotation> copyBooleanAnnotationList()
public BooleanAnnotation getBooleanAnnotation(int index)
public BooleanAnnotation setBooleanAnnotation(int index, BooleanAnnotation booleanAnnotation)
public void addBooleanAnnotation(BooleanAnnotation booleanAnnotation)
public void removeBooleanAnnotation(BooleanAnnotation booleanAnnotation)
public int sizeOfTimestampAnnotationList()
public List<TimestampAnnotation> copyTimestampAnnotationList()
public TimestampAnnotation getTimestampAnnotation(int index)
public TimestampAnnotation setTimestampAnnotation(int index, TimestampAnnotation timestampAnnotation)
public void addTimestampAnnotation(TimestampAnnotation timestampAnnotation)
public void removeTimestampAnnotation(TimestampAnnotation timestampAnnotation)
public int sizeOfTagAnnotationList()
public List<TagAnnotation> copyTagAnnotationList()
public TagAnnotation getTagAnnotation(int index)
public TagAnnotation setTagAnnotation(int index, TagAnnotation tagAnnotation)
public void addTagAnnotation(TagAnnotation tagAnnotation)
public void removeTagAnnotation(TagAnnotation tagAnnotation)
public int sizeOfTermAnnotationList()
public List<TermAnnotation> copyTermAnnotationList()
public TermAnnotation getTermAnnotation(int index)
public TermAnnotation setTermAnnotation(int index, TermAnnotation termAnnotation)
public void addTermAnnotation(TermAnnotation termAnnotation)
public void removeTermAnnotation(TermAnnotation termAnnotation)
public int sizeOfMapAnnotationList()
public List<MapAnnotation> copyMapAnnotationList()
public MapAnnotation getMapAnnotation(int index)
public MapAnnotation setMapAnnotation(int index, MapAnnotation mapAnnotation)
public void addMapAnnotation(MapAnnotation mapAnnotation)
public void removeMapAnnotation(MapAnnotation mapAnnotation)
public Element asXMLElement(Document document)
OMEModelObjectasXMLElement in interface OMEModelObjectasXMLElement in class AbstractOMEModelObjectdocument - Destination document for element creation, etc.protected Element asXMLElement(Document document, Element StructuredAnnotations_element)
AbstractOMEModelObjectasXMLElement in class AbstractOMEModelObjectdocument - Destination document for element creation, etc.StructuredAnnotations_element - Element from the subclass. If null a new
element will be created of this class.element populated with properties from this class.Copyright © 2016 Open Microscopy Environment