|
||||||||||
| 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(Element image)
Creates a new ImageElement instance |
|
| Method Summary | |
|---|---|
int |
getHeight()
Returns the image height |
String |
getMimeType()
Returns the MIME type of the image |
URI |
getURI()
Returns the URI of the image |
int |
getWidth()
Returns the image width |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImageElement(Element image)
throws Exception
ImageElement instance
image - A DOM Element that will be processed in order for the ImageElement instance to be created
Exception - If the image element structure does not conform to the OpenSearch specification or in case of other error| Method Detail |
|---|
public int getWidth()
public int getHeight()
public String getMimeType()
public URI getURI()
throws Exception
Exception - In case of error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||