public static class IConfigFileParser.Property extends Object
Constructor and Description |
---|
Property(String name,
String content,
List<IConfigFileParser.Attribute> attributes) |
Modifier and Type | Method and Description |
---|---|
static List<IConfigFileParser.Property> |
fromJson(IJsonArrayWrapper jsonArray) |
static IConfigFileParser.Property |
fromJson(IJsonObjectWrapper jsonObject) |
IConfigFileParser.Attribute |
getAttribute(String key) |
String |
getAttribute(String key,
String defaultValue) |
Map<String,IConfigFileParser.Attribute> |
getAttributes() |
String |
getContent() |
String |
getName() |
void |
setContent(String content) |
void |
setName(String name) |
IJsonObjectWrapper |
toJson() |
public Property(String name, String content, List<IConfigFileParser.Attribute> attributes)
public static List<IConfigFileParser.Property> fromJson(IJsonArrayWrapper jsonArray)
public static IConfigFileParser.Property fromJson(IJsonObjectWrapper jsonObject)
public String getName()
public void setName(String name)
public void setContent(String content)
public String getContent()
public IConfigFileParser.Attribute getAttribute(String key)
public Map<String,IConfigFileParser.Attribute> getAttributes()
public IJsonObjectWrapper toJson()
Copyright © 2022. All rights reserved.