|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.monnetproject.lemon.URIValue
eu.monnetproject.lemon.URIElement
eu.monnetproject.lemon.impl.LemonElementImpl
eu.monnetproject.lemon.impl.NodeImpl
public class NodeImpl
Instantiated via LemonFactoryImpl
| Field Summary |
|---|
| 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 |
addEdge(Edge edge,
Node edgeVal)
Add an edge to the tree |
Constituent |
getConstituent()
Get the constituent of the node, that is the phrase trype |
Collection<Node> |
getEdge(Edge edge)
Get the edges to other nodes of a given arc type |
Map<Edge,Collection<Node>> |
getEdges()
Get the edges to other nodes |
PhraseTerminal |
getLeaf()
Get the leaf of the node. |
Text |
getSeparator()
Get the separator value between the subnodes. |
void |
merge(ReaderAccepter accepter,
LinguisticOntology lingOnto,
AccepterFactory factory)
|
boolean |
removeEdge(Edge edge,
Node edgeVal)
Remove an edge from the tree |
void |
setConstituent(Constituent constituent)
Set the constituent of the node |
void |
setLeaf(PhraseTerminal product)
Set the leaf of the node |
void |
setSeparator(Text separator)
Set the separator value between the subnodes |
| 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 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 |
| Method Detail |
|---|
public Constituent getConstituent()
Node
getConstituent in interface Nodepublic void setConstituent(Constituent constituent)
Node
setConstituent in interface Nodepublic Map<Edge,Collection<Node>> getEdges()
Node
getEdges in interface Nodepublic Collection<Node> getEdge(Edge edge)
Node
getEdge in interface Node
public boolean addEdge(Edge edge,
Node edgeVal)
Node
addEdge in interface Node
public boolean removeEdge(Edge edge,
Node edgeVal)
Node
removeEdge in interface Nodepublic PhraseTerminal getLeaf()
Node
getLeaf in interface Nodepublic void setLeaf(PhraseTerminal product)
Node
setLeaf in interface Nodepublic Text getSeparator()
Node
getSeparator in interface Nodepublic void setSeparator(Text separator)
Node
setSeparator in interface Node
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 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 | |||||||||