|
xmlgraphics-commons 1.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xmlgraphics.image.loader.impl.AbstractImage
org.apache.xmlgraphics.image.loader.impl.ImageXMLDOM
public class ImageXMLDOM
This class is an implementation of the Image interface exposing an XML DOM (W3C).
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.apache.xmlgraphics.image.loader.impl.AbstractImage |
---|
getColorSpace, getICCProfile, getInfo, getSize, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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 flavorMethod Detail |
---|
public ImageFlavor getFlavor()
public boolean isCacheable()
public org.w3c.dom.Document getDocument()
public java.lang.String getRootNamespace()
|
xmlgraphics-commons 1.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |