com.thaiopensource.relaxng.output.xsd.basic.GroupRef Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of trang Show documentation
Show all versions of trang Show documentation
Trang, a multi-format schema converter based on RELAX NG.
The newest version!
package com.thaiopensource.relaxng.output.xsd.basic;
import com.thaiopensource.relaxng.edit.SourceLocation;
public class GroupRef extends Particle {
private final String name;
public GroupRef(SourceLocation location, Annotation annotation, String name) {
super(location, annotation);
this.name = name;
}
public String getName() {
return name;
}
public T accept(ParticleVisitor visitor) {
return visitor.visitGroupRef(this);
}
public boolean equals(Object obj) {
return super.equals(obj) && name.equals(((GroupRef)obj).name);
}
public int hashCode() {
return super.hashCode() ^ name.hashCode();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy