public class XMLNamespaceEnabledImageFlavor extends RefinedImageFlavor
Modifier and Type | Field and Description |
---|---|
static ImageFlavor |
SVG_DOM
An XML-based SVG image in form of a W3C DOM instance
|
BUFFERED_IMAGE, GRAPHICS2D, RAW, RAW_CCITTFAX, RAW_EMF, RAW_EPS, RAW_JPEG, RAW_LZW, RAW_PNG, RAW_TIFF, RENDERED_IMAGE, XML_DOM
Constructor and Description |
---|
XMLNamespaceEnabledImageFlavor(ImageFlavor parentFlavor,
java.lang.String namespace)
Constructs a new image flavor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getNamespace()
Returns the XML namespace URI that the image flavor represents if such a namespace URI
is available.
|
int |
hashCode() |
getMimeType, getParentFlavor, isCompatible
getName, toString
public static final ImageFlavor SVG_DOM
public XMLNamespaceEnabledImageFlavor(ImageFlavor parentFlavor, java.lang.String namespace)
parentFlavor
- the parent image flavornamespace
- an XML namespace URI refining the parent image flavorpublic java.lang.String getNamespace()
getNamespace
in class RefinedImageFlavor
public boolean equals(java.lang.Object o)
ImageFlavor
equals
in class ImageFlavor
public int hashCode()
ImageFlavor
hashCode
in class ImageFlavor
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.