public abstract class Hierarchy extends BaseHierarchy implements CoreReq, HierElementsContainer<HierarchyElement>
The complex type hierarchy is used by most or all the hierarchical elements of act-like documents.
<xsd:complexType name=“hierarchy”> <xsd:complexContent> <xsd:extension base=“basehierarchy”> <xsd:choice> <xsd:sequence> <xsd:element ref=“intro” minOccurs=“0” maxOccurs=“1”/> <xsd:choice minOccurs=“0” maxOccurs=“unbounded”> <xsd:element ref=“componentRef”/> <xsd:group ref=“hierElements”/> <xsd:element ref=“crossHeading”/> </xsd:choice> <xsd:element ref=“wrapUp” minOccurs=“0” maxOccurs=“1”/> </xsd:sequence> <xsd:element ref=“content”/> </xsd:choice> <xsd:attributeGroup ref=“corereq”/> </xsd:extension> </xsd:complexContent> </xsd:complexType>
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.collect.ImmutableMap<String,Supplier<HierarchyElement>> |
ELEMS |
ATTRIBUTES| Constructor and Description |
|---|
Hierarchy() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(AknVisitor visitor) |
void |
add(ANhier hier) |
void |
add(HierElements hier) |
void |
addHierarchyElement(HierarchyElement element) |
boolean |
equals(Object obj) |
Content |
getContent() |
Intro |
getIntro() |
void |
nestedCompare(AknObject object,
DiffContext context) |
void |
read(XmlReader reader)
The object implements the read method to restore its contents by calling the methods of Input.
|
boolean |
remove(HierElements hier) |
HierarchyElement |
remove(int index) |
boolean |
removeHierarchyElement(HierarchyElement element) |
void |
setContent(Content content) |
void |
setIntro(Intro intro) |
Stream<HierarchyElement> |
stream() |
void |
write(XmlWriter writer)
The object implements the write method to save its contents by calling the methods of Output.
|
getHeading, getNum, getSubheading, setHeading, setNum, setSubheadingadd, 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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitadd, getAttributesgetClazz, getStyle, getTitle, setClazz, setStyle, setTitlegetRefersTo, setRefersTogetAlternativeTo, setAlternativeTopublic static final com.google.common.collect.ImmutableMap<String,Supplier<HierarchyElement>> ELEMS
public final void addHierarchyElement(HierarchyElement element)
public final boolean removeHierarchyElement(HierarchyElement element)
public final HierarchyElement remove(int index)
remove in interface Container<HierarchyElement>public final void add(HierElements hier)
add in interface HierElementsContainer<HierarchyElement>public boolean remove(HierElements hier)
remove in interface HierElementsContainer<HierarchyElement>public final void add(ANhier hier)
add in interface ANhierContainer<HierarchyElement>public Stream<HierarchyElement> stream()
stream in interface Container<HierarchyElement>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 CoreReqwrite in interface IdReqwrite in interface Externalizablewrite in class BaseHierarchywriter - 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 BaseHierarchyreader - the stream to read data from in order to restore the objectpublic final Content getContent()
public final void setContent(Content content)
public final void setIntro(Intro intro)
public final Intro getIntro()
public void accept(AknVisitor visitor)
accept in interface Visitableaccept in class BaseHierarchypublic void nestedCompare(AknObject object, DiffContext context)
nestedCompare in interface AknObjectnestedCompare in interface CoreCopyright © 2017. All rights reserved.