|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object eu.monnetproject.lemon.URIValue eu.monnetproject.lemon.URIElement eu.monnetproject.lemon.impl.LemonElementImpl eu.monnetproject.lemon.impl.FormImpl
public class FormImpl
Instantiated via LemonFactoryImpl
Field Summary | |
---|---|
HashMap<Representation,Collection<Text>> |
reps
|
Fields inherited from class eu.monnetproject.lemon.impl.LemonElementImpl |
---|
checkRemote, model, RDF_TYPE, referencers |
Method Summary | |
---|---|
ReaderAccepter |
accept(URI pred,
String value,
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)
|
boolean |
addFormVariant(FormVariant formVariant,
LexicalForm formVariantVal)
Add a variant of this form |
boolean |
addRepresentation(Representation representation,
Text representationVal)
Add an alternative representation of the form |
void |
clearAll()
|
protected boolean |
follow(LemonPredicate predicate)
|
Map<URI,Collection<Object>> |
getElements()
|
Collection<LexicalForm> |
getFormVariant(FormVariant formVariant)
Get a particular variant set of this form |
Map<FormVariant,Collection<LexicalForm>> |
getFormVariants()
Get any variants of this form |
Collection<Text> |
getRepresentation(Representation representation)
Get a particular set of representations of the form |
Map<Representation,Collection<Text>> |
getRepresentations()
Get the alternative representations of the form |
Text |
getWrittenRep()
Get the primary written representation of the form |
void |
merge(ReaderAccepter accepter,
LinguisticOntology lingOnto,
AccepterFactory factory)
|
protected void |
printAsBlankNode(PrintWriter stream,
SerializationState state,
boolean first)
|
protected boolean |
refers()
|
boolean |
removeFormVariant(FormVariant formVariant,
LexicalForm formVariantVal)
Remove a variant of this form |
boolean |
removeRepresentation(Representation representation,
Text representationVal)
Remove an alternative representation of the form |
void |
setWrittenRep(Text writtenRep)
Set the primary written representation of the form |
Methods inherited from class eu.monnetproject.lemon.impl.LemonElementImpl |
---|
accept, acceptProperties, addAnnotation, addPredElem, addPredElemDirect, addProperty, addReference, addStrElem, addStrElemDirect, addType, addTypeDirect, defaultAccept, defaultAccept, defaultAccept, defaultMerge, doAccept, follow, getAnnotations, getAnnotations, getModelName, getPredElem, getPredElems, getProperty, getPropertys, getStrElem, getStrElems, getStrText, getTypes, isMultiReferenced, merge, merge, mergeIn, printAsBlankNode, printURI, removeAnnotation, removePredElem, removeProperty, removeReference, removeStrElem, removeType, resolveRemote, setStrElem, setStrElemDirect, setStrText, setStrTextDirect, updateAddPredElem, updateReference, visit, write |
Methods inherited from class eu.monnetproject.lemon.URIElement |
---|
equals, getID, hashCode, toString |
Methods inherited from class eu.monnetproject.lemon.URIValue |
---|
getInfHash, getURI |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface eu.monnetproject.lemon.model.LemonElement |
---|
addAnnotation, addProperty, addType, getAnnotations, getAnnotations, getID, getProperty, getPropertys, getTypes, removeAnnotation, removeProperty, removeType |
Methods inherited from interface eu.monnetproject.lemon.model.LemonElementOrPredicate |
---|
getURI |
Field Detail |
---|
public HashMap<Representation,Collection<Text>> reps
Method Detail |
---|
public Text getWrittenRep()
LexicalForm
getWrittenRep
in interface LexicalForm
public void setWrittenRep(Text writtenRep)
LexicalForm
setWrittenRep
in interface LexicalForm
public Map<Representation,Collection<Text>> getRepresentations()
LexicalForm
getRepresentations
in interface LexicalForm
public Collection<Text> getRepresentation(Representation representation)
LexicalForm
getRepresentation
in interface LexicalForm
public boolean addRepresentation(Representation representation, Text representationVal)
LexicalForm
addRepresentation
in interface LexicalForm
public boolean removeRepresentation(Representation representation, Text representationVal)
LexicalForm
removeRepresentation
in interface LexicalForm
public Map<FormVariant,Collection<LexicalForm>> getFormVariants()
LexicalForm
getFormVariants
in interface LexicalForm
public Collection<LexicalForm> getFormVariant(FormVariant formVariant)
LexicalForm
getFormVariant
in interface LexicalForm
public boolean addFormVariant(FormVariant formVariant, LexicalForm formVariantVal)
LexicalForm
addFormVariant
in interface LexicalForm
public boolean removeFormVariant(FormVariant formVariant, LexicalForm formVariantVal)
LexicalForm
removeFormVariant
in interface LexicalForm
protected boolean refers()
refers
in class LemonElementImpl
protected void printAsBlankNode(PrintWriter stream, SerializationState state, boolean first)
printAsBlankNode
in class LemonElementImpl
protected boolean follow(LemonPredicate predicate)
follow
in class LemonElementImpl
public void clearAll()
clearAll
in class LemonElementImpl
public ReaderAccepter accept(URI pred, URI value, LinguisticOntology lingOnto, AccepterFactory factory)
accept
in interface ReaderAccepter
public ReaderAccepter accept(URI pred, String value, LinguisticOntology lingOnto, AccepterFactory factory)
accept
in interface ReaderAccepter
public void accept(URI pred, String value, String lang, LinguisticOntology lingOnto, AccepterFactory factory)
accept
in interface ReaderAccepter
public Map<URI,Collection<Object>> getElements()
getElements
in interface IntrospectableElement
getElements
in class LemonElementImpl
public void merge(ReaderAccepter accepter, LinguisticOntology lingOnto, AccepterFactory factory)
merge
in interface ReaderAccepter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |