com.thaiopensource.relaxng.edit.AbstractVisitor 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.
package com.thaiopensource.relaxng.edit;
import com.thaiopensource.util.VoidValue;
public class AbstractVisitor extends AbstractPatternVisitor implements ComponentVisitor, NameClassVisitor,
AnnotationChildVisitor, AttributeAnnotationVisitor {
public VoidValue visitPattern(Pattern p) {
return VoidValue.VOID;
}
public VoidValue visitDefine(DefineComponent c) {
return visitComponent(c);
}
public VoidValue visitDiv(DivComponent c) {
return visitComponent(c);
}
public VoidValue visitInclude(IncludeComponent c) {
return visitComponent(c);
}
public VoidValue visitComponent(Component c) {
return VoidValue.VOID;
}
public VoidValue visitChoice(ChoiceNameClass nc) {
return visitNameClass(nc);
}
public VoidValue visitAnyName(AnyNameNameClass nc) {
return visitNameClass(nc);
}
public VoidValue visitNsName(NsNameNameClass nc) {
return visitNameClass(nc);
}
public VoidValue visitName(NameNameClass nc) {
return visitNameClass(nc);
}
public VoidValue visitNameClass(NameClass nc) {
return VoidValue.VOID;
}
public VoidValue visitText(TextAnnotation ta) {
return visitAnnotationChild(ta);
}
public VoidValue visitComment(Comment c) {
return visitAnnotationChild(c);
}
public VoidValue visitElement(ElementAnnotation ea) {
return visitAnnotationChild(ea);
}
public VoidValue visitAnnotationChild(AnnotationChild ac) {
return VoidValue.VOID;
}
public VoidValue visitAttribute(AttributeAnnotation a) {
return VoidValue.VOID;
}
}