public abstract class ContainerType extends AbstractCore implements CoreReq, Name, BlockElementsContainer<ContainerElement>
The complex type containerType is the content model for the generic element for a container. It can be placed in a container instead of any of the other containers. The attribute name is required and gives a name to the element.
<xsd:complexType name=“containerType”> <xsd:choice minOccurs=“1” maxOccurs=“unbounded”> <xsd:group ref=“blockElements”/> <xsd:element ref=“container”/> <xsd:choice> <xsd:attributeGroup ref=“corereq”/> <xsd:attributeGroup ref=“name”/> <xsd:complexType>
| Constructor and Description |
|---|
ContainerType() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(AknVisitor visitor) |
void |
add(ANblock block) |
void |
add(BlockElements elements) |
void |
add(HTMLblock block) |
com.google.common.collect.ImmutableMap<String,AttributeGetterSetter<AknObject>> |
attributes()
To read attributes.
|
String |
getName() |
void |
read(XmlReader reader)
The object implements the read method to restore its contents by calling the methods of Input.
|
boolean |
remove(ANblock block) |
ContainerElement |
remove(int index) |
void |
setName(String name) |
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, setTitlegetRefersTo, setRefersTogetAlternativeTo, setAlternativeTopublic final ContainerElement remove(int index)
remove in interface Container<ContainerElement>public final void add(BlockElements elements)
add in interface BlockElementsContainer<ContainerElement>public final void add(ANblock block)
add in interface ANblockContainer<ContainerElement>public final boolean remove(ANblock block)
remove in interface ANblockContainer<ContainerElement>public final void add(HTMLblock block)
add in interface HTMLblockContainer<ContainerElement>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.