public class ImageXMLDOM extends AbstractImage
Constructor and Description |
---|
ImageXMLDOM(ImageInfo info,
Document doc,
String rootNamespace)
Main constructor.
|
ImageXMLDOM(ImageInfo info,
Document doc,
XMLNamespaceEnabledImageFlavor flavor)
Main constructor.
|
Modifier and Type | Method and Description |
---|---|
Document |
getDocument()
Returns the contained W3C DOM document.
|
ImageFlavor |
getFlavor()
Returns the flavor of the image.
|
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, Document doc, 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, Document doc, XMLNamespaceEnabledImageFlavor flavor)
info
- the image info objectdoc
- the W3C DOM documentflavor
- the image flavorpublic ImageFlavor getFlavor()
public boolean isCacheable()
public Document getDocument()
public String getRootNamespace()
Copyright © 2021 Apache Software Foundation. All rights reserved.