public class StructuredAnnotations extends AbstractOMEModelObject
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAMESPACE |
Constructor and Description |
---|
StructuredAnnotations()
Default constructor.
|
StructuredAnnotations(org.w3c.dom.Element element,
OMEModel model)
Constructs StructuredAnnotations recursively from an XML DOM tree.
|
StructuredAnnotations(StructuredAnnotations orig)
Copy constructor.
|
getChildrenByTagName, stripNamespacePrefix
public static final java.lang.String NAMESPACE
public StructuredAnnotations()
public StructuredAnnotations(org.w3c.dom.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(org.w3c.dom.Element element, OMEModel model) throws EnumerationException
update
in interface OMEModelObject
update
in class AbstractOMEModelObject
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 boolean link(Reference reference, OMEModelObject o)
OMEModelObject
link
in interface OMEModelObject
link
in class AbstractOMEModelObject
reference
- 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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.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 org.w3c.dom.Element asXMLElement(org.w3c.dom.Document document)
OMEModelObject
asXMLElement
in interface OMEModelObject
asXMLElement
in class AbstractOMEModelObject
document
- Destination document for element creation, etc.protected org.w3c.dom.Element asXMLElement(org.w3c.dom.Document document, org.w3c.dom.Element StructuredAnnotations_element)
AbstractOMEModelObject
asXMLElement
in class AbstractOMEModelObject
document
- 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 © 2014 Open Microscopy Environment