public class WrapMetadata extends MgnlYamlConstruct
construct
bound to !metadata tag.
It simply wraps given yaml node into WrapMetadata.Metadata
object which later will be processed by
MetadataProcessor
.
Modifier and Type | Class and Description |
---|---|
static class |
WrapMetadata.Metadata
Simple Map to present Metadata objects.
|
Modifier and Type | Field and Description |
---|---|
static String |
TAG_PREFIX |
Constructor and Description |
---|
WrapMetadata(Consumer<DefinitionProvider.Problem> problemCollector) |
Modifier and Type | Method and Description |
---|---|
Object |
construct(org.yaml.snakeyaml.nodes.Node node) |
getConstructor, reportProblem, setConstructor
public static final String TAG_PREFIX
public WrapMetadata(Consumer<DefinitionProvider.Problem> problemCollector)
public Object construct(org.yaml.snakeyaml.nodes.Node node)
Copyright © 2003–2021 Magnolia International Ltd.. All rights reserved.