GrammarScope  4.0.0
Static Public Member Functions | Private Member Functions | List of all members
grammarscope.server.factory.GrammaticalRelationsFactory Class Reference

Static Public Member Functions

static Class<?> makeGrammaticalRelationClass (final Language language)
 
static List< GrammaticalRelation > makeGrammaticalRelationCollection (final Class<?> clazz)
 
static List< GrammaticalRelation > makeGrammaticalRelationCollection (final Language language)
 
static List< GrammaticalRelation > invokeValues (final Class<?> clazz) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException, SecurityException, NoSuchMethodException
 

Private Member Functions

 GrammaticalRelationsFactory ()
 

Constructor & Destructor Documentation

◆ GrammaticalRelationsFactory()

grammarscope.server.factory.GrammaticalRelationsFactory.GrammaticalRelationsFactory ( )
private

Member Function Documentation

◆ invokeValues()

static List<GrammaticalRelation> grammarscope.server.factory.GrammaticalRelationsFactory.invokeValues ( final Class<?>  clazz) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException, SecurityException, NoSuchMethodException
static

All grammatical relations classes have a values method but no common interface. This is a common way of calling it.

Parameters
clazzclass
Returns
result of calling values();
Exceptions
InvocationTargetExceptionexception
IllegalAccessExceptionexception
IllegalArgumentExceptionexception
NoSuchMethodExceptionexception
SecurityExceptionexception

◆ makeGrammaticalRelationClass()

static Class<?> grammarscope.server.factory.GrammaticalRelationsFactory.makeGrammaticalRelationClass ( final Language  language)
static

Get grammatical relation model class for a specified grammatical relation

Parameters
languagelanguage
Returns
model class

◆ makeGrammaticalRelationCollection() [1/2]

static List<GrammaticalRelation> grammarscope.server.factory.GrammaticalRelationsFactory.makeGrammaticalRelationCollection ( final Class<?>  clazz)
static

Make collection of grammatical relations from relations set class

Parameters
clazzrelation set class
Returns
Collection of grammatical relations

◆ makeGrammaticalRelationCollection() [2/2]

static List<GrammaticalRelation> grammarscope.server.factory.GrammaticalRelationsFactory.makeGrammaticalRelationCollection ( final Language  language)
static

Make collection of grammatical relations from language

Parameters
languagelanguage
Returns
Collection of grammatical relations

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