| 1 |
package com.thaiopensource.relaxng.output.xsd.basic; |
| 2 |
|
| 3 |
import com.thaiopensource.relaxng.edit.SourceLocation; |
| 4 |
|
| 5 |
public class Comment extends Located implements TopLevel { |
| 6 |
private String content; |
| 7 |
|
| 8 |
public Comment(SourceLocation location, String content) { |
| 9 |
super(location); |
| 10 |
this.content = content; |
| 11 |
} |
| 12 |
|
| 13 |
public String getContent() { |
| 14 |
return content; |
| 15 |
} |
| 16 |
|
| 17 |
public void setContent(String content) { |
| 18 |
this.content = content; |
| 19 |
} |
| 20 |
|
| 21 |
public void accept(SchemaVisitor visitor) { |
| 22 |
visitor.visitComment(this); |
| 23 |
} |
| 24 |
} |