com.unitesk.requality.core
Class NodeMapper

java.lang.Object
  extended by com.unitesk.requality.core.NodeMapper

public class NodeMapper
extends java.lang.Object


Method Summary
static java.util.Collection<Attribute> getAttributes(java.lang.String nodeString)
           
static java.util.UUID getUUId(java.lang.String nodeString)
           
static JSONObject toJSON(TreeNode node)
           
static JSONObject toJSON(java.util.UUID uuid, java.util.Collection<Attribute> attr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getUUId

public static java.util.UUID getUUId(java.lang.String nodeString)
                              throws JSONException
Throws:
JSONException

getAttributes

public static java.util.Collection<Attribute> getAttributes(java.lang.String nodeString)
                                                     throws JSONException
Throws:
JSONException

toJSON

public static final JSONObject toJSON(TreeNode node)
                               throws JSONException
Throws:
JSONException

toJSON

public static final JSONObject toJSON(java.util.UUID uuid,
                                      java.util.Collection<Attribute> attr)
                               throws JSONException
Throws:
JSONException