public abstract class MgnlYamlConstruct
extends org.yaml.snakeyaml.constructor.AbstractConstruct
YAML construct
for Magnolia specific YAML extensions. Provides a reference
to the MgnlYamlConstructor
which has spawned the current construct.Constructor and Description |
---|
MgnlYamlConstruct(Consumer<DefinitionProvider.Problem> problemCollector) |
Modifier and Type | Method and Description |
---|---|
protected MgnlYamlConstructor |
getConstructor() |
protected void |
reportProblem(DefinitionProvider.Problem problem) |
void |
setConstructor(MgnlYamlConstructor constructor) |
public MgnlYamlConstruct(Consumer<DefinitionProvider.Problem> problemCollector)
protected final void reportProblem(DefinitionProvider.Problem problem)
public void setConstructor(MgnlYamlConstructor constructor)
protected MgnlYamlConstructor getConstructor()
Copyright © 2003–2017 Magnolia International Ltd.. All rights reserved.