public class Pixels extends AbstractOMEModelObject
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAMESPACE |
Constructor and Description |
---|
Pixels()
Default constructor.
|
Pixels(org.w3c.dom.Element element,
OMEModel model)
Constructs Pixels recursively from an XML DOM tree.
|
Pixels(Pixels orig)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addBinData(BinData binData) |
void |
addChannel(Channel channel) |
void |
addPlane(Plane plane) |
void |
addTiffData(TiffData tiffData) |
org.w3c.dom.Element |
asXMLElement(org.w3c.dom.Document document)
Takes the entire object hierarchy and produces an XML DOM tree.
|
protected org.w3c.dom.Element |
asXMLElement(org.w3c.dom.Document document,
org.w3c.dom.Element Pixels_element)
Takes the entire object hierarchy and produced an XML DOM tree taking
into account class hierarchy.
|
java.util.List<BinData> |
copyBinDataList() |
java.util.List<Channel> |
copyChannelList() |
java.util.List<Annotation> |
copyLinkedAnnotationList() |
java.util.List<Plane> |
copyPlaneList() |
java.util.List<TiffData> |
copyTiffDataList() |
java.lang.Boolean |
getBigEndian() |
BinData |
getBinData(int index) |
Channel |
getChannel(int index) |
DimensionOrder |
getDimensionOrder() |
java.lang.String |
getID() |
java.lang.Boolean |
getInterleaved() |
Annotation |
getLinkedAnnotation(int index) |
MetadataOnly |
getMetadataOnly() |
PositiveFloat |
getPhysicalSizeX() |
PositiveFloat |
getPhysicalSizeY() |
PositiveFloat |
getPhysicalSizeZ() |
Plane |
getPlane(int index) |
PositiveInteger |
getSignificantBits() |
PositiveInteger |
getSizeC() |
PositiveInteger |
getSizeT() |
PositiveInteger |
getSizeX() |
PositiveInteger |
getSizeY() |
PositiveInteger |
getSizeZ() |
TiffData |
getTiffData(int index) |
java.lang.Double |
getTimeIncrement() |
PixelType |
getType() |
boolean |
link(Reference reference,
OMEModelObject o)
Link a given OME model object to this model object.
|
boolean |
linkAnnotation(Annotation o) |
void |
removeBinData(BinData binData) |
void |
removeChannel(Channel channel) |
void |
removePlane(Plane plane) |
void |
removeTiffData(TiffData tiffData) |
void |
setBigEndian(java.lang.Boolean bigEndian) |
BinData |
setBinData(int index,
BinData binData) |
Channel |
setChannel(int index,
Channel channel) |
void |
setDimensionOrder(DimensionOrder dimensionOrder) |
void |
setID(java.lang.String id) |
void |
setInterleaved(java.lang.Boolean interleaved) |
Annotation |
setLinkedAnnotation(int index,
Annotation o) |
void |
setMetadataOnly(MetadataOnly metadataOnly) |
void |
setPhysicalSizeX(PositiveFloat physicalSizeX) |
void |
setPhysicalSizeY(PositiveFloat physicalSizeY) |
void |
setPhysicalSizeZ(PositiveFloat physicalSizeZ) |
Plane |
setPlane(int index,
Plane plane) |
void |
setSignificantBits(PositiveInteger significantBits) |
void |
setSizeC(PositiveInteger sizeC) |
void |
setSizeT(PositiveInteger sizeT) |
void |
setSizeX(PositiveInteger sizeX) |
void |
setSizeY(PositiveInteger sizeY) |
void |
setSizeZ(PositiveInteger sizeZ) |
TiffData |
setTiffData(int index,
TiffData tiffData) |
void |
setTimeIncrement(java.lang.Double timeIncrement) |
void |
setType(PixelType type) |
int |
sizeOfBinDataList() |
int |
sizeOfChannelList() |
int |
sizeOfLinkedAnnotationList() |
int |
sizeOfPlaneList() |
int |
sizeOfTiffDataList() |
boolean |
unlinkAnnotation(Annotation o) |
void |
update(org.w3c.dom.Element element,
OMEModel model)
Updates Pixels recursively from an XML DOM tree.
|
getChildrenByTagName, stripNamespacePrefix
public static final java.lang.String NAMESPACE
public Pixels()
public Pixels(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 Pixels(Pixels 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 PositiveInteger getSizeT()
public void setSizeT(PositiveInteger sizeT)
public DimensionOrder getDimensionOrder()
public void setDimensionOrder(DimensionOrder dimensionOrder)
public java.lang.Double getTimeIncrement()
public void setTimeIncrement(java.lang.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 java.lang.Boolean getBigEndian()
public void setBigEndian(java.lang.Boolean bigEndian)
public PositiveInteger getSignificantBits()
public void setSignificantBits(PositiveInteger significantBits)
public PositiveInteger getSizeC()
public void setSizeC(PositiveInteger sizeC)
public PixelType getType()
public void setType(PixelType type)
public java.lang.String getID()
public void setID(java.lang.String id)
public java.lang.Boolean getInterleaved()
public void setInterleaved(java.lang.Boolean interleaved)
public int sizeOfChannelList()
public java.util.List<Channel> copyChannelList()
public Channel getChannel(int index)
public void addChannel(Channel channel)
public void removeChannel(Channel channel)
public int sizeOfBinDataList()
public java.util.List<BinData> copyBinDataList()
public BinData getBinData(int index)
public void addBinData(BinData binData)
public void removeBinData(BinData binData)
public int sizeOfTiffDataList()
public java.util.List<TiffData> copyTiffDataList()
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 java.util.List<Plane> copyPlaneList()
public Plane getPlane(int index)
public void addPlane(Plane plane)
public void removePlane(Plane plane)
public int sizeOfLinkedAnnotationList()
public java.util.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 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 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