public abstract class LinkType extends AbstractId implements Core, IdReq, ShowReq, LinkReq
The complex type linkType defines the empty content model and the list of attributes for Work- or Expression-level references to external resources.
<xsd:complexType name=“linkType”> <xsd:attributeGroup ref=“core”/> <xsd:attributeGroup ref=“idreq”/> <xsd:attributeGroup ref=“link”/> <xsd:attributeGroup ref=“show”/> <xsd:complexType>
| Modifier and Type | Field and Description |
|---|---|
protected static com.google.common.collect.ImmutableMap<String,AttributeGetterSetter<AknObject>> |
ATTRIBUTES |
| Constructor and Description |
|---|
LinkType() |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableMap<String,AttributeGetterSetter<AknObject>> |
attributes()
To read attributes.
|
Uri |
getHref() |
String |
getShortForm() |
String |
getShowAs() |
void |
read(XmlReader reader)
The object implements the read method to restore its contents by calling the methods of Input.
|
void |
setHref(Uri href) |
void |
setShortForm(String shortForm) |
void |
setShowAs(String showAs) |
void |
write(XmlWriter writer)
The object implements the write method to save its contents by calling the methods of Output.
|
getEid, getEvolvingId, getGUID, getId, getWid, setEid, setEvolvingId, setGUID, setId, setWid, toString, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitadd, getAttributes, nestedCompareprotected static final com.google.common.collect.ImmutableMap<String,AttributeGetterSetter<AknObject>> ATTRIBUTES
public String getShortForm()
getShortForm in interface Showpublic void setShortForm(String shortForm)
setShortForm in interface Showpublic 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 Externalizablewriter - 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 AbstractIdreader - the stream to read data from in order to restore the objectpublic com.google.common.collect.ImmutableMap<String,AttributeGetterSetter<AknObject>> attributes()
AbstractIdTo read attributes.
attributes in interface AknObjectattributes in class AbstractIdCopyright © 2017. All rights reserved.