EmbASP-Java
Static Public Member Functions | Protected Member Functions | List of all members
it.unical.mat.embasp.languages.asp.ASPMapper Class Reference
Inheritance diagram for it.unical.mat.embasp.languages.asp.ASPMapper:
it.unical.mat.embasp.languages.Mapper

Static Public Member Functions

static ASPMapper getInstance ()
 

Protected Member Functions

String getActualString (final String predicate, final HashMap< Integer, Object > parametersMap) throws IllegalTermException
 
String getId (final String atom)
 
String[] getParam (final String atom)
 

Additional Inherited Members

- Public Member Functions inherited from it.unical.mat.embasp.languages.Mapper
Class<?> getClass (final String predicate)
 
Object getObject (final String atom) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityException, InstantiationException
 
String getString (final Object obj) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityException, ObjectNotValidException, IllegalAnnotationException, IllegalTermException
 
String registerClass (final Class<?> cl) throws ObjectNotValidException, IllegalAnnotationException
 
void unregisterClass (final Class<?> cl) throws IllegalAnnotationException
 
- Protected Attributes inherited from it.unical.mat.embasp.languages.Mapper
final Map< String, Class<?> > predicateClass = new HashMap<>()
 
final Map< Class<?>, Map< String, Method > > classSetterMethod = new HashMap<>()
 

Detailed Description

Contains methods used to transform Objects into it.unical.mat.embasp.base.InputProgram

Definition at line 11 of file ASPMapper.java.

Member Function Documentation

◆ getId()

String it.unical.mat.embasp.languages.asp.ASPMapper.getId ( final String  atom)
inlineprotected
Returns
The predicate name

Reimplemented from it.unical.mat.embasp.languages.Mapper.

Definition at line 49 of file ASPMapper.java.

◆ getParam()

String [] it.unical.mat.embasp.languages.asp.ASPMapper.getParam ( final String  atom)
inlineprotected
Returns
All the Terms

Reimplemented from it.unical.mat.embasp.languages.Mapper.

Definition at line 59 of file ASPMapper.java.


The documentation for this class was generated from the following file: