eu.monnetproject.lemon.impl
Class LemonFactoryImpl

java.lang.Object
  extended by eu.monnetproject.lemon.impl.LemonFactoryImpl
All Implemented Interfaces:
LemonFactory

public class LemonFactoryImpl
extends Object
implements LemonFactory

Instantiated via LemonModelImpl

Author:
John McCrae

Method Summary
<C extends LemonElement>
C
make(Class<C> lemonInterface, URI rdfClass)
          Make a generic element of the lemon model
<C extends LemonElement>
C
make(Class<C> lemonInterface, URI rdfClass, URI uri)
          Make a generic named element of the lemon model
 Argument makeArgument()
          Create a new blank node argument
 Argument makeArgument(URI uri)
          Create a new named argument
 Component makeComponent()
          Create a new blank node component
 Component makeComponent(URI uri)
          Create a new named component
 SenseCondition makeCondition()
          Create a new blank node condition
 SenseCondition makeCondition(URI uri)
          Create a new named condition
 SenseDefinition makeDefinition()
          Create a new blank node definition
 SenseDefinition makeDefinition(URI uri)
          Create a new named definition
 Example makeExample()
          Create a new blank node example
 Example makeExample(URI uri)
          Create a new named example
 LexicalForm makeForm()
          Create a new blank node form
 LexicalForm makeForm(URI uri)
          Create a new named form
 Frame makeFrame()
          Create a new blank node frame
 Frame makeFrame(URI uri)
          Create a new named frame
 LexicalEntry makeLexicalEntry()
           
 LexicalEntry makeLexicalEntry(URI uri)
          Create a new lexical entry
 MorphPattern makeMorphPattern()
          Create a morphological pattern
 MorphPattern makeMorphPattern(URI uri)
          Create a morphological pattern
 MorphTransform makeMorphTransform()
          Create a morphological transform
 MorphTransform makeMorphTransform(URI uri)
          Create a morphological transform
 Node makeNode()
          Create a new blank node entry
 Node makeNode(URI uri)
          Create a new named node
 Part makePart(URI uri)
          Create a new part (lexical entry)
 Phrase makePhrase(URI uri)
          Create a new phrase (lexical entry)
 Prototype makePrototype()
          Create a prototype
 Prototype makePrototype(URI uri)
          Create a prototype
 LexicalSense makeSense()
          Create a new blank node sense
 LexicalSense makeSense(URI uri)
          Create a new named sense
 Word makeWord(URI uri)
          Create a new word (lexical entry)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

makeArgument

public Argument makeArgument()
Description copied from interface: LemonFactory
Create a new blank node argument

Specified by:
makeArgument in interface LemonFactory

makeArgument

public Argument makeArgument(URI uri)
Description copied from interface: LemonFactory
Create a new named argument

Specified by:
makeArgument in interface LemonFactory

makeCondition

public SenseCondition makeCondition()
Description copied from interface: LemonFactory
Create a new blank node condition

Specified by:
makeCondition in interface LemonFactory

makeCondition

public SenseCondition makeCondition(URI uri)
Description copied from interface: LemonFactory
Create a new named condition

Specified by:
makeCondition in interface LemonFactory

makeComponent

public Component makeComponent()
Description copied from interface: LemonFactory
Create a new blank node component

Specified by:
makeComponent in interface LemonFactory

makeComponent

public Component makeComponent(URI uri)
Description copied from interface: LemonFactory
Create a new named component

Specified by:
makeComponent in interface LemonFactory

makeDefinition

public SenseDefinition makeDefinition()
Description copied from interface: LemonFactory
Create a new blank node definition

Specified by:
makeDefinition in interface LemonFactory

makeDefinition

public SenseDefinition makeDefinition(URI uri)
Description copied from interface: LemonFactory
Create a new named definition

Specified by:
makeDefinition in interface LemonFactory

makeExample

public Example makeExample()
Description copied from interface: LemonFactory
Create a new blank node example

