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

com.thaiopensource.util.PropertyId Maven / Gradle / Ivy

Go to download

A branch of Jing used by the Nu Html Checker. (Jing is a tool for validating documents against RelaxNG schemas.)

The newest version!
package com.thaiopensource.util;

public class PropertyId {
  private final String name;
  private final Class valueClass;

  public PropertyId(String name, Class valueClass) {
    if (name == null || valueClass == null)
      throw new NullPointerException();
    this.name = name;
    this.valueClass = valueClass;
  }

  public Class getValueClass() {
    return valueClass;
  }

  public final int hashCode() {
    return super.hashCode();
  }

  public final boolean equals(Object obj) {
    return super.equals(obj);
  }

  public String toString() {
    return name;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy