|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.iu.cnets.klatsch.lang.Value
edu.iu.cnets.klatsch.lang.VNode
public class VNode
This makes Node
values from the model a first-class value in Klatsch.
Field Summary | |
---|---|
(package private) Node |
n
the node we're encapsulating |
Constructor Summary | |
---|---|
VNode(GephiNode n)
Constructs a new node. |
|
VNode(Node n)
Constructs a new node. |
Method Summary | |
---|---|
Value |
method_actor(Value... args)
actor() : Returns true if this is an actor node. |
Value |
method_id(Value... args)
id() : Returns the ID of the node. |
Value |
method_meme(Value... args)
meme() : Returns true if this is a meme node. |
java.lang.String |
toJson()
Creates a JSON representation of this node. |
java.lang.String |
toString()
Converts this node into a string representation. |
Methods inherited from class edu.iu.cnets.klatsch.lang.Value |
---|
require, requireCount, requireType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
Node n
Constructor Detail |
---|
public VNode(GephiNode n)
public VNode(Node n)
Method Detail |
---|
public java.lang.String toString()
toString
in class Value
public java.lang.String toJson()
toJson
in class Value
public Value method_actor(Value... args) throws EvaluationException
EvaluationException
public Value method_id(Value... args) throws EvaluationException
EvaluationException
public Value method_meme(Value... args) throws EvaluationException
EvaluationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |