com.thaiopensource.xml.dtd.om.EnumGroup 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.xml.dtd.om;
public class EnumGroup {
private final EnumGroupMember[] members;
public EnumGroup(EnumGroupMember[] members) {
this.members = members;
}
public EnumGroupMember[] getMembers() {
EnumGroupMember[] tem = new EnumGroupMember[members.length];
System.arraycopy(members, 0, tem, 0, members.length);
return tem;
}
public void accept(EnumGroupVisitor visitor) throws Exception {
for (int i = 0; i < members.length; i++)
members[i].accept(visitor);
}
}