public final class TextualMod extends ModificationType implements TextualModType, AmendmentsElement
The element textualMod is a metadata element specifying an (active or passive) textual modification for the document.
<xsd:element name=“textualMod”> <xsd:complexType> <xsd:complexContent> <xsd:extension base=“modificationType”> <xsd:sequence> <xsd:element ref=“previous” minOccurs=“0” maxOccurs=“1”/> <xsd:element ref=“old” minOccurs=“0” maxOccurs=“1” /> <xsd:element ref=“new” minOccurs=“0” maxOccurs=“1” /> <xsd:sequence> <xsd:attributeGroup ref=“textualModType”/> <xsd:extension> <xsd:complexContent> <xsd:complexType> <xsd:element>
| Modifier and Type | Field and Description |
|---|---|
protected static com.google.common.collect.ImmutableMap<String,AttributeGetterSetter<AknObject>> |
ATTRIBUTES |
| Constructor and Description |
|---|
TextualMod() |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableMap<String,AttributeGetterSetter<AknObject>> |
attributes()
To read attributes.
|
TextualMods |
getType() |
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 |
setType(TextualMods type) |
void |
write(XmlWriter writer)
The object implements the write method to save its contents by calling the methods of Output.
|
addDestination, addSource, getExclusion, getIncomplete, getPeriod, getRefersTo, getStatus, setExclusion, setIncomplete, setPeriod, setRefersTo, setStatusgetEid, getEvolvingId, getGUID, getId, getWid, setEid, setEvolvingId, setGUID, setId, setWid, toString, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompare, nestedCompareadd, getAttributes, nestedCompareprotected static final com.google.common.collect.ImmutableMap<String,AttributeGetterSetter<AknObject>> ATTRIBUTES
public TextualMods getType()
getType in interface TextualModTypepublic void setType(TextualMods type)
setType in interface TextualModTypepublic 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 IdReqwrite in interface Externalizablewrite in class ModificationTypewriter - the stream to write the object toIOExceptionpublic 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 ModificationTypereader - the stream to read data from in order to restore the objectpublic 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 ModificationTypeCopyright © 2017. All rights reserved.