com.thaiopensource.xml.dtd.om.FixedValue 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 FixedValue extends AttributeDefault {
private final String value;
public FixedValue(String value) {
this.value = value;
}
public int getType() {
return FIXED_VALUE;
}
public String getValue() {
return value;
}
public void accept(AttributeDefaultVisitor visitor) throws Exception {
visitor.fixedValue(value);
}
public String getDefaultValue() {
return value;
}
public String getFixedValue() {
return value;
}
}