All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.basex.http.web.WebParam Maven / Gradle / Ivy

There is a newer version: 11.6
Show newest version
package org.basex.http.web;

import org.basex.query.value.*;
import org.basex.query.value.item.*;

/**
 * This class contains a single Web parameter.
 *
 * @author BaseX Team, BSD License
 * @author Christian Gruen
 */
public final class WebParam {
  /** Variable name. */
  public final QNm var;
  /** Name of parameter. */
  public final String name;
  /** Default value. */
  public final Value value;

  /**
   * Constructor.
   * @param var variable name
   * @param name name of parameter
   * @param value default value
   */
  public WebParam(final QNm var, final String name, final Value value) {
    this.var = var;
    this.name = name;
    this.value = value;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy