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()
RepresentatioFactoryRepresentatioFactorypublic Representation parseRepresentation(String representationType, String representationBody) throws InstantiationException
representationBodyrepresentationType - the identifier of the representation class to be instantiatedrepresentationBody - the the textual description of the representation to be
instantiatedrepresentationBodyInstantiationExceptionpublic static String getRepresentationIdentifier(Class<? extends Representation> c)
c - the class whose identifier is requestedCopyright © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.