org.kohsuke.rngom.nc.NameClassWalker Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jaxb-xjc Show documentation
Show all versions of jaxb-xjc Show documentation
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;
/**
* @author Kohsuke Kawaguchi
*/
public class NameClassWalker implements NameClassVisitor {
public Void visitChoice(NameClass nc1, NameClass nc2) {
nc1.accept(this);
return nc2.accept(this);
}
public Void visitNsName(String ns) {
return null;
}
public Void visitNsNameExcept(String ns, NameClass nc) {
return nc.accept(this);
}
public Void visitAnyName() {
return null;
}
public Void visitAnyNameExcept(NameClass nc) {
return nc.accept(this);
}
public Void visitName(QName name) {
return null;
}
public Void visitNull() {
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy