eu.monnetproject.lemon.impl
Class ContextImpl
java.lang.Object
eu.monnetproject.lemon.URIValue
eu.monnetproject.lemon.URIElement
eu.monnetproject.lemon.impl.LemonElementImpl<SenseContext>
eu.monnetproject.lemon.impl.ContextImpl
- All Implemented Interfaces:
- IntrospectableElement, ReaderAccepter, LemonElement, LemonElementOrPredicate, SenseContext, Serializable
public class ContextImpl
- extends LemonElementImpl<SenseContext>
- implements SenseContext
Instantiated via LemonFactoryImpl
- Author:
- John McCrae
- See Also:
- Serialized Form
Method Summary |
ReaderAccepter |
accept(URI pred,
String bNode,
LinguisticOntology lingOnto,
AccepterFactory factory)
|
void |
accept(URI pred,
String value,
String lang,
LinguisticOntology lingOnto,
AccepterFactory factory)
|
ReaderAccepter |
accept(URI pred,
URI value,
LinguisticOntology lingOnto,
AccepterFactory factory)
|
Text |
getValue()
Get the text value of this context |
void |
merge(ReaderAccepter accepter,
LinguisticOntology lingOnto,
AccepterFactory factory)
|
void |
setValue(Text value)
Set the text value of this context |
Methods inherited from class eu.monnetproject.lemon.impl.LemonElementImpl |
accept, acceptProperties, addAnnotation, addPredElem, addPredElemDirect, addProperty, addReference, addStrElem, addStrElemDirect, addType, addTypeDirect, clearAll, defaultAccept, defaultAccept, defaultAccept, defaultMerge, doAccept, follow, follow, getAnnotations, getAnnotations, getElements, getModelName, getPredElem, getPredElems, getProperty, getPropertys, getStrElem, getStrElems, getStrText, getTypes, isMultiReferenced, merge, merge, mergeIn, printAsBlankNode, printAsBlankNode, printURI, refers, removeAnnotation, removePredElem, removeProperty, removeReference, removeStrElem, removeType, resolveRemote, setStrElem, setStrElemDirect, setStrText, setStrTextDirect, updateAddPredElem, updateReference, visit, write |
Methods inherited from interface eu.monnetproject.lemon.model.LemonElement |
addAnnotation, addProperty, addType, getAnnotations, getAnnotations, getID, getProperty, getPropertys, getTypes, removeAnnotation, removeProperty, removeType |
accept
public ReaderAccepter accept(URI pred,
URI value,
LinguisticOntology lingOnto,
AccepterFactory factory)
- Specified by:
accept
in interface ReaderAccepter
accept
public ReaderAccepter accept(URI pred,
String bNode,
LinguisticOntology lingOnto,
AccepterFactory factory)
- Specified by:
accept
in interface ReaderAccepter
accept
public void accept(URI pred,
String value,
String lang,
LinguisticOntology lingOnto,
AccepterFactory factory)
- Specified by:
accept
in interface ReaderAccepter
merge
public void merge(ReaderAccepter accepter,
LinguisticOntology lingOnto,
AccepterFactory factory)
- Specified by:
merge
in interface ReaderAccepter
getValue
public Text getValue()
- Description copied from interface:
SenseContext
- Get the text value of this context
- Specified by:
getValue
in interface SenseContext
setValue
public void setValue(Text value)
- Description copied from interface:
SenseContext
- Set the text value of this context
- Specified by:
setValue
in interface SenseContext
Copyright © 2012. All Rights Reserved.