public class Section extends Commentable
| Constructor and Description |
|---|
Section(String name)
Construct a new feature.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getAttributes()
Get all attributes
|
String |
getContents()
Get the contents of the section.
|
String |
getName()
Get the name of the section.
|
void |
setContents(String contents)
Set the contents of the section.
|
String |
toString() |
getComment, setCommentgetLocation, setLocationpublic Section(String name)
name - The feature namepublic String getName()
null for an anonymous feature.public Map<String,String> getAttributes()
public String getContents()
null.public void setContents(String contents)
contents - The new contents.public String toString()
toString in class CommentableCopyright © 2017 The Apache Software Foundation. All rights reserved.