public class MgnlYamlConstructor
extends org.yaml.snakeyaml.constructor.Constructor
SnakeYAML constructor
.
Provides simple API for registering custom constructs bound to tags and tag prefixes. Exposes the factory method for producing the
constructs
by the node types (getConstructByNodeType(Node)
). Finally, MgnlYamlConstructor
allows to aggregate the dependencies encountered during YAML parsing (other YAML files, definitions etc).Modifier and Type | Class and Description |
---|---|
static class |
MgnlYamlConstructor.YamlConfigurationDependencyAggregator
Simple aggregator class which allows to collect a set of
YamlConfigurationDependency instances. |
org.yaml.snakeyaml.constructor.Constructor.ConstructMapping, org.yaml.snakeyaml.constructor.Constructor.ConstructScalar, org.yaml.snakeyaml.constructor.Constructor.ConstructSequence, org.yaml.snakeyaml.constructor.Constructor.ConstructYamlObject
org.yaml.snakeyaml.constructor.SafeConstructor.ConstructUndefined, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlBinary, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlBool, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlFloat, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlInt, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlMap, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlNull, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlNumber, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlOmap, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlPairs, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlSeq, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlSet, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlStr, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlTimestamp
Modifier and Type | Method and Description |
---|---|
org.yaml.snakeyaml.constructor.Construct |
getConstructByNodeType(org.yaml.snakeyaml.nodes.Node node) |
MgnlYamlConstructor.YamlConfigurationDependencyAggregator |
getDependencyAggregator() |
addTypeDescription, getClassForName, getClassForNode
constructMapping2ndStep, constructSet2ndStep, flattenMapping
checkData, constructArray, constructArrayStep2, constructMapping, constructObject, constructScalar, constructSequence, constructSequenceStep2, constructSet, constructSet, createArray, createDefaultList, createDefaultMap, createDefaultSet, createDefaultSet, getConstructor, getData, getPropertyUtils, getSingleData, isExplicitPropertyUtils, setComposer, setPropertyUtils
public org.yaml.snakeyaml.constructor.Construct getConstructByNodeType(org.yaml.snakeyaml.nodes.Node node)
public MgnlYamlConstructor.YamlConfigurationDependencyAggregator getDependencyAggregator()
Copyright © 2003–2017 Magnolia International Ltd.. All rights reserved.