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

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

The newest version!
package com.thaiopensource.relaxng.edit;

import java.util.List;
import java.util.Vector;

public class GrammarPattern extends Pattern implements Container {
  private final List components = new Vector();

  public List getComponents() {
    return components;
  }

  public  T accept(PatternVisitor visitor) {
    return visitor.visitGrammar(this);
  }

  public void componentsAccept(ComponentVisitor visitor) {
    for (Component c : components)
      c.accept(visitor);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy