public class ImageXMLDOM extends AbstractImage
Constructor and Description |
---|
ImageXMLDOM(ImageInfo info,
org.w3c.dom.Document doc,
java.lang.String rootNamespace)
Main constructor.
|
ImageXMLDOM(ImageInfo info,
org.w3c.dom.Document doc,
XMLNamespaceEnabledImageFlavor flavor)
Main constructor.
|
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Document |
getDocument()
Returns the contained W3C DOM document.
|
ImageFlavor |
getFlavor()
Returns the flavor of the image.
|
java.lang.String |
getRootNamespace()
Returns the root XML namespace of the XML document.
|
boolean |
isCacheable()
Indicates whether the Image instance is cacheable in memory.
|
getColorSpace, getICCProfile, getInfo, getSize, toString
public ImageXMLDOM(ImageInfo info, org.w3c.dom.Document doc, java.lang.String rootNamespace)
info
- the image info objectdoc
- the W3C DOM documentrootNamespace
- the root XML namespace of the XML document in the DOMpublic ImageXMLDOM(ImageInfo info, org.w3c.dom.Document doc, XMLNamespaceEnabledImageFlavor flavor)
info
- the image info objectdoc
- the W3C DOM documentflavor
- the image flavorpublic ImageFlavor getFlavor()
public boolean isCacheable()
public org.w3c.dom.Document getDocument()
public java.lang.String getRootNamespace()
Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.