Package org.yaml.snakeyaml.constructor
Class AbstractConstruct
- java.lang.Object
-
- org.yaml.snakeyaml.constructor.AbstractConstruct
-
- All Implemented Interfaces:
Construct
- Direct Known Subclasses:
Constructor.ConstructScalar,SafeConstructor.ConstructUndefined,SafeConstructor.ConstructYamlBinary,SafeConstructor.ConstructYamlBool,SafeConstructor.ConstructYamlFloat,SafeConstructor.ConstructYamlInt,SafeConstructor.ConstructYamlNull,SafeConstructor.ConstructYamlOmap,SafeConstructor.ConstructYamlPairs,SafeConstructor.ConstructYamlStr,SafeConstructor.ConstructYamlTimestamp
public abstract class AbstractConstruct extends Object implements Construct
Because recursive structures are not very common we provide a way to save some typing when extending a constructor
-
-
Constructor Summary
Constructors Constructor Description AbstractConstruct()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconstruct2ndStep(Node node, Object data)Fail with a reminder to provide the seconds step for a recursive structure
-
-
-
Method Detail
-
construct2ndStep
public void construct2ndStep(Node node, Object data)
Fail with a reminder to provide the seconds step for a recursive structure- Specified by:
construct2ndStepin interfaceConstruct- Parameters:
node- composed Nodedata- the instance constructed earlier byconstruct(Node node)for the provided Node- See Also:
Construct.construct2ndStep(org.yaml.snakeyaml.nodes.Node, java.lang.Object)
-
-