public class GEXFNodes extends SinkAdapter implements GEXFElement
GEXFElement.AttrType, GEXFElement.ClassType, GEXFElement.DefaultEdgeType, GEXFElement.Extension, GEXFElement.IDType, GEXFElement.Mode, GEXFElement.TimeFormat| Modifier and Type | Method and Description |
|---|---|
void |
export(SmartXMLWriter stream) |
void |
graphCleared(String sourceId,
long timeId)
The whole graph was cleared.
|
void |
nodeAdded(String sourceId,
long timeId,
String nodeId)
A node was inserted in the given graph.
|
void |
nodeAttributeAdded(String sourceId,
long timeId,
String nodeId,
String attribute,
Object value)
A node attribute was added.
|
void |
nodeAttributeChanged(String sourceId,
long timeId,
String nodeId,
String attribute,
Object oldValue,
Object newValue)
A node attribute was changed.
|
void |
nodeAttributeRemoved(String sourceId,
long timeId,
String nodeId,
String attribute)
A node attribute was removed.
|
void |
nodeRemoved(String sourceId,
long timeId,
String nodeId)
A node was removed from the graph.
|
edgeAdded, edgeAttributeAdded, edgeAttributeChanged, edgeAttributeRemoved, edgeRemoved, graphAttributeAdded, graphAttributeChanged, graphAttributeRemoved, stepBeginspublic GEXFNodes(GEXF root)
public void export(SmartXMLWriter stream) throws XMLStreamException
export in interface GEXFElementXMLStreamExceptionpublic void nodeAdded(String sourceId, long timeId, String nodeId)
ElementSinknodeAdded in interface ElementSinknodeAdded in class SinkAdaptersourceId - Identifier of the graph where the node was added.nodeId - Identifier of the added node.public void nodeRemoved(String sourceId, long timeId, String nodeId)
ElementSinknodeRemoved in interface ElementSinknodeRemoved in class SinkAdaptersourceId - Identifier of the graph where the node will be removed.nodeId - Identifier of the removed node.public void nodeAttributeAdded(String sourceId, long timeId, String nodeId, String attribute, Object value)
AttributeSinknodeAttributeAdded in interface AttributeSinknodeAttributeAdded in class SinkAdaptersourceId - Identifier of the graph where the change occurred.nodeId - Identifier of the node whose attribute changed.attribute - The attribute name.value - The attribute new value.public void nodeAttributeChanged(String sourceId, long timeId, String nodeId, String attribute, Object oldValue, Object newValue)
AttributeSinknodeAttributeChanged in interface AttributeSinknodeAttributeChanged in class SinkAdaptersourceId - Identifier of the graph where the change occurred.nodeId - Identifier of the node whose attribute changed.attribute - The attribute name.oldValue - The attribute old value.newValue - The attribute new value.public void nodeAttributeRemoved(String sourceId, long timeId, String nodeId, String attribute)
AttributeSinknodeAttributeRemoved in interface AttributeSinknodeAttributeRemoved in class SinkAdaptersourceId - Identifier of the graph where the attribute was removed.nodeId - Identifier of the node whose attribute was removed.attribute - The removed attribute name.public void graphCleared(String sourceId, long timeId)
ElementSinkgraphCleared in interface ElementSinkgraphCleared in class SinkAdaptersourceId - The graph cleared.Copyright © 2015. All rights reserved.