/// <summary> /// Constructor for the <c>ReadGraph</c> object. This is used /// to create graphs that are used for reading objects from the XML /// document. The specified strategy is used to acquire the names /// of the special attributes used during the serialization. /// </summary> /// <param name="contract"> /// this is the name scheme used by the strategy /// </param> /// <param name="loader"> /// this is the class loader to used for the graph /// </param> public ReadGraph(Contract contract, Loader loader) { this.refer = contract.getReference(); this.mark = contract.getIdentity(); this.length = contract.getLength(); this.label = contract.getLabel(); this.loader = loader; }