Rework the text parser.
[Sone.git] / src / main / java / net / pterodactylus / sone / text / PartContainer.java
index a8a7e85..2b48308 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - PartContainer.java - Copyright © 2010–2012 David Roden
+ * Sone - PartContainer.java - Copyright © 2010–2013 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -40,6 +40,16 @@ public class PartContainer implements Part, Iterable<Part> {
        // ACCESSORS
        //
 
+       @Override
+       public boolean isPlainText() {
+               return false;
+       }
+
+       @Override
+       public boolean isFreenetLink() {
+               return false;
+       }
+
        /**
         * Adds a part to render.
         *
@@ -84,9 +94,6 @@ public class PartContainer implements Part, Iterable<Part> {
        // PART METHODS
        //
 
-       /**
-        * {@inheritDoc}
-        */
        @Override
        public String getText() {
                StringBuilder partText = new StringBuilder();
@@ -100,9 +107,6 @@ public class PartContainer implements Part, Iterable<Part> {
        // ITERABLE METHODS
        //
 
-       /**
-        * {@inheritDoc}
-        */
        @Override
        @SuppressWarnings("synthetic-access")
        public Iterator<Part> iterator() {