|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.opensearch.opensearchlibrary.ImageElement
public class ImageElement
Class implementing the functionality of an Image element contained in a DescriptionDocument
Constructor Summary | |
---|---|
ImageElement(org.w3c.dom.Element image)
Creates a new ImageElement instance |
Method Summary | |
---|---|
int |
getHeight()
Returns the image height |
java.lang.String |
getMimeType()
Returns the MIME type of the image |
java.net.URI |
getURI()
Returns the URI of the image |
int |
getWidth()
Returns the image width |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImageElement(org.w3c.dom.Element image) throws java.lang.Exception
ImageElement
instance
image
- A DOM Element that will be processed in order for the ImageElement
instance to be created
java.lang.Exception
- If the image element structure does not conform to the OpenSearch specification or in case of other errorMethod Detail |
---|
public int getWidth()
public int getHeight()
public java.lang.String getMimeType()
public java.net.URI getURI() throws java.lang.Exception
java.lang.Exception
- In case of error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |