Packageorg.pranaframework.ioc.factory.xml.preprocessors
Classpublic class TemplatePreprocessor
ImplementsIXmlObjectDefinitionsPreprocessor

The TemplatePreprocessor is used to apply all templates to the xml context. The parser nor the container should be aware of templates.



Public Methods
 MethodDefined by
  
Creates a new TemplatePreprocessor
TemplatePreprocessor
  
preprocess(xml:XML):XML
Preprocesses the passed in xml data and returns it.
TemplatePreprocessor
Constructor detail
TemplatePreprocessor()constructor
public function TemplatePreprocessor()

Creates a new TemplatePreprocessor

Method detail
preprocess()method
public function preprocess(xml:XML):XML

Preprocesses the passed in xml data and returns it.

Parameters
xml:XML — the xml data to be preprocessed

Returns
XML — the preprocessed xml data