aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-03-25 11:18:51 +0000
committerMichael Williamson <mike@zwobble.org>2016-03-25 11:18:51 +0000
commite9ed8085ac7a808d7ad83b4b7e1d6be8a41a6c94 (patch)
tree4e663ce14ef2c7d503d561ee0407f7fdfc045a7f /src/main
parentb9ccb58ba0e6c0557d18f45a52a6a216177dbd56 (diff)
Add Javadoc to Result
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/zwobble/mammoth/Result.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/java/org/zwobble/mammoth/Result.java b/src/main/java/org/zwobble/mammoth/Result.java
index 1c09559..3cc8f24 100644
--- a/src/main/java/org/zwobble/mammoth/Result.java
+++ b/src/main/java/org/zwobble/mammoth/Result.java
@@ -2,7 +2,17 @@ package org.zwobble.mammoth;
import java.util.Set;
+/**
+ * The result of converting a document.
+ */
public interface Result<T> {
+ /**
+ * The generated value.
+ */
T getValue();
+
+ /**
+ * Any warnings generated during the conversion.
+ */
Set<String> getWarnings();
}