com.thaiopensource.xml.dtd.om.OverriddenDef 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 OverriddenDef extends TopLevel {
private final boolean duplicate;
private final Def def;
public OverriddenDef(Def def, boolean duplicate) {
this.def = def;
this.duplicate = duplicate;
}
public int getType() {
return OVERRIDDEN_DEF;
}
public Def getDef() {
return def;
}
public boolean isDuplicate() {
return duplicate;
}
public void accept(TopLevelVisitor visitor) throws Exception {
visitor.overriddenDef(def, duplicate);
}
}