package net.pterodactylus.rhynodge.states;
+import javax.annotation.Nonnull;
+import javax.annotation.Nullable;
+
import net.pterodactylus.rhynodge.State;
import org.jsoup.nodes.Document;
// ACCESSORS
//
+ @Override
+ public boolean isEmpty() {
+ return false;
+ }
+
/**
* Returns the URI of the parsed document.
*
return document;
}
+ @Nonnull
+ @Override
+ protected String plainText() {
+ //noinspection ConstantConditions
+ return htmlText();
+ }
+
+ @Nullable
+ @Override
+ protected String htmlText() {
+ return document.toString();
+ }
+
//
// OBJECT METHODS
//