org.kohsuke.rngom.nc.NameClassVisitor 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;
/**
* Visitor pattern over {@link NameClass} and its subclasses.
*/
public interface NameClassVisitor {
/**
* Called for {@link ChoiceNameClass}
*/
V visitChoice(NameClass nc1, NameClass nc2);
/**
* Called for {@link NsNameClass}
*/
V visitNsName(String ns);
/**
* Called for {@link NsNameExceptNameClass}
*/
V visitNsNameExcept(String ns, NameClass nc);
/**
* Called for {@link NameClass#ANY}
*/
V visitAnyName();
/**
* Called for {@link AnyNameExceptNameClass}
*/
V visitAnyNameExcept(NameClass nc);
/**
* Called for {@link SimpleNameClass}
*/
V visitName(QName name);
/**
* Called for {@link NameClass#NULL}.
*/
V visitNull();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy