com.thaiopensource.xml.dtd.om.EnumGroupDef 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 EnumGroupDef extends Def {
private final EnumGroup enumGroup;
public EnumGroupDef(String name, EnumGroup enumGroup) {
super(name);
this.enumGroup = enumGroup;
}
public int getType() {
return ENUM_GROUP_DEF;
}
public EnumGroup getEnumGroup() {
return enumGroup;
}
public void accept(TopLevelVisitor visitor) throws Exception {
visitor.enumGroupDef(getName(), enumGroup);
}
}