public abstract class Blocksopt extends AbstractCore implements CoreOpt, BlockElementsContainer<BlockElements>
The complex type blocksopt defines the content model and attributes shared by all containers. Here the eId attribute is optional.
<xsd:complexType name=“blocksopt”> <xsd:sequence minOccurs=“0” maxOccurs=“unbounded”> <xsd:group ref=“blockElements”/> <xsd:sequence> <xsd:attributeGroup ref=“coreopt”/> <xsd:complexType>
ATTRIBUTES| Constructor and Description |
|---|
Blocksopt() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(AknVisitor visitor) |
void |
add(ANblock block) |
void |
add(BlockElements element) |
void |
add(HTMLblock block) |
void |
read(XmlReader reader)
The object implements the read method to restore its contents by calling the methods of Input.
|
boolean |
remove(ANblock block) |
BlockElements |
remove(int index) |
boolean |
removeBlockElements(BlockElements element) |
Stream<BlockElements> |
stream() |
void |
write(XmlWriter writer)
The object implements the write method to save its contents by calling the methods of Output.
|
add, attributes, 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, setAlternativeTogetEid, getEvolvingId, getGUID, getId, getWid, setEid, setEvolvingId, setGUID, setId, setWidattributes, compare, namepublic boolean removeBlockElements(BlockElements element)
public final BlockElements remove(int index)
remove in interface Container<BlockElements>public Stream<BlockElements> stream()
stream in interface Container<BlockElements>public final void add(BlockElements element)
add in interface BlockElementsContainer<BlockElements>public void add(HTMLblock block)
add in interface HTMLblockContainer<BlockElements>public void add(ANblock block)
add in interface ANblockContainer<BlockElements>public boolean remove(ANblock block)
remove in interface ANblockContainer<BlockElements>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 CoreOptwrite in interface IdOptwrite in interface Externalizablewriter - the stream to write the object toIOExceptionpublic void accept(AknVisitor visitor)
Copyright © 2017. All rights reserved.