com.thaiopensource.relaxng.output.xsd.basic.ParticleGroup 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;
import java.util.List;
import java.util.Collections;
public abstract class ParticleGroup extends Particle {
private final List children;
public ParticleGroup(SourceLocation location, Annotation annotation, List children) {
super(location, annotation);
this.children = Collections.unmodifiableList(children);
}
public List getChildren() {
return children;
}
public boolean equals(Object obj) {
return super.equals(obj) && ((ParticleGroup)obj).children.equals(children);
}
public int hashCode() {
return super.hashCode() ^ getChildren().hashCode();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy