public final class Img extends MarkerOpt implements Src, ImgAtts, HTMLMarker
The element img is an HTML element and is used in Akoma Ntoso as in HTML, for including an image. It is a marker.
<xsd:element name=“img”> <xsd:complexType> <xsd:complexContent> <xsd:extension base=“markeropt”> <xsd:attributeGroup ref=“src”/> <xsd:attributeGroup ref=“imgAtts”/> <xsd:extension> <xsd:complexContent> <xsd:complexType> <xsd:element>
| Constructor and Description |
|---|
Img() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(AknVisitor visitor) |
com.google.common.collect.ImmutableMap<String,AttributeGetterSetter<AknObject>> |
attributes()
To read attributes.
|
String |
getAlt() |
Integer |
getHeight() |
ManifestationURI |
getSrc() |
Integer |
getWidth() |
String |
name()
Name of this object (the name of the xml element)
|
void |
setAlt(String alt) |
void |
setHeight(Integer height) |
void |
setSrc(ManifestationURI src) |
void |
setWidth(Integer width) |
void |
write(XmlWriter writer)
The object implements the write method to save its contents by calling the methods of Output.
|
add, getAlternativeTo, getAttributes, getClazz, getPeriod, getRefersTo, getStatus, getStyle, getTitle, setAlternativeTo, setClazz, setPeriod, setRefersTo, setStatus, setStyle, setTitle, toStringgetEid, getEvolvingId, getGUID, getId, getWid, read, setEid, setEvolvingId, setGUID, setId, setWid, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompare, nestedComparereadadd, getAttributes, nestedComparegetClazz, getStyle, getTitle, setClazz, setStyle, setTitlegetEid, getEvolvingId, getGUID, getId, getWid, setEid, setEvolvingId, setGUID, setId, setWidgetRefersTo, setRefersTogetAlternativeTo, setAlternativeTopublic ManifestationURI getSrc()
public void setSrc(ManifestationURI src)
public void write(XmlWriter writer) throws IOException
The object implements the write method to save its contents by calling the methods of Output.
public String name()
Name of this object (the name of the xml element)
public com.google.common.collect.ImmutableMap<String,AttributeGetterSetter<AknObject>> attributes()
To read attributes.
attributes in interface AknObjectattributes in class AbstractCorepublic void accept(AknVisitor visitor)
Copyright © 2017. All rights reserved.