public class RepresentationFactory extends Object
Representation
that have an
empty constructor and that have been included in the project (as local class
or imported via Maven)Modifier and Type | Method and Description |
---|---|
static RepresentationFactory |
getInstance()
Returns an instance of the class
RepresentatioFactory |
static String |
getRepresentationIdentifier(Class<? extends Representation> c)
Returns the identifier of a given class
|
Representation |
parseRepresentation(String representationType,
String representationBody)
Initializes and returns the representation described in
representationBody |
public static RepresentationFactory getInstance()
RepresentatioFactory
RepresentatioFactory
public Representation parseRepresentation(String representationType, String representationBody) throws InstantiationException
representationBody
representationType
- the identifier of the representation class to be instantiatedrepresentationBody
- the the textual description of the representation to be
instantiatedrepresentationBody
InstantiationException
public static String getRepresentationIdentifier(Class<? extends Representation> c)
c
- the class whose identifier is requestedCopyright © 2015 Semantic Analytics Group @ Uniroma2. All rights reserved.