001 package org.maltparser.core.syntaxgraph.node;
002
003 import java.util.Iterator;
004
005 import org.maltparser.core.exception.MaltChainedException;
006 import org.maltparser.core.syntaxgraph.Element;
007 import org.maltparser.core.syntaxgraph.edge.Edge;
008
009 public interface Node extends ComparableNode, Element {
010 public void addIncomingEdge(Edge in) throws MaltChainedException;
011 public void addOutgoingEdge(Edge out) throws MaltChainedException;
012 public void removeIncomingEdge(Edge in) throws MaltChainedException;
013 public void removeOutgoingEdge(Edge out) throws MaltChainedException;
014 public Iterator<Edge> getIncomingEdgeIterator();
015 public Iterator<Edge> getOutgoingEdgeIterator();
016 public void setIndex(int index) throws MaltChainedException;
017 }