
public class MessageResult extends Object implements Serializable, Comparable<MessageResult>
| Modifier | Constructor and Description |
|---|---|
|
MessageResult() |
protected |
MessageResult(Graph graph) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(MessageResult other) |
boolean |
equals(Object object) |
static MessageResult |
fromGraph(Graph graph)
Factory method that creates an XDI message result bound to a given graph.
|
Graph |
getGraph()
Returns the underlying graph to which this XDI message result is bound.
|
int |
hashCode() |
boolean |
isEmpty()
Check if the message result is empty.
|
static boolean |
isValid(Graph graph)
Checks if a graph is a valid XDI message result.
|
String |
toString() |
protected MessageResult(Graph graph)
public MessageResult()
public static boolean isValid(Graph graph)
graph - The graph to check.public static MessageResult fromGraph(Graph graph)
graph - The graph that is an XDI message result.public Graph getGraph()
public boolean isEmpty()
public int compareTo(MessageResult other)
compareTo in interface Comparable<MessageResult>Copyright © 2015. All Rights Reserved.