| Package | Description |
|---|---|
| net.dzikoysk.cdn | |
| net.dzikoysk.cdn.composers | |
| net.dzikoysk.cdn.features | |
| net.dzikoysk.cdn.model | |
| net.dzikoysk.cdn.serialization |
| Modifier and Type | Method and Description |
|---|---|
default Element<?> |
CdnFeature.resolveArrayValue(Element<?> element) |
default Element<?> |
CdnFeature.visitArrayValue(Element<?> element) |
| Modifier and Type | Method and Description |
|---|---|
String |
Cdn.render(Element<?> element)
Convert the given configuration instance to the output string
|
void |
Cdn.render(Element<?> element,
File output)
Convert the given instance using
Cdn.render(net.dzikoysk.cdn.model.Element) method and save the output in the given file using UTF-8 charset. |
default Element<?> |
CdnFeature.resolveArrayValue(Element<?> element) |
default Element<?> |
CdnFeature.visitArrayValue(Element<?> element) |
| Modifier and Type | Method and Description |
|---|---|
T |
ListComposer.deserialize(CdnSettings settings,
Element<?> source,
Type genericType,
T defaultValue,
boolean entryAsRecord) |
T |
MapComposer.deserialize(CdnSettings settings,
Element<?> source,
Type genericType,
T defaultValue,
boolean entryAsRecord) |
| Modifier and Type | Method and Description |
|---|---|
Element<?> |
YamlFeature.resolveArrayValue(Element<?> element) |
Element<?> |
YamlFeature.visitArrayValue(Element<?> element) |
| Modifier and Type | Method and Description |
|---|---|
Element<?> |
YamlFeature.resolveArrayValue(Element<?> element) |
Element<?> |
YamlFeature.visitArrayValue(Element<?> element) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
NamedElement<T>
Represents standalone configuration elements.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Array
Represents section of direct values such as e.g.
|
class |
Configuration
Represents the root section
|
class |
Entry
|
class |
Section
Represents a list of configuration elements
|
class |
Unit
Represents the smallest piece of information in configuration
|
| Modifier and Type | Method and Description |
|---|---|
<E extends Element<?>> |
Section.append(E element) |
| Modifier and Type | Method and Description |
|---|---|
org.panda_lang.utilities.commons.function.Option<Element<?>> |
Section.get(int index) |
org.panda_lang.utilities.commons.function.Option<Element<?>> |
Section.get(String key) |
| Constructor and Description |
|---|
Array(List<? extends String> description,
String name,
List<? extends Element<?>> values) |
Configuration(List<? extends Element<?>> elements) |
Section(List<? extends String> description,
String[] operators,
String name,
List<? extends Element<?>> value) |
Section(List<? extends String> description,
String name,
List<? extends Element<?>> value) |
| Modifier and Type | Method and Description |
|---|---|
Element<?> |
Serializer.serialize(CdnSettings settings,
List<String> description,
String key,
Type genericType,
T entity) |
default Element<?> |
SimpleSerializer.serialize(CdnSettings settings,
List<String> description,
String key,
Type genericType,
T entity) |
| Modifier and Type | Method and Description |
|---|---|
T |
Deserializer.deserialize(CdnSettings settings,
Element<?> source,
Type genericType,
T defaultValue,
boolean entryAsRecord) |
default T |
SimpleDeserializer.deserialize(CdnSettings settings,
Element<?> source,
Type genericType,
T defaultValue,
boolean entryAsRecord) |
Copyright © 2021. All rights reserved.