| 1 |
package com.thaiopensource.relaxng.output.xsd.basic; |
| 2 |
|
| 3 |
import com.thaiopensource.relaxng.edit.SourceLocation; |
| 4 |
|
| 5 |
public abstract class Definition extends Annotated implements TopLevel { |
| 6 |
private final Schema parentSchema; |
| 7 |
private final String name; |
| 8 |
|
| 9 |
public Definition(SourceLocation location, Annotation annotation, Schema parentSchema, String name) { |
| 10 |
super(location, annotation); |
| 11 |
this.parentSchema = parentSchema; |
| 12 |
this.name = name; |
| 13 |
} |
| 14 |
|
| 15 |
public Schema getParentSchema() { |
| 16 |
return parentSchema; |
| 17 |
} |
| 18 |
|
| 19 |
public String getName() { |
| 20 |
return name; |
| 21 |
} |
| 22 |
} |