public final class Date extends InlineType implements Date, ANsemanticInline
The element date is an inline element to identify a date expressed in the text and to propose a normalized representation in the date attribute.
<xsd:element name=“date”> <xsd:complexType mixed=“true”> <xsd:complexContent> <xsd:extension base=“inline”> <xsd:attributeGroup ref=“date”/> <xsd:extension> <xsd:complexContent> <xsd:complexType> <xsd:element>
| Constructor and Description |
|---|
Date() |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableMap<String,AttributeGetterSetter<AknObject>> |
attributes()
To read attributes.
|
OffsetDateTime |
getDate() |
String |
name()
Name of this object (the name of the xml element)
|
void |
setDate(OffsetDateTime date) |
void |
write(XmlWriter writer)
The object implements the write method to save its contents by calling the methods of Output.
|
acceptadd, add, add, add, add, add, getData, read, removeadd, 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, waitcompare, nestedComparereadadd, getAttributes, nestedComparegetClazz, getStyle, getTitle, setClazz, setStyle, setTitlegetEid, getEvolvingId, getGUID, getId, getWid, setEid, setEvolvingId, setGUID, setId, setWidgetRefersTo, setRefersTogetAlternativeTo, setAlternativeTopublic OffsetDateTime getDate()
public void setDate(OffsetDateTime date)
public 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 Externalizablewrite in class InlineTypewriter - the stream to write the object toIOExceptionpublic 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 AbstractCoreCopyright © 2017. All rights reserved.