Class Constructor.ConstructScalar

java.lang.Object
org.yaml.snakeyaml.constructor.AbstractConstruct
org.yaml.snakeyaml.constructor.Constructor.ConstructScalar
All Implemented Interfaces:
Construct
Enclosing class:
Constructor

protected class Constructor.ConstructScalar extends AbstractConstruct
Construct scalar instance when the runtime class is known. Recursive structures are not supported.
  • Constructor Details

    • ConstructScalar

      protected ConstructScalar()
  • Method Details

    • construct

      public Object construct(Node nnode)
      Description copied from interface: Construct
      Construct a Java instance with all the properties injected when it is possible.
      Parameters:
      nnode - composed Node
      Returns:
      a complete Java instance