com.thaiopensource.xml.dtd.om.AttributeGroupDef 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 AttributeGroupDef extends Def {
private final AttributeGroup attributeGroup;
public AttributeGroupDef(String name, AttributeGroup attributeGroup) {
super(name);
this.attributeGroup = attributeGroup;
}
public int getType() {
return ATTRIBUTE_GROUP_DEF;
}
public AttributeGroup getAttributeGroup() {
return attributeGroup;
}
public void accept(TopLevelVisitor visitor) throws Exception {
visitor.attributeGroupDef(getName(), attributeGroup);
}
}