com.thaiopensource.relaxng.edit.DivComponent 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.List;
import java.util.Vector;
public class DivComponent extends Component implements Container {
private final List components = new Vector();
public List getComponents() {
return components;
}
public T accept(ComponentVisitor visitor) {
return visitor.visitDiv(this);
}
public void componentsAccept(ComponentVisitor> visitor) {
for (Component c : components)
c.accept(visitor);
}
}