public abstract class ModType extends AbstractCore implements CoreReq, For
the complex type modType specifies the content that is allowed within mod, mmod and rmod elements, i.e. it adds quotedText and quotedStructure to the normal list of inline elements. Attribute for is used to point to the eId of the corresponding ref element.
<xsd:complexType name=“modType” mixed=“true”> <xsd:choice minOccurs=“0” maxOccurs=“unbounded”> <xsd:group ref=“inlineCM” /> <xsd:element ref=“quotedText” /> <xsd:element ref=“quotedStructure” /> <xsd:choice> <xsd:attributeGroup ref=“corereq” /> <xsd:attributeGroup ref=“for”/> <xsd:complexType>
| Modifier and Type | Field and Description |
|---|---|
protected static com.google.common.collect.ImmutableMap<String,AttributeGetterSetter<AknObject>> |
ATTRIBUTES |
| Constructor and Description |
|---|
ModType() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(AknVisitor visitor) |
void |
add(ModTypeItem item) |
com.google.common.collect.ImmutableMap<String,AttributeGetterSetter<AknObject>> |
attributes()
To read attributes.
|
EidRef |
getFor() |
void |
read(XmlReader reader)
The object implements the read method to restore its contents by calling the methods of Input.
|
void |
setFor(EidRef for_) |
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, setAlternativeToprotected static final com.google.common.collect.ImmutableMap<String,AttributeGetterSetter<AknObject>> ATTRIBUTES
public final void add(ModTypeItem item)
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 CoreReqwrite in interface IdReqwrite 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 AbstractCorepublic void accept(AknVisitor visitor)
Copyright © 2017. All rights reserved.