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

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

There is a newer version: 20220510
Show newest version
package com.thaiopensource.xml.dtd.om;

public class FlagRef extends Flag {
  private final String name;
  private final Flag flag;

  public FlagRef(String name, Flag flag) {
    this.name = name;
    this.flag = flag;
  }

  public int getType() {
    return FLAG_REF;
  }
  
  public Flag getFlag() {
    return flag;
  }
  
  public String getName() {
    return name;
  }

  public void accept(FlagVisitor visitor) throws Exception {
    visitor.flagRef(name, flag);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy