org.kohsuke.rngom.nc.NullNameClass Maven / Gradle / Ivy
Go to download
Old JAXB Binding Compiler. Contains source code needed for binding customization files into java sources.
In other words: the *tool* to generate java classes for the given xml representation.
package org.kohsuke.rngom.nc;
import javax.xml.namespace.QName;
final class NullNameClass extends NameClass {
protected NullNameClass() {
}
public boolean contains(QName name) {
return false;
}
public int containsSpecificity(QName name) {
return SPECIFICITY_NONE;
}
public int hashCode() {
return NullNameClass.class.hashCode();
}
public boolean equals(Object obj) {
return this==obj;
}
public V accept(NameClassVisitor visitor) {
return visitor.visitNull();
}
public boolean isOpen() {
return false;
}
private Object readResolve() {
return NameClass.NULL;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy