public class Pixels extends AbstractOMEModelObject
Constructor and Description |
---|
Pixels()
Default constructor.
|
Pixels(Element element,
OMEModel model)
Constructs Pixels recursively from an XML DOM tree.
|
getChildrenByTagName, stripNamespacePrefix, update
public static final String NAMESPACE
public Pixels()
public Pixels(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 void update(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 PositiveInteger getSizeT()
public void setSizeT(PositiveInteger sizeT)
public DimensionOrder getDimensionOrder()
public void setDimensionOrder(DimensionOrder dimensionOrder)
public Double getTimeIncrement()
public void setTimeIncrement(Double timeIncrement)
public PositiveFloat getPhysicalSizeY()
public void setPhysicalSizeY(PositiveFloat physicalSizeY)
public PositiveFloat getPhysicalSizeX()
public void setPhysicalSizeX(PositiveFloat physicalSizeX)
public PositiveFloat getPhysicalSizeZ()
public void setPhysicalSizeZ(PositiveFloat physicalSizeZ)
public PositiveInteger getSizeX()
public void setSizeX(PositiveInteger sizeX)
public PositiveInteger getSizeY()
public void setSizeY(PositiveInteger sizeY)
public PositiveInteger getSizeZ()
public void setSizeZ(PositiveInteger sizeZ)
public PositiveInteger getSizeC()
public void setSizeC(PositiveInteger sizeC)
public PixelType getType()
public void setType(PixelType type)
public String getID()
public void setID(String id)
public int sizeOfChannelList()
public Channel getChannel(int index)
public void addChannel(Channel channel)
public void removeChannel(Channel channel)
public int sizeOfBinDataList()
public BinData getBinData(int index)
public void addBinData(BinData binData)
public void removeBinData(BinData binData)
public int sizeOfTiffDataList()
public TiffData getTiffData(int index)
public void addTiffData(TiffData tiffData)
public void removeTiffData(TiffData tiffData)
public MetadataOnly getMetadataOnly()
public void setMetadataOnly(MetadataOnly metadataOnly)
public int sizeOfPlaneList()
public Plane getPlane(int index)
public void addPlane(Plane plane)
public void removePlane(Plane plane)
public int sizeOfLinkedAnnotationList()
public List<Annotation> copyLinkedAnnotationList()
public Annotation getLinkedAnnotation(int index)
public Annotation setLinkedAnnotation(int index, Annotation o)
public boolean linkAnnotation(Annotation o)
public boolean unlinkAnnotation(Annotation o)
public Element asXMLElement(Document document)
OMEModelObject
asXMLElement
in interface OMEModelObject
asXMLElement
in class AbstractOMEModelObject
document
- Destination document for element creation, etc.protected Element asXMLElement(Document document, Element Pixels_element)
AbstractOMEModelObject
asXMLElement
in class AbstractOMEModelObject
document
- Destination document for element creation, etc.Pixels_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