bioformats
5.1.0
|
TextAnnotation model object. More...
#include <ome/xml/model/TextAnnotation.h>
Public Member Functions | |
TextAnnotation () | |
Default constructor. | |
TextAnnotation (const TextAnnotation ©) | |
Copy constructor. More... | |
virtual | ~TextAnnotation () |
Destructor. | |
bool | validElementName (const std::string &name) const |
Check if a given element name is valid for processing by this model object. More... | |
virtual void | update (const common::xml::dom::Element &element, ome::xml::model::OMEModel &model) |
Update the object hierarchy recursively from an XML DOM tree. More... | |
bool | link (ome::compat::shared_ptr< Reference > &reference, ome::compat::shared_ptr< ome::xml::model::OMEModelObject > &object) |
Link a given OME model object to this model object. More... | |
virtual common::xml::dom::Element | asXMLElement (common::xml::dom::Document &document) const |
Transform the object hierarchy rooted at this element to XML. More... | |
const std::string & | getXMLNamespace () const |
Get the XML namespace for this model object. More... | |
Public Member Functions inherited from ome::xml::model::Annotation | |
Annotation () | |
Default constructor. | |
Annotation (const Annotation ©) | |
Copy constructor. More... | |
virtual | ~Annotation () |
Destructor. | |
bool | link (ome::compat::shared_ptr< Reference > &reference, ome::compat::shared_ptr< ome::xml::model::OMEModelObject > &object) |
Link a given OME model object to this model object. More... | |
ome::compat::shared_ptr< std::string > | getNamespace () |
Get the Namespace property. More... | |
const ome::compat::shared_ptr< std::string > | getNamespace () const |
Get the Namespace property. More... | |
void | setNamespace (ome::compat::shared_ptr< std::string > &namespace_) |
Set the Namespace property. More... | |
const std::string & | getID () const |
Get the ID property. More... | |
void | setID (const std::string &id) |
Set the ID property. More... | |
ome::compat::shared_ptr< std::string > | getAnnotator () |
Get the Annotator property. More... | |
const ome::compat::shared_ptr< std::string > | getAnnotator () const |
Get the Annotator property. More... | |
void | setAnnotator (ome::compat::shared_ptr< std::string > &annotator) |
Set the Annotator property. More... | |
ome::compat::shared_ptr< std::string > | getDescription () |
Get the Description property. More... | |
const ome::compat::shared_ptr< std::string > | getDescription () const |
Get the Description property. More... | |
void | setDescription (ome::compat::shared_ptr< std::string > &description) |
Set the Description property. More... | |
OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type::size_type | sizeOfLinkedAnnotationList () const |
Get size of linked Annotation list. More... | |
OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type | getLinkedAnnotationList () const |
Get the linked Annotation list. More... | |
const ome::compat::weak_ptr< ome::xml::model::Annotation > & | getLinkedAnnotation (OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type::size_type index) const |
Get linked Annotation. More... | |
const ome::compat::weak_ptr< ome::xml::model::Annotation > & | setLinkedAnnotation (OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Annotation > &annotation) |
Set linked Annotation. More... | |
bool | linkAnnotation (const ome::compat::shared_ptr< ome::xml::model::Annotation > &annotation) |
Link Annotation. More... | |
bool | unlinkAnnotation (const ome::compat::shared_ptr< ome::xml::model::Annotation > &annotation) |
Unlink Annotation. More... | |
OMEModelObject::indexed_container< ome::xml::model::Image, ome::compat::weak_ptr >::type::size_type | sizeOfLinkedImageList () const |
Get size of linked Image list. More... | |
OMEModelObject::indexed_container< ome::xml::model::Image, ome::compat::weak_ptr >::type | getLinkedImageList () const |
Get the linked Image list. More... | |
const ome::compat::weak_ptr< ome::xml::model::Image > & | getLinkedImage (OMEModelObject::indexed_container< ome::xml::model::Image, ome::compat::weak_ptr >::type::size_type index) const |
Get linked Image. More... | |
const ome::compat::weak_ptr< ome::xml::model::Image > & | setLinkedImage (OMEModelObject::indexed_container< ome::xml::model::Image, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Image > &image_BackReference) |
Set linked Image. More... | |
bool | linkImage (const ome::compat::shared_ptr< ome::xml::model::Image > &image_BackReference) |
Link Image. More... | |
bool | unlinkImage (const ome::compat::shared_ptr< ome::xml::model::Image > &image_BackReference) |
Unlink Image. More... | |
OMEModelObject::indexed_container< ome::xml::model::Pixels, ome::compat::weak_ptr >::type::size_type | sizeOfLinkedPixelsList () const |
Get size of linked Pixels list. More... | |
OMEModelObject::indexed_container< ome::xml::model::Pixels, ome::compat::weak_ptr >::type | getLinkedPixelsList () const |
Get the linked Pixels list. More... | |
const ome::compat::weak_ptr< ome::xml::model::Pixels > & | getLinkedPixels (OMEModelObject::indexed_container< ome::xml::model::Pixels, ome::compat::weak_ptr >::type::size_type index) const |
Get linked Pixels. More... | |
const ome::compat::weak_ptr< ome::xml::model::Pixels > & | setLinkedPixels (OMEModelObject::indexed_container< ome::xml::model::Pixels, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Pixels > &pixels_BackReference) |
Set linked Pixels. More... | |
bool | linkPixels (const ome::compat::shared_ptr< ome::xml::model::Pixels > &pixels_BackReference) |
Link Pixels. More... | |
bool | unlinkPixels (const ome::compat::shared_ptr< ome::xml::model::Pixels > &pixels_BackReference) |
Unlink Pixels. More... | |
OMEModelObject::indexed_container< ome::xml::model::Plane, ome::compat::weak_ptr >::type::size_type | sizeOfLinkedPlaneList () const |
Get size of linked Plane list. More... | |
OMEModelObject::indexed_container< ome::xml::model::Plane, ome::compat::weak_ptr >::type | getLinkedPlaneList () const |
Get the linked Plane list. More... | |
const ome::compat::weak_ptr< ome::xml::model::Plane > & | getLinkedPlane (OMEModelObject::indexed_container< ome::xml::model::Plane, ome::compat::weak_ptr >::type::size_type index) const |
Get linked Plane. More... | |
const ome::compat::weak_ptr< ome::xml::model::Plane > & | setLinkedPlane (OMEModelObject::indexed_container< ome::xml::model::Plane, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Plane > &plane_BackReference) |
Set linked Plane. More... | |
bool | linkPlane (const ome::compat::shared_ptr< ome::xml::model::Plane > &plane_BackReference) |
Link Plane. More... | |
bool | unlinkPlane (const ome::compat::shared_ptr< ome::xml::model::Plane > &plane_BackReference) |
Unlink Plane. More... | |
OMEModelObject::indexed_container< ome::xml::model::Channel, ome::compat::weak_ptr >::type::size_type | sizeOfLinkedChannelList () const |
Get size of linked Channel list. More... | |
OMEModelObject::indexed_container< ome::xml::model::Channel, ome::compat::weak_ptr >::type | getLinkedChannelList () const |
Get the linked Channel list. More... | |
const ome::compat::weak_ptr< ome::xml::model::Channel > & | getLinkedChannel (OMEModelObject::indexed_container< ome::xml::model::Channel, ome::compat::weak_ptr >::type::size_type index) const |
Get linked Channel. More... | |
const ome::compat::weak_ptr< ome::xml::model::Channel > & | setLinkedChannel (OMEModelObject::indexed_container< ome::xml::model::Channel, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Channel > &channel_BackReference) |
Set linked Channel. More... | |
bool | linkChannel (const ome::compat::shared_ptr< ome::xml::model::Channel > &channel_BackReference) |
Link Channel. More... | |
bool | unlinkChannel (const ome::compat::shared_ptr< ome::xml::model::Channel > &channel_BackReference) |
Unlink Channel. More... | |
OMEModelObject::indexed_container< ome::xml::model::Project, ome::compat::weak_ptr >::type::size_type | sizeOfLinkedProjectList () const |
Get size of linked Project list. More... | |
OMEModelObject::indexed_container< ome::xml::model::Project, ome::compat::weak_ptr >::type | getLinkedProjectList () const |
Get the linked Project list. More... | |
const ome::compat::weak_ptr< ome::xml::model::Project > & | getLinkedProject (OMEModelObject::indexed_container< ome::xml::model::Project, ome::compat::weak_ptr >::type::size_type index) const |
Get linked Project. More... | |
const ome::compat::weak_ptr< ome::xml::model::Project > & | setLinkedProject (OMEModelObject::indexed_container< ome::xml::model::Project, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Project > &project_BackReference) |
Set linked Project. More... | |
bool | linkProject (const ome::compat::shared_ptr< ome::xml::model::Project > &project_BackReference) |
Link Project. More... | |
bool | unlinkProject (const ome::compat::shared_ptr< ome::xml::model::Project > &project_BackReference) |
Unlink Project. More... | |
OMEModelObject::indexed_container< ome::xml::model::ExperimenterGroup, ome::compat::weak_ptr >::type::size_type | sizeOfLinkedExperimenterGroupList () const |
Get size of linked ExperimenterGroup list. More... | |
OMEModelObject::indexed_container< ome::xml::model::ExperimenterGroup, ome::compat::weak_ptr >::type | getLinkedExperimenterGroupList () const |
Get the linked ExperimenterGroup list. More... | |
const ome::compat::weak_ptr< ome::xml::model::ExperimenterGroup > & | getLinkedExperimenterGroup (OMEModelObject::indexed_container< ome::xml::model::ExperimenterGroup, ome::compat::weak_ptr >::type::size_type index) const |
Get linked ExperimenterGroup. More... | |
const ome::compat::weak_ptr< ome::xml::model::ExperimenterGroup > & | setLinkedExperimenterGroup (OMEModelObject::indexed_container< ome::xml::model::ExperimenterGroup, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > &experimenterGroup_BackReference) |
Set linked ExperimenterGroup. More... | |
bool | linkExperimenterGroup (const ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > &experimenterGroup_BackReference) |
Link ExperimenterGroup. More... | |
bool | unlinkExperimenterGroup (const ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > &experimenterGroup_BackReference) |
Unlink ExperimenterGroup. More... | |
OMEModelObject::indexed_container< ome::xml::model::Dataset, ome::compat::weak_ptr >::type::size_type | sizeOfLinkedDatasetList () const |
Get size of linked Dataset list. More... | |
OMEModelObject::indexed_container< ome::xml::model::Dataset, ome::compat::weak_ptr >::type | getLinkedDatasetList () const |
Get the linked Dataset list. More... | |
const ome::compat::weak_ptr< ome::xml::model::Dataset > & | getLinkedDataset (OMEModelObject::indexed_container< ome::xml::model::Dataset, ome::compat::weak_ptr >::type::size_type index) const |
Get linked Dataset. More... | |
const ome::compat::weak_ptr< ome::xml::model::Dataset > & | setLinkedDataset (OMEModelObject::indexed_container< ome::xml::model::Dataset, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Dataset > &dataset_BackReference) |
Set linked Dataset. More... | |
bool | linkDataset (const ome::compat::shared_ptr< ome::xml::model::Dataset > &dataset_BackReference) |
Link Dataset. More... | |
bool | unlinkDataset (const ome::compat::shared_ptr< ome::xml::model::Dataset > &dataset_BackReference) |
Unlink Dataset. More... | |
OMEModelObject::indexed_container< ome::xml::model::Experimenter, ome::compat::weak_ptr >::type::size_type | sizeOfLinkedExperimenterList () const |
Get size of linked Experimenter list. More... | |
OMEModelObject::indexed_container< ome::xml::model::Experimenter, ome::compat::weak_ptr >::type | getLinkedExperimenterList () const |
Get the linked Experimenter list. More... | |
const ome::compat::weak_ptr< ome::xml::model::Experimenter > & | getLinkedExperimenter (OMEModelObject::indexed_container< ome::xml::model::Experimenter, ome::compat::weak_ptr >::type::size_type index) const |
Get linked Experimenter. More... | |
const ome::compat::weak_ptr< ome::xml::model::Experimenter > & | setLinkedExperimenter (OMEModelObject::indexed_container< ome::xml::model::Experimenter, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Experimenter > &experimenter_BackReference) |
Set linked Experimenter. More... | |
bool | linkExperimenter (const ome::compat::shared_ptr< ome::xml::model::Experimenter > &experimenter_BackReference) |
Link Experimenter. More... | |
bool | unlinkExperimenter (const ome::compat::shared_ptr< ome::xml::model::Experimenter > &experimenter_BackReference) |
Unlink Experimenter. More... | |
OMEModelObject::indexed_container< ome::xml::model::ROI, ome::compat::weak_ptr >::type::size_type | sizeOfLinkedROIList () const |
Get size of linked ROI list. More... | |
OMEModelObject::indexed_container< ome::xml::model::ROI, ome::compat::weak_ptr >::type | getLinkedROIList () const |
Get the linked ROI list. More... | |
const ome::compat::weak_ptr< ome::xml::model::ROI > & | getLinkedROI (OMEModelObject::indexed_container< ome::xml::model::ROI, ome::compat::weak_ptr >::type::size_type index) const |
Get linked ROI. More... | |
const ome::compat::weak_ptr< ome::xml::model::ROI > & | setLinkedROI (OMEModelObject::indexed_container< ome::xml::model::ROI, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::ROI > &roi_BackReference) |
Set linked ROI. More... | |
bool | linkROI (const ome::compat::shared_ptr< ome::xml::model::ROI > &roi_BackReference) |
Link ROI. More... | |
bool | unlinkROI (const ome::compat::shared_ptr< ome::xml::model::ROI > &roi_BackReference) |
Unlink ROI. More... | |
OMEModelObject::indexed_container< ome::xml::model::Plate, ome::compat::weak_ptr >::type::size_type | sizeOfLinkedPlateList () const |
Get size of linked Plate list. More... | |
OMEModelObject::indexed_container< ome::xml::model::Plate, ome::compat::weak_ptr >::type | getLinkedPlateList () const |
Get the linked Plate list. More... | |
const ome::compat::weak_ptr< ome::xml::model::Plate > & | getLinkedPlate (OMEModelObject::indexed_container< ome::xml::model::Plate, ome::compat::weak_ptr >::type::size_type index) const |
Get linked Plate. More... | |
const ome::compat::weak_ptr< ome::xml::model::Plate > & | setLinkedPlate (OMEModelObject::indexed_container< ome::xml::model::Plate, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Plate > &plate_BackReference) |
Set linked Plate. More... | |
bool | linkPlate (const ome::compat::shared_ptr< ome::xml::model::Plate > &plate_BackReference) |
Link Plate. More... | |
bool | unlinkPlate (const ome::compat::shared_ptr< ome::xml::model::Plate > &plate_BackReference) |
Unlink Plate. More... | |
OMEModelObject::indexed_container< ome::xml::model::Reagent, ome::compat::weak_ptr >::type::size_type | sizeOfLinkedReagentList () const |
Get size of linked Reagent list. More... | |
OMEModelObject::indexed_container< ome::xml::model::Reagent, ome::compat::weak_ptr >::type | getLinkedReagentList () const |
Get the linked Reagent list. More... | |
const ome::compat::weak_ptr< ome::xml::model::Reagent > & | getLinkedReagent (OMEModelObject::indexed_container< ome::xml::model::Reagent, ome::compat::weak_ptr >::type::size_type index) const |
Get linked Reagent. More... | |
const ome::compat::weak_ptr< ome::xml::model::Reagent > & | setLinkedReagent (OMEModelObject::indexed_container< ome::xml::model::Reagent, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Reagent > &reagent_BackReference) |
Set linked Reagent. More... | |
bool | linkReagent (const ome::compat::shared_ptr< ome::xml::model::Reagent > &reagent_BackReference) |
Link Reagent. More... | |
bool | unlinkReagent (const ome::compat::shared_ptr< ome::xml::model::Reagent > &reagent_BackReference) |
Unlink Reagent. More... | |
OMEModelObject::indexed_container< ome::xml::model::Screen, ome::compat::weak_ptr >::type::size_type | sizeOfLinkedScreenList () const |
Get size of linked Screen list. More... | |
OMEModelObject::indexed_container< ome::xml::model::Screen, ome::compat::weak_ptr >::type | getLinkedScreenList () const |
Get the linked Screen list. More... | |
const ome::compat::weak_ptr< ome::xml::model::Screen > & | getLinkedScreen (OMEModelObject::indexed_container< ome::xml::model::Screen, ome::compat::weak_ptr >::type::size_type index) const |
Get linked Screen. More... | |
const ome::compat::weak_ptr< ome::xml::model::Screen > & | setLinkedScreen (OMEModelObject::indexed_container< ome::xml::model::Screen, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Screen > &screen_BackReference) |
Set linked Screen. More... | |
bool | linkScreen (const ome::compat::shared_ptr< ome::xml::model::Screen > &screen_BackReference) |
Link Screen. More... | |
bool | unlinkScreen (const ome::compat::shared_ptr< ome::xml::model::Screen > &screen_BackReference) |
Unlink Screen. More... | |
OMEModelObject::indexed_container< ome::xml::model::PlateAcquisition, ome::compat::weak_ptr >::type::size_type | sizeOfLinkedPlateAcquisitionList () const |
Get size of linked PlateAcquisition list. More... | |
OMEModelObject::indexed_container< ome::xml::model::PlateAcquisition, ome::compat::weak_ptr >::type | getLinkedPlateAcquisitionList () const |
Get the linked PlateAcquisition list. More... | |
const ome::compat::weak_ptr< ome::xml::model::PlateAcquisition > & | getLinkedPlateAcquisition (OMEModelObject::indexed_container< ome::xml::model::PlateAcquisition, ome::compat::weak_ptr >::type::size_type index) const |
Get linked PlateAcquisition. More... | |
const ome::compat::weak_ptr< ome::xml::model::PlateAcquisition > & | setLinkedPlateAcquisition (OMEModelObject::indexed_container< ome::xml::model::PlateAcquisition, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::PlateAcquisition > &plateAcquisition_BackReference) |
Set linked PlateAcquisition. More... | |
bool | linkPlateAcquisition (const ome::compat::shared_ptr< ome::xml::model::PlateAcquisition > &plateAcquisition_BackReference) |
Link PlateAcquisition. More... | |
bool | unlinkPlateAcquisition (const ome::compat::shared_ptr< ome::xml::model::PlateAcquisition > &plateAcquisition_BackReference) |
Unlink PlateAcquisition. More... | |
OMEModelObject::indexed_container< ome::xml::model::Well, ome::compat::weak_ptr >::type::size_type | sizeOfLinkedWellList () const |
Get size of linked Well list. More... | |
OMEModelObject::indexed_container< ome::xml::model::Well, ome::compat::weak_ptr >::type | getLinkedWellList () const |
Get the linked Well list. More... | |
const ome::compat::weak_ptr< ome::xml::model::Well > & | getLinkedWell (OMEModelObject::indexed_container< ome::xml::model::Well, ome::compat::weak_ptr >::type::size_type index) const |
Get linked Well. More... | |
const ome::compat::weak_ptr< ome::xml::model::Well > & | setLinkedWell (OMEModelObject::indexed_container< ome::xml::model::Well, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Well > &well_BackReference) |
Set linked Well. More... | |
bool | linkWell (const ome::compat::shared_ptr< ome::xml::model::Well > &well_BackReference) |
Link Well. More... | |
bool | unlinkWell (const ome::compat::shared_ptr< ome::xml::model::Well > &well_BackReference) |
Unlink Well. More... | |
OMEModelObject::indexed_container< ome::xml::model::WellSample, ome::compat::weak_ptr >::type::size_type | sizeOfLinkedWellSampleList () const |
Get size of linked WellSample list. More... | |
OMEModelObject::indexed_container< ome::xml::model::WellSample, ome::compat::weak_ptr >::type | getLinkedWellSampleList () const |
Get the linked WellSample list. More... | |
const ome::compat::weak_ptr< ome::xml::model::WellSample > & | getLinkedWellSample (OMEModelObject::indexed_container< ome::xml::model::WellSample, ome::compat::weak_ptr >::type::size_type index) const |
Get linked WellSample. More... | |
const ome::compat::weak_ptr< ome::xml::model::WellSample > & | setLinkedWellSample (OMEModelObject::indexed_container< ome::xml::model::WellSample, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::WellSample > &wellSample_BackReference) |
Set linked WellSample. More... | |
bool | linkWellSample (const ome::compat::shared_ptr< ome::xml::model::WellSample > &wellSample_BackReference) |
Link WellSample. More... | |
bool | unlinkWellSample (const ome::compat::shared_ptr< ome::xml::model::WellSample > &wellSample_BackReference) |
Unlink WellSample. More... | |
Public Member Functions inherited from ome::xml::model::detail::OMEModelObject | |
virtual | ~OMEModelObject () |
Destructor. | |
virtual void | update (const common::xml::dom::Element &element,::ome::xml::model::OMEModel &model) |
Update the object hierarchy recursively from an XML DOM tree. More... | |
virtual bool | link (ome::compat::shared_ptr< Reference > &reference, ome::compat::shared_ptr< ::ome::xml::model::OMEModelObject > &object) |
Link a given OME model object to this model object. More... | |
Public Member Functions inherited from ome::xml::model::OMEModelObject | |
virtual const std::string & | elementName () const =0 |
Get the element name of this model object. More... | |
virtual bool | link (ome::compat::shared_ptr< Reference > &reference, ome::compat::shared_ptr< OMEModelObject > &object)=0 |
Link a given OME model object to this model object. More... | |
Protected Member Functions | |
virtual common::xml::dom::Element | asXMLElementInternal (common::xml::dom::Document &document, common::xml::dom::Element &element) const |
Transform the object hierarchy rooted at this element to XML. More... | |
Protected Member Functions inherited from ome::xml::model::detail::OMEModelObject | |
OMEModelObject (const std::string &objectType="OMEModelObject") | |
Constructor. | |
OMEModelObject (const OMEModelObject ©) | |
Copy constructor. More... | |
template<class C , typename T > | |
bool | contains (const C &container, const ome::compat::shared_ptr< T > &element) |
Check if a container contains a particular element. More... | |
Protected Member Functions inherited from ome::xml::model::OMEModelObject | |
OMEModelObject () | |
Constructor. | |
Additional Inherited Members | |
Static Public Member Functions inherited from ome::xml::model::detail::OMEModelObject | |
static std::vector< common::xml::dom::Element > | getChildrenByTagName (const common::xml::dom::Element &parent, const std::string &name) |
Retrieve all the children of an element that have a given tag name. More... | |
static std::string | stripNamespacePrefix (const std::string &value) |
Strip the namespace prefix from a tag name. More... | |
Protected Attributes inherited from ome::xml::model::detail::OMEModelObject | |
ome::common::Logger | logger |
Message logger. | |
TextAnnotation model object.
ome::xml::model::TextAnnotation::TextAnnotation | ( | const TextAnnotation & | copy | ) |
Copy constructor.
copy | the TextAnnotation to copy. |
|
virtual |
Transform the object hierarchy rooted at this element to XML.
document | document for element creation |
Reimplemented from ome::xml::model::Annotation.
Reimplemented in ome::xml::model::CommentAnnotation, ome::xml::model::TagAnnotation, ome::xml::model::XMLAnnotation, and ome::xml::model::OriginalMetadataAnnotation.
References asXMLElementInternal(), and ome::common::xml::dom::Document::createElementNS().
|
protectedvirtual |
Transform the object hierarchy rooted at this element to XML.
This internal implementation of asXMLelement also requires an XML element, which must not be null, or may be instantiated and passed from superclasses.
document | XML document for element creation. |
element | XML element for setting model data. |
Reimplemented from ome::xml::model::Annotation.
Reimplemented in ome::xml::model::CommentAnnotation, ome::xml::model::TagAnnotation, ome::xml::model::XMLAnnotation, and ome::xml::model::OriginalMetadataAnnotation.
References ome::xml::model::Annotation::asXMLElementInternal(), and ome::common::xml::dom::Document::createElementNS().
Referenced by asXMLElement(), ome::xml::model::XMLAnnotation::asXMLElementInternal(), ome::xml::model::CommentAnnotation::asXMLElementInternal(), and ome::xml::model::TagAnnotation::asXMLElementInternal().
|
virtual |
Get the XML namespace for this model object.
Reimplemented from ome::xml::model::Annotation.
Reimplemented in ome::xml::model::XMLAnnotation.
bool ome::xml::model::TextAnnotation::link | ( | ome::compat::shared_ptr< Reference > & | reference, |
ome::compat::shared_ptr< ome::xml::model::OMEModelObject > & | object | ||
) |
Link a given OME model object to this model object.
reference | type qualifier for the reference. This should be the corresponding reference type for object. If, for example, object is of type Image, reference must be of type ImageRef. |
object | Model object to link to. |
true
if this model object was able to handle the reference, otherwise false
.References ome::xml::model::Annotation::link(), and ome::xml::model::detail::OMEModelObject::logger.
Referenced by ome::xml::model::CommentAnnotation::link(), ome::xml::model::XMLAnnotation::link(), and ome::xml::model::TagAnnotation::link().
|
virtual |
Update the object hierarchy recursively from an XML DOM tree.
element | root of the XML DOM tree to from which to construct the model object graph. |
model | handler for the OME model used to track instances and references seen during the update. |
EnumerationException | if there is an error instantiating an enumeration during model object creation, or ModelException if there are any consistency or validity errors found during processing. |
Reimplemented from ome::xml::model::Annotation.
Reimplemented in ome::xml::model::CommentAnnotation, ome::xml::model::TagAnnotation, and ome::xml::model::XMLAnnotation.
References ome::common::xml::dom::Element::getTagName(), ome::xml::model::detail::OMEModelObject::logger, ome::xml::model::detail::OMEModelObject::stripNamespacePrefix(), ome::xml::model::Annotation::update(), and validElementName().
Referenced by ome::xml::model::CommentAnnotation::update(), ome::xml::model::XMLAnnotation::update(), and ome::xml::model::TagAnnotation::update().
|
virtual |
Check if a given element name is valid for processing by this model object.
Used for processing nodes when interitance is involved.
name | the element name to check. |
true
if valid, false
if invalid. Reimplemented from ome::xml::model::Annotation.
Reimplemented in ome::xml::model::XMLAnnotation.
References ome::xml::model::Annotation::validElementName().
Referenced by update(), ome::xml::model::XMLAnnotation::validElementName(), ome::xml::model::CommentAnnotation::validElementName(), and ome::xml::model::TagAnnotation::validElementName().