public final class AlternativeReference extends AnyOtherType implements RefersOpt, ShowOpt, For, OtherReferencesElement
The element alternativeReference contains an alternative reference (e.g., using a different namespace) for a legal reference.
<xsd:element name=“alternativeReference” type=“anyOtherType”> <xsd:complexType> <xsd:complexContent> <xsd:extension base=“anyOtherType”> <xsd:attribute name=“for” type=“eIdRef”/> <xsd:attributeGroup ref=“refers”/> <xsd:attributeGroup ref=“showopt”/> <xsd:extension> <xsd:complexContent> <xsd:complexType> <xsd:element>
| Constructor and Description |
|---|
AlternativeReference() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(AknVisitor visitor) |
com.google.common.collect.ImmutableMap<String,AttributeGetterSetter<AknObject>> |
attributes()
To read attributes.
|
EidRef |
getFor() |
ListReferenceRef |
getRefersTo() |
String |
getShortForm() |
String |
getShowAs() |
String |
name()
Name of this object (the name of the xml element)
|
void |
setFor(EidRef for_) |
void |
setRefersTo(ListReferenceRef refersTo) |
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.
|
add, add, getHref, read, setHrefgetEid, getEvolvingId, getGUID, getId, getWid, setEid, setEvolvingId, setGUID, setId, setWid, toString, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompare, nestedComparereadgetAttributes, nestedComparepublic void setRefersTo(ListReferenceRef refersTo)
setRefersTo in interface Referspublic String getShortForm()
getShortForm in interface Showpublic void setShortForm(String shortForm)
setShortForm in interface Showpublic ListReferenceRef getRefersTo()
getRefersTo in interface Referspublic 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 Externalizablewrite in class AnyOtherTypewriter - 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 AnyOtherTypepublic void accept(AknVisitor visitor)
accept in interface Visitableaccept in class AnyOtherTypeCopyright © 2017. All rights reserved.