com.thaiopensource.xml.infer.ElementDecl 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
Jing/Trang - tools for validating and translating RelaxNG
The newest version!
package com.thaiopensource.xml.infer;
import com.thaiopensource.xml.util.Name;
import java.util.Map;
import java.util.HashMap;
public class ElementDecl {
private Particle contentModel;
private Name datatype;
private final Map attributeDecls = new HashMap();
public Map getAttributeDecls() {
return attributeDecls;
}
public Particle getContentModel() {
return contentModel;
}
public void setContentModel(Particle contentModel) {
this.datatype = null;
this.contentModel = contentModel;
}
public Name getDatatype() {
return datatype;
}
public void setDatatype(Name datatype) {
this.contentModel = null;
this.datatype = datatype;
}
}