]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/decorator/xml/class_XmlCompactorDecorator.php
Continued:
[core.git] / framework / main / classes / decorator / xml / class_XmlCompactorDecorator.php
index b4e39a315b10ca0b8c79f894cb484475a2e1dcc0..05d45a90724ad40a5fa8f3824708899beaf100d2 100644 (file)
@@ -30,6 +30,11 @@ use Org\Mxchange\CoreFramework\Parser\Parseable;
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 class XmlCompactorDecorator extends BaseDecorator implements Parseable {
+       /**
+        * Instance of the stacker
+        */
+       private $stackInstance = NULL;
+
        /**
         * Protected constructor
         *
@@ -63,6 +68,25 @@ class XmlCompactorDecorator extends BaseDecorator implements Parseable {
                return $parserInstance;
        }
 
+       /**
+        * Setter for Parseable instance
+        *
+        * @param       $parserInstance An instance of an Parseable
+        * @return      void
+        */
+       protected final function setParserInstance (Parseable $parserInstance) {
+               $this->parserInstance = $parserInstance;
+       }
+
+       /**
+        * Getter for Parseable instance
+        *
+        * @return      $parserInstance An instance of an Parseable
+        */
+       private final function getParserInstance () {
+               return $this->parserInstance;
+       }
+
        /**
         * Parses the given XML content
         *