public abstract class SrcType extends AbstractId implements Core, IdOpt, ShowReq, Src
The complex type srcType defines the empty content model and the list of attributes for manifestation-level references to external resources.
<xsd:complexType name=“srcType”> <xsd:attributeGroup ref=“core”/> <xsd:attributeGroup ref=“idopt”/> <xsd:attributeGroup ref=“src”/> <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 |
|---|
SrcType() |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableMap<String,AttributeGetterSetter<AknObject>> |
attributes()
To read attributes.
|
String |
getAlt() |
String |
getShortForm() |
String |
getShowAs() |
ManifestationURI |
getSrc() |
void |
read(XmlReader reader)
The object implements the read method to restore its contents by calling the methods of Input.
|
void |
setAlt(String alt) |
void |
setShortForm(String shortForm) |
void |
setShowAs(String showAs) |
void |
setSrc(ManifestationURI src) |
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 ManifestationURI getSrc()
public void setSrc(ManifestationURI src)
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 IdOptwrite 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.