All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.thaiopensource.xml.dtd.om.EnumGroupRef Maven / Gradle / Ivy

package com.thaiopensource.xml.dtd.om;

public class EnumGroupRef extends EnumGroupMember {
  
  private final String name;
  private final EnumGroup enumGroup;

  public EnumGroupRef(String name, EnumGroup enumGroup) {
    this.name = name;
    this.enumGroup = enumGroup;
  }

  public int getType() {
    return ENUM_GROUP_REF;
  }
  
  public EnumGroup getEnumGroup() {
    return enumGroup;
  }
  
  public String getName() {
    return name;
  }

  public void accept(EnumGroupVisitor visitor) throws Exception {
    visitor.enumGroupRef(name, enumGroup);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy