public class ExampleFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
BEGIN_PAIR |
static String |
BEGIN_REPRESENTATION |
static String |
DELIMITER |
static String |
END_PAIR |
static String |
END_REPRESENTATION |
static String |
LABEL_SEPARATOR |
static String |
PAIR_SEPARATOR |
static String |
REPRESENTATION_SEPARATOR |
static String |
REPRESENTATION_TYPE_NAME_SEPARATOR |
| Constructor and Description |
|---|
ExampleFactory() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getTextualRepresentation(Representation representation) |
static String |
getTextualRepresentation(Representation representation,
String identifier) |
static Example |
parseExample(String exampleDescription) |
static Map.Entry<String,Representation> |
parseSingleRepresentation(String textualRepresentation)
Parse a single
Representation from its string representation |
public static final String LABEL_SEPARATOR
public static final String REPRESENTATION_TYPE_NAME_SEPARATOR
public static final String REPRESENTATION_SEPARATOR
public static final String DELIMITER
public static final String BEGIN_REPRESENTATION
public static final String END_REPRESENTATION
public static final String BEGIN_PAIR
public static final String END_PAIR
public static final String PAIR_SEPARATOR
public static Map.Entry<String,Representation> parseSingleRepresentation(String textualRepresentation) throws InstantiationException, ParsingExampleException
Representation from its string representationtextualRepresentation - the string to be parsedInstantiationExceptionParsingExampleExceptionpublic static String getTextualRepresentation(Representation representation)
public static String getTextualRepresentation(Representation representation, String identifier)
public static Example parseExample(String exampleDescription) throws InstantiationException, ParsingExampleException
Copyright © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.