| 1 |
package com.thaiopensource.relaxng.output.xsd.basic; |
| 2 |
|
| 3 |
import com.thaiopensource.relaxng.edit.SourceLocation; |
| 4 |
|
| 5 |
public class AttributeGroupDefinition extends Definition { |
| 6 |
private AttributeUse attributeUses; |
| 7 |
|
| 8 |
public AttributeGroupDefinition(SourceLocation location, Annotation annotation, Schema parentSchema, String name, AttributeUse attributeUses) { |
| 9 |
super(location, annotation, parentSchema, name); |
| 10 |
this.attributeUses = attributeUses; |
| 11 |
} |
| 12 |
|
| 13 |
public AttributeUse getAttributeUses() { |
| 14 |
return attributeUses; |
| 15 |
} |
| 16 |
|
| 17 |
public void setAttributeUses(AttributeUse attributeUses) { |
| 18 |
this.attributeUses = attributeUses; |
| 19 |
} |
| 20 |
|
| 21 |
public void accept(SchemaVisitor visitor) { |
| 22 |
visitor.visitAttributeGroup(this); |
| 23 |
} |
| 24 |
} |