public class ZeissTIFFHandler
extends org.xml.sax.helpers.DefaultHandler
Modifier and Type | Class and Description |
---|---|
class |
ZeissTIFFHandler.Plane
Metadata for a single image plane.
|
(package private) class |
ZeissTIFFHandler.Scaling
Scaling metadata.
|
(package private) class |
ZeissTIFFHandler.Tag
Content of a single tag from a Tags block.
|
(package private) class |
ZeissTIFFHandler.TagSet
A collection of tags from a single Tags block.
|
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
cdata |
private BaseZeissReader.Layer |
current_layer |
private ZeissTIFFHandler.Scaling |
current_scaling |
private BaseZeissReader.Shape |
current_shape |
private BaseZeissReader.Tag |
current_tag |
private ZeissTIFFHandler.TagSet |
current_tagset |
(package private) int |
layer_count |
java.util.ArrayList<BaseZeissReader.Layer> |
layers |
private static org.slf4j.Logger |
LOGGER |
ZeissTIFFHandler.TagSet |
main_tagset |
private java.util.Stack<java.lang.String> |
nameStack |
private java.util.Set<java.lang.String> |
planeNames |
java.util.ArrayList<ZeissTIFFHandler.Plane> |
planes |
(package private) BaseZeissReader |
reader |
java.util.ArrayList<ZeissTIFFHandler.Scaling> |
scalings |
(package private) int |
shape_count |
(package private) int |
tag_count |
Constructor and Description |
---|
ZeissTIFFHandler(ZeissTIFFReader reader) |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName) |
protected static int |
parseColor(byte r,
byte g,
byte b) |
private static double |
parseDouble(java.lang.String number)
Parse a Double from a String.
|
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attributes) |
java.lang.String |
toString() |
private static final org.slf4j.Logger LOGGER
BaseZeissReader reader
private java.util.Stack<java.lang.String> nameStack
private java.lang.String cdata
public ZeissTIFFHandler.TagSet main_tagset
public java.util.ArrayList<ZeissTIFFHandler.Plane> planes
public java.util.ArrayList<ZeissTIFFHandler.Scaling> scalings
public java.util.ArrayList<BaseZeissReader.Layer> layers
private ZeissTIFFHandler.TagSet current_tagset
private BaseZeissReader.Tag current_tag
private ZeissTIFFHandler.Scaling current_scaling
private BaseZeissReader.Layer current_layer
private BaseZeissReader.Shape current_shape
private java.util.Set<java.lang.String> planeNames
int tag_count
int layer_count
int shape_count
ZeissTIFFHandler(ZeissTIFFReader reader)
public java.lang.String toString()
toString
in class java.lang.Object
public void endElement(java.lang.String uri, java.lang.String localName, java.lang.String qName)
endElement
in interface org.xml.sax.ContentHandler
endElement
in class org.xml.sax.helpers.DefaultHandler
public void characters(char[] ch, int start, int length)
characters
in interface org.xml.sax.ContentHandler
characters
in class org.xml.sax.helpers.DefaultHandler
public void startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attributes)
startElement
in interface org.xml.sax.ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
private static double parseDouble(java.lang.String number)
number
- the number to parseprotected static int parseColor(byte r, byte g, byte b)
Copyright © 2018 Open Microscopy Environment