/** * Constructor for the <code>InputAttribute</code> object. This * is used to create an input attribute using the provided name * and value, all other values for this input node will be null. * * @param parent this is the parent node to this attribute * @param attribute this is the attribute containing the details */ public InputAttribute(InputNode parent, Attribute attribute) { this.reference = attribute.getReference(); this.prefix = attribute.getPrefix(); this.source = attribute.getSource(); this.value = attribute.getValue(); this.name = attribute.getName(); this.parent = parent; }
/** * Constructor for the <code>InputAttribute</code> object. This * is used to create an input attribute using the provided name * and value, all other values for this input node will be null. * * @param parent this is the parent node to this attribute * @param attribute this is the attribute containing the details */ public InputAttribute(InputNode parent, Attribute attribute) { this.reference = attribute.getReference(); this.prefix = attribute.getPrefix(); this.source = attribute.getSource(); this.value = attribute.getValue(); this.name = attribute.getName(); this.parent = parent; }
/** * Constructor for the <code>InputAttribute</code> object. This * is used to create an input attribute using the provided name * and value, all other values for this input node will be null. * * @param parent this is the parent node to this attribute * @param attribute this is the attribute containing the details */ public InputAttribute(InputNode parent, Attribute attribute) { this.reference = attribute.getReference(); this.prefix = attribute.getPrefix(); this.source = attribute.getSource(); this.value = attribute.getValue(); this.name = attribute.getName(); this.parent = parent; }