org.elasticsearch.util.yaml.snakeyaml.constructor
Class AbstractConstruct

java.lang.Object
  extended by org.elasticsearch.util.yaml.snakeyaml.constructor.AbstractConstruct
All Implemented Interfaces:
Construct
Direct Known Subclasses:
Constructor.ConstructScalar, SafeConstructor.ConstructYamlTimestamp

public abstract class AbstractConstruct
extends java.lang.Object
implements Construct

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


Constructor Summary
AbstractConstruct()
           
 
Method Summary
 void construct2ndStep(YamlNode node, java.lang.Object data)
          Fail with a reminder to provide the seconds step for a recursive structure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.elasticsearch.util.yaml.snakeyaml.constructor.Construct
construct
 

Constructor Detail

AbstractConstruct

public AbstractConstruct()
Method Detail

construct2ndStep

public void construct2ndStep(YamlNode node,
                             java.lang.Object data)
Fail with a reminder to provide the seconds step for a recursive structure

Specified by:
construct2ndStep in interface Construct
Parameters:
node - composed Node
data - the instance constructed earlier by construct(Node node) for the provided Node
See Also:
Construct.construct2ndStep(org.elasticsearch.util.yaml.snakeyaml.nodes.YamlNode , java.lang.Object)