com.thaiopensource.relaxng.edit.CompositePattern 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 java.util.ArrayList;
import java.util.List;
public abstract class CompositePattern extends Pattern {
private final List children = new ArrayList();
public List getChildren() {
return children;
}
public void childrenAccept(PatternVisitor> visitor) {
for (Pattern p : children)
p.accept(visitor);
}
}