Replies the image for the given element.

<p>This function is a Xtext dispatch function for {@link #imageDescriptor(Object)}.

@param element the element.
@return the image descriptor.
@see #imageDescriptor(Object)
962206
protected ImageDescriptor imageDescriptor(SarlBehavior element) {
		final JvmDeclaredType jvmElement = this.jvmModelAssociations.getInferredType(element);
		return this.images.forBehavior(
				element.getVisibility(),
				this.adornments.get(jvmElement));
	}
60218
private List<Content> rewriteImage(Element element) {

    // resolve media metadata from DOM element
    Media media = getImageMedia(element);

    // build image for media metadata
    Element imageElement = buildImageElement(media, element);

    // return modified element
    List<Content> content = new ArrayList<Content>();
    if (imageElement != null) {
      content.add(imageElement);
    }
    return content;
  }
1111007
protected Image _image(XtendMember modelElement) {
		final Image img = super._image(modelElement);
		return this.diagnoticDecorator.decorateImage(img, modelElement);
	}
1063554
private XmlElementFinder getElementFinder(final Element element) {
		if (elementFinder == null) {
			elementFinder = new XmlElementFinder(element.getDocument());
		}
		return elementFinder;
	}
274542
void visit(ImageElement element, int value) throws IOException {
    visit(element, Integer.toString(value));
  }
1310739
public void addElement(ObjectProperty element) {
        assertNotNull(element);
        if (elements == null) {
            elements = new ArrayList<ObjectProperty>();
        }
        elements.add(element);
        element.setParent(this);
    }
453031
public static ImageDescriptor getDescriptor(String key)
	{
		if (fgImageRegistry == null)
		{
			return fgAvoidSWTErrorMap.get(key);
		}
		return getImageRegistry().getDescriptor(key);
	}
931636
public void add(String text, Image image) {
        this.imageElem = image.getElement().toString();
        add(text + image);
    }
1172123
private ClassBuilder getClassBuilder(Element element) {
        ClassBuilder classBuilder = new ClassBuilder(messager, element);
        classBuilder.setBindingManager(this);
        return classBuilder;
    }
589688
private Media getImageMedia(Element element) {
    String ref = element.getAttributeValue("src");
    if (StringUtils.isNotEmpty(ref)) {
      ref = unexternalizeImageRef(ref);
    }
    return mediaHandler.get(ref).build();
  }
1004816
public static org.w3c.dom.Element convertElement(Element element) {
        return NodeAdaptors.getElement(element);
    }
825416
private String parseXmlElement(Element element) {
        if(element.getFirstChild() instanceof Text) {
            Text text = (Text) element.getFirstChild();
            return text.getData();
        }
       
        return toXml(element);
    }
765378
@XmlElementWrapper(name="images")
    @XmlElement(name="im", type=Im.class)
    public List<Im> getImages() {
        return images;
    }
903866
public void setImage(final Image image) {
		ButtonModel model = getOrCreateComponentModel();
		model.image = image;
		model.imageUrl = null;
	}
1222089
public void setImage(String src) {
        if (src == null) {
            throw new RuntimeException("Cannot set image to null. Call removeImage() if you wanted to remove the image");
        }

        if (imageElem == null) {
            imageElem = Document.get().createImageElement();
            // must be first child according to jquery.mobile-1.4.x.css
            if (anchor != null) anchor.insertFirst(imageElem);
            else insertFirstChild(imageElem);
        }
        imageElem.setAttribute("src", src);
        getElement().addClassName(STYLE_UI_LI_HAS_THUMB);
    }
1043010
public String getPlainText(Element element) {
        FormattingVisitor formatter = new FormattingVisitor();
        NodeTraversor.traverse(formatter, element); // walk the DOM, and call .head() and .tail() for each node

        return formatter.toString();
    }
1289055
public PageSnapshot monochrome(WebElement element) {
        try {
            image = ImageProcessor.monochromeArea(image, new Coordinates(element,devicePixelRatio));
        } catch (RasterFormatException rfe) {
            throw new ElementOutsideViewportException(ELEMENT_OUT_OF_VIEWPORT_EX_MESSAGE, rfe);
        }
        return this;
    }