* 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
*
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
*