com.thaiopensource.relaxng.edit.ChoiceNameClass 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 class ChoiceNameClass extends NameClass {
private final List children = new ArrayList();
public List getChildren() {
return children;
}
public T accept(NameClassVisitor visitor) {
return visitor.visitChoice(this);
}
public void childrenAccept(NameClassVisitor> visitor) {
for (NameClass nc : children)
nc.accept(visitor);
}
}