com.thaiopensource.xml.dtd.om.AttributeGroupRef 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 AttributeGroupRef extends AttributeGroupMember {
private final String name;
private final AttributeGroup attributeGroup;
public AttributeGroupRef(String name, AttributeGroup attributeGroup) {
this.name = name;
this.attributeGroup = attributeGroup;
}
public int getType() {
return ATTRIBUTE_GROUP_REF;
}
public AttributeGroup getAttributeGroup() {
return attributeGroup;
}
public String getName() {
return name;
}
public void accept(AttributeGroupVisitor visitor) throws Exception {
visitor.attributeGroupRef(name, attributeGroup);
}
}