001package org.maltparser.core.syntaxgraph.node; 002 003import java.util.Iterator; 004 005import org.maltparser.core.exception.MaltChainedException; 006import org.maltparser.core.syntaxgraph.Element; 007import org.maltparser.core.syntaxgraph.edge.Edge; 008 009public 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}