public class StringProduction.ProdElement extends Object
| Modifier and Type | Field and Description |
|---|---|
protected List<StringProduction.ProdElement> |
children |
protected boolean |
many |
protected String |
name |
protected boolean |
optional |
protected StringProduction.ProdElement |
parent |
protected StringProduction.ElementType |
type |
protected String |
value |
| Constructor and Description |
|---|
StringProduction.ProdElement(StringProduction.ElementType type) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addChild(StringProduction.ProdElement ele) |
List<StringProduction.ProdElement> |
getChildren() |
String |
getName() |
StringProduction.ProdElement |
getParent() |
StringProduction.ElementType |
getType() |
String |
getValue() |
boolean |
isMany() |
boolean |
isOptional() |
void |
setMany(boolean many) |
void |
setName(String name) |
void |
setOptional(boolean optional) |
void |
setValue(String value) |
String |
toString() |
protected List<StringProduction.ProdElement> children
protected boolean many
protected String name
protected boolean optional
protected StringProduction.ProdElement parent
protected StringProduction.ElementType type
protected String value
public StringProduction.ProdElement(StringProduction.ElementType type)
public void setValue(String value)
protected void addChild(StringProduction.ProdElement ele)
public List<StringProduction.ProdElement> getChildren()
public void setMany(boolean many)
public void setName(String name)
public void setOptional(boolean optional)
public String getName()
public StringProduction.ProdElement getParent()
public StringProduction.ElementType getType()
public String getValue()
public boolean isMany()
public boolean isOptional()
Copyright © 2015. All Rights Reserved.