All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.thaiopensource.relaxng.edit.AbstractVisitor Maven / Gradle / Ivy

There is a newer version: 20220510
Show newest version
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;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy