Class Section
java.lang.Object
net.dzikoysk.cdn.model.Section
- All Implemented Interfaces:
Element<List<? extends Element<?>>>,NamedElement<List<? extends Element<?>>>
- Direct Known Subclasses:
Array,Configuration
Represents a list of configuration elements
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<E extends Element<?>>
Eappend(E element) panda.std.Option<Element<?>> get(int index) panda.std.Option<Element<?>> panda.std.Option<Array> getArray(int index) panda.std.Option<Array> panda.std.Option<Boolean> getBoolean(String key) booleangetBoolean(String key, boolean defaultValue) panda.std.Option<Entry> getEntry(int index) panda.std.Option<Entry> panda.std.Option<Integer> intgetName()The name of elementString[]panda.std.Option<Section> getSection(int index) panda.std.Option<Section> getSection(String key) panda.std.Option<String> getValue()booleanvoidvoidintsize()
-
Field Details
-
description
-
name
-
value
-
-
Constructor Details
-
Section
-
Section
-
Section
-
Section
-
-
Method Details
-
append
-
setString
-
has
-
size
public int size() -
get
-
get
-
getList
-
getList
-
getBoolean
-
getBoolean
-
getInt
-
getInt
-
getString
-
getString
-
getEntry
-
getEntry
-
getArray
-
getArray
-
getSection
-
getSection
-
getOperators
-
collector
-
setValue
-
getDescription
- Specified by:
getDescriptionin interfaceElement<T>
-
getValue
-
getName
Description copied from interface:NamedElementThe name of element- Specified by:
getNamein interfaceNamedElement<T>- Returns:
- element name
-