public class SimpleValueFormat extends Object implements ValueFormat
ValueFormat.ElementType| Modifier and Type | Field and Description |
|---|---|
protected List<io.konig.core.util.SimpleValueFormat.Element> |
elements |
protected String |
text |
| Constructor and Description |
|---|
SimpleValueFormat() |
SimpleValueFormat(String text) |
| Modifier and Type | Method and Description |
|---|---|
void |
addText(String text) |
void |
addVariable(String variable) |
protected void |
compile() |
protected io.konig.core.util.SimpleValueFormat.Element |
createVariable(String text) |
String |
format(ValueMap map) |
String |
getPattern() |
List<? extends ValueFormat.Element> |
toList() |
String |
toString() |
org.openrdf.model.Value |
toValue() |
void |
traverse(ValueFormatVisitor visitor) |
protected String text
protected List<io.konig.core.util.SimpleValueFormat.Element> elements
public SimpleValueFormat()
public SimpleValueFormat(String text)
protected io.konig.core.util.SimpleValueFormat.Element createVariable(String text)
protected void compile()
public String format(ValueMap map)
format in interface ValueFormatpublic void traverse(ValueFormatVisitor visitor)
traverse in interface ValueFormatpublic org.openrdf.model.Value toValue()
public String getPattern()
getPattern in interface ValueFormatpublic List<? extends ValueFormat.Element> toList()
toList in interface ValueFormatpublic void addText(String text)
addText in interface ValueFormatpublic void addVariable(String variable)
addVariable in interface ValueFormatCopyright © 2019. All rights reserved.