Class 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 Detail

      • ConstructScalar

        protected ConstructScalar()
    • Method Detail

      • construct

        public java.lang.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
      • constructStandardJavaInstance

        private java.lang.Object constructStandardJavaInstance​(java.lang.Class type,
                                                               ScalarNode node)