public class ZeissTIFFHandler extends 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 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 |
ArrayList<BaseZeissReader.Layer> |
layers |
private static org.slf4j.Logger |
LOGGER |
ZeissTIFFHandler.TagSet |
main_tagset |
private Stack<String> |
nameStack |
private Set<String> |
planeNames |
ArrayList<ZeissTIFFHandler.Plane> |
planes |
(package private) BaseZeissReader |
reader |
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(String uri,
String localName,
String qName) |
protected static int |
parseColor(byte r,
byte g,
byte b) |
private static double |
parseDouble(String number)
Parse a Double from a String.
|
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes) |
String |
toString() |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
private static final org.slf4j.Logger LOGGER
BaseZeissReader reader
private String cdata
public ZeissTIFFHandler.TagSet main_tagset
public ArrayList<ZeissTIFFHandler.Plane> planes
public ArrayList<ZeissTIFFHandler.Scaling> scalings
public 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
int tag_count
int layer_count
int shape_count
ZeissTIFFHandler(ZeissTIFFReader reader)
public void endElement(String uri, String localName, String qName)
endElement
in interface ContentHandler
endElement
in class DefaultHandler
public void characters(char[] ch, int start, int length)
characters
in interface ContentHandler
characters
in class DefaultHandler
public void startElement(String uri, String localName, String qName, Attributes attributes)
startElement
in interface ContentHandler
startElement
in class DefaultHandler
private static double parseDouble(String number)
number
- the number to parseprotected static int parseColor(byte r, byte g, byte b)
Copyright © 2015 Open Microscopy Environment