com.thaiopensource.xml.dtd.om.AttlistDecl 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 AttlistDecl extends TopLevel {
private final NameSpec elementNameSpec;
private final AttributeGroup attributeGroup;
public AttlistDecl(NameSpec elementNameSpec, AttributeGroup attributeGroup) {
this.elementNameSpec = elementNameSpec;
this.attributeGroup = attributeGroup;
}
public int getType() {
return ATTLIST_DECL;
}
public NameSpec getElementNameSpec() {
return elementNameSpec;
}
public AttributeGroup getAttributeGroup() {
return attributeGroup;
}
public void accept(TopLevelVisitor visitor) throws Exception {
visitor.attlistDecl(elementNameSpec, attributeGroup);
}
}