com.thaiopensource.relaxng.edit.GrammarPattern 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
Jing/Trang - tools for validating and translating RelaxNG
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);
}
}