com.thaiopensource.relaxng.output.xsd.basic.Definition 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.relaxng.output.xsd.basic;
import com.thaiopensource.relaxng.edit.SourceLocation;
public abstract class Definition extends Annotated implements TopLevel {
private final Schema parentSchema;
private final String name;
public Definition(SourceLocation location, Annotation annotation, Schema parentSchema, String name) {
super(location, annotation);
this.parentSchema = parentSchema;
this.name = name;
}
public Schema getParentSchema() {
return parentSchema;
}
public String getName() {
return name;
}
}