public final class Li extends AbstractCore implements CoreOpt, ValueOpt
The element li is an HTML element and is used in Akoma Ntoso as in HTML, for the generic list item (not a pattern).
<xsd:element name=“li”> <xsd:complexType mixed=“true”> <xsd:choice minOccurs=“0” maxOccurs=“unbounded”> <xsd:group ref=“inlineCM”/> <xsd:element ref=“ul”/> <xsd:element ref=“ol”/> <xsd:element ref=“p”/> </xsd:choice> <xsd:attributeGroup ref=“optvalue”/> <xsd:attributeGroup ref=“coreopt”/> </xsd:complexType> </xsd:element>
| Constructor and Description |
|---|
Li() |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableMap<String,AttributeGetterSetter<AknObject>> |
attributes()
To read attributes.
|
String |
getValue() |
String |
name()
Name of this object (the name of the xml element)
|
void |
read(XmlReader reader)
The object implements the read method to restore its contents by calling the methods of Input.
|
void |
setValue(String value) |
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, setEid, setEvolvingId, setGUID, setId, setWid, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitadd, getAttributes, nestedComparegetClazz, getStyle, getTitle, setClazz, setStyle, setTitlegetEid, getEvolvingId, getGUID, getId, getWid, setEid, setEvolvingId, setGUID, setId, setWidgetRefersTo, setRefersTogetAlternativeTo, setAlternativeTopublic String name()
Name of this object (the name of the xml element)
public void read(XmlReader reader)
The object implements the read method to restore its contents by calling the methods of Input.
read in interface Externalizableread in class AbstractIdreader - the stream to read data from in order to restore the objectpublic void write(XmlWriter writer) throws IOException
The object implements the write method to save its contents by calling the methods of Output.
write in interface Corewrite in interface CoreOptwrite in interface IdOptwrite in interface Externalizablewriter - the stream to write the object toIOExceptionpublic com.google.common.collect.ImmutableMap<String,AttributeGetterSetter<AknObject>> attributes()
To read attributes.
attributes in interface AknObjectattributes in class AbstractCoreCopyright © 2017. All rights reserved.