Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| xmlgraphics-commons 2.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.xmlgraphics.image.loader.pipeline
Class ImageRepresentation

    java.lang.Object
      org.apache.xmlgraphics.image.loader.pipeline.ImageRepresentation

All Implemented Interfaces:
  Comparable, Vertex

    public class ImageRepresentation

extends Object
implements Vertex

This class represents a combination of MIME type and an image flavor. It is used in conjunction with Dijkstra's algorithm to find and construct a conversion pipeline for images.

Constructor Summary
`ImageRepresentation(ImageFlavor flavor)` Main constructor

Method Summary
`int` | `compareTo(Object obj)`
`boolean` | `equals(Object obj)`
`ImageFlavor` | `getFlavor()` Returns the image flavor.
`int` | `hashCode()`
`String` | `toString()`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

Constructor Detail

### ImageRepresentation

    public ImageRepresentation(ImageFlavor flavor)

  Main constructor

  Parameters:
    `flavor` - the image flavor

Method Detail

### getFlavor

    public ImageFlavor getFlavor()

  Returns the image flavor.

  Returns:
    the image flavor

### equals

    public boolean equals(Object obj)

  Overrides:
    `equals` in class `Object`

### hashCode

    public int hashCode()

  Overrides:
    `hashCode` in class `Object`

### compareTo

    public int compareTo(Object obj)

  Specified by:
    `compareTo` in interface `Comparable`

### toString

    public String toString()

  Overrides:
    `toString` in class `Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| xmlgraphics-commons 2.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.