public abstract class DebateStructure extends Object implements Contains, Name
The type debateStructure specifies the overall content model of the document types that describe debates.
<xsd:complexType name=“debateStructure”> <xsd:sequence> <xsd:element ref=“meta”/> <xsd:element ref=“coverPage” minOccurs=“0” maxOccurs=“1”/> <xsd:element ref=“preface” minOccurs=“0” maxOccurs=“1”/> <xsd:element ref=“debateBody”/> <xsd:element ref=“conclusions” minOccurs=“0” maxOccurs=“1”/> <xsd:element ref=“attachments” minOccurs=“0” maxOccurs=“1”/> <xsd:element ref=“components” minOccurs=“0” maxOccurs=“1”/> <xsd:sequence> <xsd:attributeGroup ref=“name”/> <xsd:attribute name=“contains” type=“versionType” default=“originalVersion”/> <xsd:complexType>
| Modifier and Type | Field and Description |
|---|---|
protected static com.google.common.collect.ImmutableMap<String,AttributeGetterSetter<AknObject>> |
ATTRIBUTES |
| Constructor and Description |
|---|
DebateStructure() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(AknVisitor visitor) |
com.google.common.collect.ImmutableMap<String,AttributeGetterSetter<AknObject>> |
attributes()
To read attributes.
|
Attachments |
getAttachments() |
Components |
getComponents() |
Conclusions |
getConclusions() |
VersionType |
getContains() |
CoverPage |
getCoverPage() |
DebateBody |
getDebateBody() |
Meta |
getMeta() |
String |
getName() |
Preface |
getPreface() |
void |
read(XmlReader reader)
The object implements the read method to restore its contents by calling the methods of Input.
|
protected void |
readConclusionsAttachments(XmlReader reader) |
protected void |
readCoverPage(XmlReader reader) |
protected void |
readMeta(XmlReader reader) |
protected void |
readMetaCoverPagePreface(XmlReader reader) |
void |
setAttachments(Attachments attachments) |
void |
setComponents(Components components) |
void |
setConclusions(Conclusions conclusions) |
void |
setContains(VersionType versionType) |
void |
setCoverPage(CoverPage coverPage) |
void |
setName(String name) |
void |
setPreface(Preface preface) |
String |
toString() |
protected void |
visitAttachments(AknVisitor visitor) |
protected void |
visitComponents(AknVisitor visitor) |
protected void |
visitConclusions(AknVisitor visitor) |
protected void |
visitCoverPage(AknVisitor visitor) |
protected void |
visitMeta(AknVisitor visitor) |
protected void |
visitPreface(AknVisitor visitor) |
void |
write(XmlWriter writer)
The object implements the write method to save its contents by calling the methods of Output.
|
protected void |
writeConclusionsAttachments(XmlWriter writer) |
protected void |
writeCoverPage(XmlWriter writer) |
protected void |
writeMeta(XmlWriter writer) |
protected void |
writeMetaCoverPagePreface(XmlWriter writer) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompare, name, nestedCompareadd, getAttributes, nestedCompareprotected static final com.google.common.collect.ImmutableMap<String,AttributeGetterSetter<AknObject>> ATTRIBUTES
public VersionType getContains()
getContains in interface Containspublic void setContains(VersionType versionType)
setContains in interface Containspublic DebateBody getDebateBody()
public 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 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 Externalizablereader - the stream to read data from in order to restore the objectpublic com.google.common.collect.ImmutableMap<String,AttributeGetterSetter<AknObject>> attributes()
To read attributes.
attributes in interface AknObjectpublic void accept(AknVisitor visitor)
public final Meta getMeta()
public final CoverPage getCoverPage()
getCoverPage in interface HasCoverPagepublic final void setCoverPage(CoverPage coverPage)
setCoverPage in interface HasCoverPagepublic final Preface getPreface()
getPreface in interface HasPrefacepublic final void setPreface(Preface preface)
setPreface in interface HasPrefacepublic final Attachments getAttachments()
public final void setAttachments(Attachments attachments)
public final Conclusions getConclusions()
public final void setConclusions(Conclusions conclusions)
public final Components getComponents()
public final void setComponents(Components components)
protected final void writeMeta(XmlWriter writer) throws IOException
IOExceptionprotected final void writeCoverPage(XmlWriter writer) throws IOException
IOExceptionprotected final void writeMetaCoverPagePreface(XmlWriter writer) throws IOException
IOExceptionprotected final void writeConclusionsAttachments(XmlWriter writer) throws IOException
IOExceptionprotected final void readMeta(XmlReader reader)
protected final void readCoverPage(XmlReader reader)
protected final void readMetaCoverPagePreface(XmlReader reader)
protected final void readConclusionsAttachments(XmlReader reader)
protected final void visitMeta(AknVisitor visitor)
protected final void visitCoverPage(AknVisitor visitor)
protected final void visitPreface(AknVisitor visitor)
protected final void visitConclusions(AknVisitor visitor)
protected final void visitAttachments(AknVisitor visitor)
protected final void visitComponents(AknVisitor visitor)
Copyright © 2017. All rights reserved.