Top Description Constructors Methods
org.yaml.snakeyaml.constructor

public abstract Class AbstractConstruct

extends Object
implements Construct
Class Inheritance
All Implemented Interfaces
org.yaml.snakeyaml.constructor.Construct
Known Direct Subclasses
org.yaml.snakeyaml.constructor.Constructor.ConstructScalar, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlNull, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlBool, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlInt, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlFloat, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlBinary, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlTimestamp, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlOmap, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlPairs, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructYamlStr, org.yaml.snakeyaml.constructor.SafeConstructor.ConstructUndefined, org.yaml.snakeyaml.env.EnvScalarConstructor.ConstructEnv
Imports
org.yaml.snakeyaml.error.YAMLException, org.yaml.snakeyaml.nodes.Node

Because recursive structures are not very common we provide a way to save some typing when extending a constructor

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
construct2ndStep(Node
composed Node
node
,
Object
the instance constructed earlier by construct(Node node) for the provided Node
data
)

Implements org.yaml.snakeyaml.constructor.Construct.construct2ndStep.

Fail with a reminder to provide the seconds step for a recursive structure
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

AbstractConstructback to summary
public AbstractConstruct()

Method Detail

construct2ndStepback to summary
public void construct2ndStep(Node node, Object data)

Implements org.yaml.snakeyaml.constructor.Construct.construct2ndStep.

Fail with a reminder to provide the seconds step for a recursive structure

Parameters
node:Node

Doc from org.yaml.snakeyaml.constructor.Construct.construct2ndStep.

composed Node

data:Object

Doc from org.yaml.snakeyaml.constructor.Construct.construct2ndStep.

the instance constructed earlier by construct(Node node) for the provided Node

See Also
org.yaml.snakeyaml.constructor.Construct#construct2ndStep(org.yaml.snakeyaml.nodes.Node, java.lang.Object)