Class CompactConstructor.ConstructCompactObject

    • Constructor Detail

      • ConstructCompactObject

        public ConstructCompactObject()
    • Method Detail

      • construct2ndStep

        public void construct2ndStep​(Node node,
                                     Object object)
        Description copied from interface: Construct
        Apply the second step when constructing recursive structures. Because the instance is already created it can assign a reference to itself.
        Specified by:
        construct2ndStep in interface Construct
        Overrides:
        construct2ndStep in class Constructor.ConstructMapping
        Parameters:
        node - composed Node
        object - the instance constructed earlier by construct(Node node) for the provided Node