Specified by:
makeExample in interface LemonFactory

makeExample

public Example makeExample(URI uri)
Description copied from interface: LemonFactory
Create a new named example

Specified by:
makeExample in interface LemonFactory

makeForm

public LexicalForm makeForm()
Description copied from interface: LemonFactory
Create a new blank node form

Specified by:
makeForm in interface LemonFactory

makeForm

public LexicalForm makeForm(URI uri)
Description copied from interface: LemonFactory
Create a new named form

Specified by:
makeForm in interface LemonFactory

makeFrame

public Frame makeFrame()
Description copied from interface: LemonFactory
Create a new blank node frame

Specified by:
makeFrame in interface LemonFactory

makeFrame

public Frame makeFrame(URI uri)
Description copied from interface: LemonFactory
Create a new named frame

Specified by:
makeFrame in interface LemonFactory

makeLexicalEntry

public LexicalEntry makeLexicalEntry()

makeLexicalEntry

public LexicalEntry makeLexicalEntry(URI uri)
Description copied from interface: LemonFactory
Create a new lexical entry

Specified by:
makeLexicalEntry in interface LemonFactory

makePart

public Part makePart(URI uri)
Description copied from interface: LemonFactory
Create a new part (lexical entry)

Specified by:
makePart in interface LemonFactory

makePhrase

public Phrase makePhrase(URI uri)
Description copied from interface: LemonFactory
Create a new phrase (lexical entry)

Specified by:
makePhrase in interface LemonFactory

makeWord

public Word makeWord(URI uri)
Description copied from interface: LemonFactory
Create a new word (lexical entry)

Specified by:
makeWord in interface LemonFactory

makeMorphPattern

public MorphPattern makeMorphPattern()
Description copied from interface: LemonFactory
Create a morphological pattern

Specified by:
makeMorphPattern in interface LemonFactory

makeMorphPattern

public MorphPattern makeMorphPattern(URI uri)
Description copied from interface: LemonFactory
Create a morphological pattern

Specified by:
makeMorphPattern in interface LemonFactory

makeMorphTransform

public MorphTransform makeMorphTransform()
Description copied from interface: LemonFactory
Create a morphological transform

Specified by:
makeMorphTransform in interface LemonFactory

makeMorphTransform

public MorphTransform makeMorphTransform(URI uri)
Description copied from interface: LemonFactory
Create a morphological transform

Specified by:
makeMorphTransform in interface LemonFactory

makePrototype

public Prototype makePrototype()
Description copied from interface: LemonFactory
Create a prototype

Specified by:
makePrototype in interface LemonFactory

makePrototype

public Prototype makePrototype(URI uri)
Description copied from interface: LemonFactory
Create a prototype

Specified by:
makePrototype in interface LemonFactory

makeNode

public Node makeNode()
Description copied from interface: LemonFactory
Create a new blank node entry

Specified by:
makeNode in interface LemonFactory

makeNode

public Node makeNode(URI uri)
Description copied from interface: LemonFactory
Create a new named node

Specified by:
makeNode in interface LemonFactory

makeSense

public LexicalSense makeSense()
Description copied from interface: LemonFactory
Create a new blank node sense

Specified by:
makeSense in interface LemonFactory

makeSense

public LexicalSense makeSense(URI uri)
Description copied from interface: LemonFactory
Create a new named sense

Specified by:
makeSense in interface LemonFactory

make

public <C extends LemonElement> C make(Class<C> lemonInterface,
                                       URI rdfClass)
Description copied from interface: LemonFactory
Make a generic element of the lemon model

Specified by:
make in interface LemonFactory

make

public <C extends LemonElement> C make(Class<C> lemonInterface,
                                       URI rdfClass,
                                       URI uri)
Description copied from interface: LemonFactory
Make a generic named element of the lemon model

Specified by:
make in interface LemonFactory


Copyright © 2012. All Rights Reserved.